5.4.3.3 Define Service UUID or Set Proprietary Service

Table 5-61. Format
Firmware Version 1.0Firmware Version 1.2 and Later
PS,<hex16/hex128>

SPS,<hex16/hex128>

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.

ItemFirmware Version 1.0 and LaterDescription
Example:PS,010203040506070809000A0B0C0D0E0F

Define a private service with UUID 0x010203040506070809000A0B0C0D0E0F

Response:AOKSuccess
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.
ItemFirmware Version 1.2 and LaterDescription
Example:SPS,010203040506070809000A0B0C0D0E0F

Define a private service with UUID 0x010203040506070809000A0B0C0D0E0F

Response:AOKSuccess
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.