Switching Gpios By Remote Control; Cmd_Gpio_Local_Writeconfig_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. Switching GPIOs by remote control

This chapter contains the commands to use the GPIO feature of the Proteus-III. Please refer
to chapter 11 for a detailed description.

7.7.1. CMD_GPIO_LOCAL_WRITECONFIG_REQ

This command configures the free GPIOs of the radio module. This is necessary to allow local
and remote GPIO control. As the configuration is stored in flash, it is retained after restarting
the device.
The flash memory used to store these settings has a limited count of write
cycles of minimum 10.000. Try to avoid performing periodic CMD_GPIO_LOCAL_
WRITECONFIG_REQ as each command will use one write cycle.
Format:
Start signal
0x02
Response ( CMD_GPIO_LOCAL_WRITECONFIG_CNF ):
Start signal
Command | 0x40
0x02
Status:
0x00: Request received and processed
0x01: Operation failed
0xFF: Operation not permitted
CMD_GPIO_LOCAL_WRITECONFIG_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
Function:
Order code 2611011024000
Version 1.8 , July 2022
Command
Length
0x25
2 Bytes
Length
0x65
2 Bytes
Length
GPIO_ID
Function
1 Byte
1 Byte
Block
. . .
Block
1
x Bytes
x Bytes
Status
Block
1
1 Byte
x Bytes
Values
1 Byte
(Length - 2) Byte
CS
n
1 Byte
. . .
Block
CS
n
x Bytes
1 Byte
www.we-online.com/wcs
95

Advertisement

Table of Contents
loading

This manual is also suitable for:

Proteus-iii-spi26110110240102611011024000

Table of Contents