
WIRELESS CONNECTIVITY & SENSORS
User manual Proteus-II
7.6.2. CMD_DTM_REQ .............................. 77
7.6.2.1. Example: Transmission, 16 times 0x0F, channel 0 . . . . . . . . . 79
7.6.2.2. Example: Receiver, channel 0 . . . . . . . . . . . . . . . . . . . . . 79
7.6.2.3. Example: Transmission, carrier test, channel 0 . . . . . . . . . . . 80
7.6.2.4. Example: Set TX power to -4 dBm . . . . . . . . . . . . . . . . . . 80
7.7. Othermessages ................................... 82
7.7.1. CMD_ERROR_IND............................. 82
7.8. Messageoverview .................................. 83
8. UserSettings - Module configuration values 86
8.1. FS_DeviceInfo: Read the chip type and OS version . . . . . . . . . . . . . . . . 86
8.1.1. Example1.................................. 87
8.2. FS_FWVersion: Read the firmware version . . . . . . . . . . . . . . . . . . . . 88
8.2.1. Example1.................................. 88
8.3. FS_MAC: Read the MAC address . . . . . . . . . . . . . . . . . . . . . . . . . . 89
8.3.1. Example1.................................. 89
8.4. FS_BTMAC: Read the Bluetooth conform MAC address . . . . . . . . . . . . . 90
8.4.1. Example1.................................. 90
8.5. FS_SerialNumber: Read the serial number of the module . . . . . . . . . . . . 91
8.5.1. Example1.................................. 91
8.6. RF_DeviceName: Modify the device name . . . . . . . . . . . . . . . . . . . . . 92
8.6.1. Example1.................................. 92
8.6.2. Example2.................................. 92
8.7. RF_StaticPasskey: Modify the static passkey . . . . . . . . . . . . . . . . . . . 94
8.7.1. Example1.................................. 94
8.7.2. Example2.................................. 94
8.8. RF_SecFlags: Modify the security settings . . . . . . . . . . . . . . . . . . . . . 95
8.8.1. Example1.................................. 96
8.8.2. Example2.................................. 96
8.9. RF_SecFlagsPerOnly: Modify the security settings (Peripheral only mode) . . . 98
8.9.1. Example1.................................. 98
8.9.2. Example2.................................. 98
8.10. RF_ScanFlags: Modify the scan behavior . . . . . . . . . . . . . . . . . . . . . 99
8.10.1.Example1.................................. 99
8.10.2.Example2.................................. 99
8.11. RF_BeaconFlags: Interprete the advertising data . . . . . . . . . . . . . . . . . 101
8.11.1.Example1..................................102
8.11.2.Example2..................................102
8.12. RF_AdvertisingTimeout: Modify the advertising timeout . . . . . . . . . . . . . 103
8.12.1.Example1..................................103
8.12.2.Example2..................................103
8.13. RF_AdvertisingFlags: Configure the advertising packet . . . . . . . . . . . . . . 104
8.13.1.Example1..................................104
8.13.2.Example2..................................104
8.14. RF_ScanFactor: Modify the scan factor . . . . . . . . . . . . . . . . . . . . . . 106
8.14.1.Example1..................................106
8.14.2.Example2..................................106
Order code 2608011x24010 7
Version 1.11 , July 2022 www.we-online.com/wcs