7.6.6. CMD_GPIO_REMOTE_READ_REQ . . . . . . . . . . . . . . . . .
70
Example: Read the values of remote GPIOs . . . . . . . . . . .
71
7.6.7. CMD_GPIO_LOCAL_WRITE_REQ . . . . . . . . . . . . . . . . . .
72
Example: Set a local output GPIO to low . . . . . . . . . . . . .
73
7.6.8. CMD_GPIO_LOCAL_READ_REQ
. . . . . . . . . . . . . . . . . .
74
Example: Read the values of local GPIOs . . . . . . . . . . . .
75
7.6.9. CMD_GPIO_REMOTE_WRITECONFIG_IND . . . . . . . . . . . .
76
Example: Two GPIOs have been configured by the connected
remote device to output high
. . . . . . . . . . . . . . . . . . .
76
7.6.10. CMD_GPIO_REMOTE_WRITE_IND . . . . . . . . . . . . . . . . .
77
Example: GPIOs have been written via remote access . . . . .
77
7.6.11. CMD_GPIO_LOCAL_WRITE_IND
. . . . . . . . . . . . . . . . . .
78
Example: GPIOs of the remote device have been written by its
local host . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
78
Other messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
79
7.7.1. CMD_ERROR_IND . . . . . . . . . . . . . . . . . . . . . . . . . . .
79
Message overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
80
8. UserSettings - Module configuration values
84
FS_DeviceInfo: Read the chip type and OS version . . . . . . . . . . . . . .
84
8.1.1. Example 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
85
FS_FWVersion: Read the firmware version . . . . . . . . . . . . . . . . . .
86
8.2.1. Example 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
86
FS_MAC: Read the MAC address . . . . . . . . . . . . . . . . . . . . . . . .
87
8.3.1. Example 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
87
FS_BTMAC: Read the Bluetooth conform MAC address . . . . . . . . . . .
88
8.4.1. Example 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
88
FS_SerialNumber: Read the serial number of the module . . . . . . . . . .
89
8.5.1. Example 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
89
RF_DeviceName: Modify the device name . . . . . . . . . . . . . . . . . . .
90
8.6.1. Example 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
90
8.6.2. Example 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
90
RF_StaticPasskey: Modify the static passkey . . . . . . . . . . . . . . . . .
92
8.7.1. Example 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
92
8.7.2. Example 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
92
RF_SecFlags: Modify the security settings . . . . . . . . . . . . . . . . . . .
93
8.8.1. Example 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
94
8.8.2. Example 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
94
RF_ScanResponseData: Modify the content of the scan response packet .
95
8.9.1. Example 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
95
8.9.2. Example 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
95
8.10. RF_AdvertisingData: Modify the content of the advertising packet . . . . . .
97
8.10.1. Example 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
97
8.10.2. Example 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
97
8.11. RF_AdvertisingTimeout: Modify the advertising timeout
. . . . . . . . . . .
99
8.11.1. Example 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
99
8.11.2. Example 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
99
8.12. RF_AdvertisingInterval: Modify the advertising interval . . . . . . . . . . . . 100
8.12.1. Example 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
8.12.2. Example 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
Proteus-e reference manual version 0.3
© November 2021
www.we-online.com/wireless-connectivity
5