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
读取引脚值.
输出
状态码
gpio_val: 8位无符号整数(0|1)
示例
TLV 请求 |
类型 |
长度 |
价值 |
引脚索引 |
0x2b |
0x01 |
0x0D |
类型0x2b表示命令leaps_gpio_value_get
TLV 响应 |
类型 |
长度 |
价值 |
类型 |
长度 |
价值 |
引脚值(0,1) |
0x40 |
0x01 |
0x00 |
0x55 |
0x01 |
0x00 |
类型 0x40 表示状态代码
类型0x55表示引脚值