2016 Microchip Technology Inc. DS50002466A-page 19
2.4.8 SDA,<H16>
This command sets the appearance of RN4870/71 in GAP service. It expects one
16-bit hex input parameter. Bluetooth SIG defines the appearance code for different
devices. Please refer to Bluetooth SIG web site for details
(https://www.bluetooth.org/en-us).
2.4.9
SDF,<text>
This command sets the value of firmware revision characteristic in the Device Informa-
tion Service. This command is only effective if the Device Information service is
enabled by command SS.
Device Information Service is used to identify the device. All its characteristics rarely
change. Therefore, values of characteristics in Device Information Service can be set
and saved into NVM. All values of characteristic in Device Information Service have the
maximum size of 20 bytes. For more information on Device Information Service visit
https://developer.bluetooth.org/TechnologyOverview/Pages/DIS.aspx and
https://developer.bluetooth.org/gatt/services/Pages/ServiceViewer.aspx?u=org.blue-
tooth.service.device_information.xml
2.4.10
SDH,<text>
This command sets the value of the hardware revision characteristics in the Device
Information Service. This command is only effective if the Device Information service
is enabled by command SS.
2.4.11
SDM,<text>
This command sets the model name characteristics in the Device Information Service.
This command is only effective if the Device Information service is enabled by
command SS.
Default: 0000
Example: SDA,0340 // Set appearance to be Generic Heart Rate Sensor
Default: Current RN4870 firmware version
Example: SDF,0.9
Response: AOK
ERR
// Success
// Device Info service not enabled.
// Syntax error, invalid parameter
Default: Current hardware version
Example: SDH,2.1
Response: AOK
ERR
// Success
// Device Info service not enabled.
// Syntax error, invalid parameter
Default: RN_BLE
Example: SDM,RN4870
Response: AOK
ERR
// Success
// Device Info service not enabled.
// Syntax error, invalid parameter