5.2.1 Default Service Configure (SS,<hex8>)
Format: SS,<hex8>
This command sets the default services that are supported by the RNBD451 module in the GAP server role. The input parameter is an 8-bit bitmap that indicates the services that are supported in the server role. When a service is supported in the server role, it means that the host MCU is responsible for providing values of all characteristics within those supported services and to provide client devices access to those values upon request.
After modifying the service bitmap, reboot the device or use the SI
command to make the new services effective. The following table provides details about the 8-bit bitmap. For information on Bluetooth services, go to www.bluetooth.com/specifications/specs/.
Service | Bitmap |
---|---|
Device information | 0x80 |
Transparent UART | 0x40 |
Reserved | Others |
Default: | C0 | |
Example: | SS,C0 | // Support device info and UART transparent services |
Response: | AOK | // Success |
Err | // Syntax error or invalid parameter | |
Note: The PDS stores the parameter, and the user can bring it into immediate effect using the SI command or reboot. |