Page 124 of 195
AT.s LE Command Set v5.1.1b
Copyright © 2002-2021 BlueRadios, Inc.
200 S. Wilcox St., Unit 158 • Castle Rock, CO 80104 • USA • 303-957-1003 •
Connection Status (ATCS?)
GET CONNECTION STATUS
Function:
Gets the details of an existing connection. If no connection handle is specified, then the
connection status for all open connections will be returned followed by a DONE event to signal the end of
the connection list. A DONE event will not be sent if status is requested for a specific connection.
Command Format:
ATCS?,<Conn_Handle>
Command Parameter(s):
▪
Conn_Handle:
Connection handle of connection to read. If not specified, will print the connection
status of all active connections.
Response Format:
<Conn_Handle>,<Conn_Role>,<Security_Level>,<Addr>,
<Conn_Interval>,<Slave_Latency>,<Supervision_Timeout>,<MTU>,<RX_PHY>,<TX_PHY>,<TX_Power>
Response Values:
▪
Conn_Handle:
Connection handle
▪
Conn_Role:
1 = LE Peripheral
2 = LE Central
▪
Security_Level:
1 = No Security
2 = Encrypted, Not Authenticated
3 = Encrypted, Authenticated
4 = Encrypted, LESC Authenticated
▪
Addr:
Address and address type of remote device.
▪
Conn_Interval:
Integer value from 6 to 3200 [1.25ms].
▪
Slave_Latency:
Integer value from 0 to 499 [connection intervals].
▪
Supervision_Timeout:
Integer value from 10 to 3200 [10ms].
▪
MTU:
23-247
▪
RX_PHY:
0 = Unknown (See note below)
1 = 1 Mbps
2 = 2 Mbps
4 = 125 kbps Coded (Long Range)
▪
TX_PHY:
0 = Unknown (See note below)
1 = 1 Mbps
2 = 2 Mbps
4 = 125 kbps Coded (Long Range)
▪
TX_Power:
Transmit power level in dBm.