5.4.4.4 Discovery Remote Services or Query as Client by Service

Table 5-68. Format
Firmware Version 1.0Firmware Version 1.2 and Later
CI[,<hex16>]

QCS[,<hex16>]

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

Use command CI or QCS to start GATT service discovery from the GATT client.

The RNBD350 module starts as a GATT server by default. If the user also prefers the RNBD350 module to act as a GATT client, the command CI or QCS must be issued first.

Command CI or QCS performs the essential service discovery process with the remote GATT server and acquires supported public and private services and characteristics on the remote GATT server. The RNBD350 module supports up to six client public services and four client private services. Each client service is able to define up to eight characteristics. A connection with the remote GATT server must be established before using the command CI or QCS . The command has an option parameter that is a connection handle to indicate a specific link for multiple links.

Command CI or QCS retrieves critical client information from the remote GATT server; therefore, it is a prerequisite over any Client Service related commands, such as LC, CHR and CHW.

ItemFirmware Version 1.0 and LaterDescription
Example:CIStart client role on RNBD350
Response:AOKSuccess
ErrNot connected
ItemFirmware Version 1.2 and LaterDescription
Example:QCSStart client role on RNBD350
Response:AOKSuccess
ErrNot connected