
WIRELESS CONNECTIVITY & SENSORS
User manual Proteus-III
7.5.4. CMD_SLEEP_IND ............................. 86
7.5.5. CMD_FACTORYRESET_REQ . . . . . . . . . . . . . . . . . . . . . . . 86
7.5.6. CMD_UARTDISABLE_REQ . . . . . . . . . . . . . . . . . . . . . . . . 87
7.5.7. CMD_UARTENABLE_IND . . . . . . . . . . . . . . . . . . . . . . . . . 88
7.5.8. CMD_BOOTLOADER_REQ . . . . . . . . . . . . . . . . . . . . . . . . 88
7.6. Run the Bluetooth test modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
7.6.1. CMD_DTMSTART_REQ . . . . . . . . . . . . . . . . . . . . . . . . . . 90
7.6.2. CMD_DTM_REQ .............................. 90
7.6.2.1. Example: Transmission, 16 times 0x0F, channel 0 . . . . . . . . . 92
7.6.2.2. Example: Receiver, channel 0 . . . . . . . . . . . . . . . . . . . . . 93
7.6.2.3. Example: Transmission, carrier test, channel 0 . . . . . . . . . . . 93
7.6.2.4. Example: Set TX power to -4 dBm . . . . . . . . . . . . . . . . . . 94
7.6.2.5. Example: Set PHY to 2 MBit mode . . . . . . . . . . . . . . . . . . 94
7.7. Switching GPIOs by remote control . . . . . . . . . . . . . . . . . . . . . . . . . 95
7.7.1. CMD_GPIO_LOCAL_WRITECONFIG_REQ . . . . . . . . . . . . . . . 95
7.7.1.1. Example: Configure two GPIOs to output high . . . . . . . . . . . . 96
7.7.2. CMD_GPIO_LOCAL_READCONFIG_REQ . . . . . . . . . . . . . . . 98
7.7.2.1. Example: Read the current GPIO configuration . . . . . . . . . . . 99
7.7.3. CMD_GPIO_REMOTE_WRITECONFIG_REQ . . . . . . . . . . . . . . 100
7.7.3.1. Example: Configure two GPIOs of the connected remote device
tooutputhigh..............................101
7.7.4. CMD_GPIO_REMOTE_READCONFIG_REQ . . . . . . . . . . . . . . 103
7.7.4.1. Example: Read the current GPIO configuration of the connected
remotedevice..............................104
7.7.5. CMD_GPIO_REMOTE_WRITE_REQ . . . . . . . . . . . . . . . . . . . 105
7.7.5.1. Example: Set a remote output GPIO to low . . . . . . . . . . . . . 106
7.7.6. CMD_GPIO_REMOTE_READ_REQ . . . . . . . . . . . . . . . . . . . 107
7.7.6.1. Example: Read the values of remote GPIOs . . . . . . . . . . . . . 108
7.7.7. CMD_GPIO_LOCAL_WRITE_REQ . . . . . . . . . . . . . . . . . . . . 109
7.7.7.1. Example: Set a local output GPIO to low . . . . . . . . . . . . . . . 110
7.7.8. CMD_GPIO_LOCAL_READ_REQ . . . . . . . . . . . . . . . . . . . . 111
7.7.8.1. Example: Read the values of local GPIOs . . . . . . . . . . . . . . 112
7.7.9. CMD_GPIO_REMOTE_WRITECONFIG_IND . . . . . . . . . . . . . . 113
7.7.9.1. Example: Two GPIOs have been configured by the connected re-
mote device to output high . . . . . . . . . . . . . . . . . . . . . . . 113
7.7.10. CMD_GPIO_REMOTE_WRITE_IND . . . . . . . . . . . . . . . . . . . 114
7.7.10.1. Example: GPIOs have been written via remote access . . . . . . . 114
7.7.11. CMD_GPIO_LOCAL_WRITE_IND . . . . . . . . . . . . . . . . . . . . 115
7.7.11.1. Example: GPIOs of the remote device have been written by its
localhost ................................115
7.8. Othermessages ...................................116
7.8.1. CMD_ERROR_IND.............................116
7.9. Messageoverview ..................................117
8. UserSettings - Module configuration values 121
8.1. FS_DeviceInfo: Read the chip type and OS version . . . . . . . . . . . . . . . . 121
8.1.1. Example1..................................122
Order code 2611011024000 6
Version 1.8 , July 2022 www.we-online.com/wcs