5.4.3.3 Define Service UUID or Set Proprietary Service
| Firmware Version 1.0 | Firmware Version 1.2 and Later |
|---|---|
|
|
Note: All firmware version 1.0 syntax remains valid in version 1.2 and later. | |
Command PS or SPS sets the UUID of the public or the private service. The user must call this command before command SPC.
The effect of command PS or SPS is verified after a valid PC or SPC command and after a reboot or power cycle.
Command PS or SPS expects one parameter that is either a 16-bit UUID for public service or a 128-bit UUID for private service.
| Item | Firmware Version 1.0 and Later | Description |
|---|---|---|
| Example: | PS,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. | ||
| Item | Firmware Version 1.2 and Later | Description |
|---|---|---|
| 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. | ||
