5.2.2 Get Connection Status or Query Current Connection Status
| Firmware Version 1.0 | Firmware Version 1.2 and Later |
|---|---|
GK |
|
Note: All firmware version 1.0 syntax remains valid in version 1.2 and later. | |
To obtain the current connection status of the RNBD350 module, use the “Get Connection Status ” or “Query Current Connection Status” command, GK or QCCS.
This command does not require any input parameters. Depending on the module's current connection status, the command provides different outputs:
- If the RNBD350 module is not currently connected to any device and the user uses the command without the optional parameter, the output will be “none”.
- If the RNBD350 module is connected to a device, the
“command returns the following connection information:”GKorQCCS- <Peer BT Address>,<Address Type>,<Connection Type>, where
<Peer BT Address>– Is the 6-byte hex address of the peer device<Address Type>– Is either0for public address or1for random address<Connection Type>– Specifies if the connection enables the UART transparent feature, where1indicates UART transparent is enabled and0indicates UART transparent is disabled
- <Peer BT Address>,<Address Type>,<Connection Type>, where
| Item | Firmware Version 1.0 and Later | Description |
|---|---|---|
| Example: | GK | Get current connection status |
| Response: | None or Err | If not connected |
<Peer BT Address>,<Address Type>,<Connection Type>z | If connected | |
| Get the current connection status of the dedicated connected device for multiple links. <hex16> is the connection handle of the remote-dedicated device. |
| Item | Firmware Version 1.2 and Later | Description |
|---|---|---|
| Example: | QCCS | Query Current Connection Status |
| Response: | None or Err | If not connected |
<Peer BT Address>,<Address Type>,<Connection
Type>z | If connected | |
QCCS, 0071 | Get the current connection status of the dedicated connected device for multiple links. <hex16> is the connection handle of the remote-dedicated device. |
