5.4.3.7 Read Local Characteristic Value or Query Server Handle

Table 5-65. Format
Firmware Version 1.0Firmware Version 1.2 and Later
SHR,<hex16>

QSH,<hex16>

Note: All firmware version 1.0 syntax remains valid in version 1.2 and later.

The command SHR or QSH reads the content of the GATT service characteristic on the local device by addressing its handle.

Command SHR or QSH takes one parameter, the 16-bit hex value of the handle, which corresponds to the server service characteristic. The user must find a match between the handle and its characteristic UUID by using command LS.

This command is effective with or without an active connection. Reading the content of a characteristic locally is always permitted regardless of the characteristic property. Only use the characteristic property for remote access. The value returned is retrieved from the local device and equals what was written recently.

ItemFirmware Version 1.0 and LaterDescription
Example:SHR,001A

Read the local content of characteristic with handle 0x001A

Response:<Value read>Success
ErrSyntax error or invalid parameter
N/AValue is not assigned
ItemFirmware Version 1.2 and LaterDescription
Example:QSH,001A

Read the local content of characteristic with handle 0x001A

Response:<Value read>Success
ErrSyntax error or invalid parameter
N/AValue is not assigned