Cmd_Gpio_Remote_Read_Req - We PROTEUS-III User Manual

Hide thumbs Also See for PROTEUS-III:
Table of Contents

Advertisement

WIRELESS CONNECTIVITY & SENSORS
User manual Proteus-III

7.7.6. CMD_GPIO_REMOTE_READ_REQ

This command reads the free GPIOs of the remote device. This command can be only run
successfully if the respective pins of the remote device have been configured as output or input
pins before and the remote device is connected via Bluetooth
Format:
Start signal
0x02
Response ( CMD_GPIO_REMOTE_READ_CNF ):
Start signal
Command | 0x40
0x02
Status:
0x00: Request received and processed
0x01: Operation failed
0xFF: Operation not permitted (i.e. no device connected via Bluetooth
CMD_GPIO_REMOTE_READ_REQ block structure
Each Block has the following format:
Length: Length of the subsequent bytes in this block
GPIO_ID: ID of the GPIO, see chapter 11.2
CMD_GPIO_REMOTE_READ_CNF block structure
Each Block has the following format:
Length: Length of the subsequent bytes in this block
GPIO_ID: ID of the GPIO, see chapter 11.2
Value:
Order code 2611011024000
Version 1.8 , July 2022
Command
Length
0x2A
2 Bytes
Length
0x6A
2 Bytes
Length
GPIO_ID
1 Bytes
1 Byte
Length
GPIO_ID
0x02
1 Byte
®
LE.
Block
. . .
Block
1
x Bytes
x Bytes
Status
Block
. . .
1
1 Byte
x Bytes
. . .
GPIO_ID
1
n
1 Byte
Value
1 Byte
CS
n
1 Byte
Block
CS
n
x Bytes
1 Byte
®
LE)
107
www.we-online.com/wcs

Advertisement

Table of Contents
loading

This manual is also suitable for:

Proteus-iii-spi26110110240102611011024000

Table of Contents