Programming Manual

i480e&i480e-MD2 Programming Manual
125 / 139
Pair result: AT-B BLEPAIR [sys_status]
Parameters
PASSKEY
The pin code of remote device required
sys_status
0: pair succeeded;
Other values: pair failed.
Note
N/A
26.2
BLESTATE
The BLESTAT indication is used to inform the host unit when the local device’s
GATT status is changed.
Indication
AT-B BLESTAT [state]
Parameters
state
GATT connection status, where
0: gattReady;
1: gattAdvertising;
3: gattConnected;
5: gattDisconnecting;
6: Idle.
Note
N/A
26.3
BLEDISC
This command is used to disconnect connected device .
Command
AT+B BLEDISC [CID]\r
Response
Success: AT-B BLEDISC 0,[CID]\r
Failed: AT-B BLEDISC 1,[CID]\r
Parameters
[CID]
The channel ID of the connection.
Note
N/A
Barrot Confidential