5.4.3.3 Set Proprietary Service (SPS,<hex16/hex128>)
Format:
SPS,<hex16/hex128>
Command SPS sets the UUID of the public or the private service. The user
must call this command before command SPC.
The effect of command SPS is verified after a valid SPC
command and after a reboot or power cycle.
Command SPS expects one parameter that is either a 16-bit UUID for
public service or a 128-bit UUID for private service.
| Example: | SPS,010203040506070809000A0B0C0D0E0F
|
// Define a private service with UUID 0x010203040506070809000A0B0C0D0E0F |
| Response: | AOK
| // Success |
Err |
// Syntax error, invalid parameter or not enough space to add another service | |
|
Note: The PDS stores the
defined services. The defined services are effective
immediately.
| ||
