Please note that the Chinese and Japanese versions are currently being updated and are not yet complete. Stay tuned for the final versions!

leaps_gpio_value_get

Read pin value.

Input
Output

Example

TLV Request

Type

Length

Value

pin index

0x2b

0x01

0x0D

Type 0x2b means command leaps_gpio_value_get

TLV response

Type

Length

Value

Type

Length

Value

pin Value (0,1)

0x40

0x01

0x00

0x55

0x01

0x00

Type 0x40 means status code

Type 0x55 means pin value