User's Manual

is hex value of the contents to be written. The format of public characteristic is
defined in Bluetooth SIG specifications. The user defines the format of private
characteristic.
This command is only effective if an active link with peer exists, the UUID parameter
is valid and the characteristic is writable according to its property. The content
value is written to remote peer device. The writing method depends on property of
the characteristic.
Example: CUWV,2A19,64 // Write 100% to remote device for
// characteristic Battery Level with
// UUID 0x2A19
3.3.3.10 SHR
According to command interpolation method described in section 3.3.3.1, command
“SHR” reads content of characteristic of server service on local device by addressing
its handle.
The parameter of command “SHR” is 16-bit hex value of the handle, which
corresponds to a characteristic of a server service. User should be able to find match
between handle and its characteristic UUID by command “LS”.
This command is effective with or without an active link. Reading contents of a
characteristic locally is always permitted regardless of characteristic property.
Characteristic property is only used for remote access. The value returned is
retrieved from local device and equal to what is written at most recent time.
Example: SHR,001A // Read the local content of characteristic with
// handle 0x001A
3.3.3.11 SHW
According to command interpolation method described in section 3.3.3.1, command
“SHW” writes content of characteristic in server service to local device by
addressing its handle.
This command takes two parameters. The first parameter is 16-bit hex value of the
handle, which corresponds to a characteristic of server service. User should be able
to find match between handle and its characteristic UUID by command “LS”. The
second parameter is the content to be written to the characteristic. The format of
each public characteristic is defined in Bluetooth SIG specifications. User defines the
format of each private characteristic.