WIRELESS CONNECTIVITY & SENSORS
User manual Thyone-I
The
SET_CONFIG
command will consume a flash cycle in the device that is sub-
ject to the change. It is recommended to perform a
or
CMD_GPIO_REMOTE_GET_CONFIG_REQ
first and check if a change
is required before performing the
SET_CONFIG
command.
For security reasons the remote configuration and remote access can be locked by using the
parameter in the UserSettings (default: allow remote access
and configuration). If the encryption functionality
is active, the remote host
needs to use the same symmetric
as configured in the client to access
configuration as well as SET and GET the pin level.
If the configuration has been done, the configured GPIOs can be controlled by the local host
controller or by any remote device.
To control a GPIO via local host controller just send the respective commands,
for setting GPIO output values (see figure
), or
for reading GPIO values (see figure
To control a GPIO via remote device, send the respective commands,
for setting GPIO output values (see figure
), or
for
reading GPIO values (see figure
Each time the GPIOs are written via remote connection, the local host is informed using a
message.
Module
1
Host 1
Module
2
Host 2
GPIO
1
0
CMD_GPIO_LOCAL_WRITE_REQ
UART
Radio
CMD_GPIO_LOCAL_WRITE_CNF
Figure 17: Set the output value of a GPIO via host controller
Order code 2611011021000
119
Version 2.3 , July 2022