5.3.4.8 Disconnect Link or Disconnect

Table 5-45. Format
Firmware Version 1.0Firmware Version 1.2 and Later
K,1[,<hex16>]

DISC[,<hex16>]

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

Use command K,1 or DISC to disconnect the active Bluetooth Low Energy link. The user can use it in central or peripheral devices.

The Disconnect Link command also accepts an optional parameter to effectively handle multi-link connections. In the multi-link scenario, it can assign a two-byte connection handle, following K,1 or DISC, to disconnect a particular link.

If no connection handle is assigned in the command, it disconnects the last connection.

ItemFirmware Version 1.0 and LaterDescription
Example:K,1Kill the active Bluetooth® Low Energy connection
K,1,0071Disconnect the link with connection handle 0x0071
Response:AOKSuccess
%DISCONNECT,<ConnHandle>%Status string
ErrSyntax error or not connected
ItemFirmware Version 1.2 and LaterDescription
Example:DISCKill the active Bluetooth® Low Energy connection
DISC,0071Disconnect the link with connection handle 0x0071
Response:AOKSuccess
%DISCONNECT,<ConnHandle>%Status string
ErrSyntax error or not connected