leaps_gpio_value_set
Set pin value.
Input
gpio_idx: ? 8-bit unsigned integer ? (pin index)
value: ? 8-bit unsigned integer ? (0 or 1)
Output
Example
TLV Request |
|||
---|---|---|---|
Type |
Length |
Value |
|
pin index |
pin value |
||
0x2a |
0x02 |
0x0D |
0x01 |
Type 0x2a means command leaps_gpio_value_set
TLV response |
||
---|---|---|
Type |
Length |
Value |
0x40 |
0x01 |
0x00 |
Type 0x40 means status code