Programming Manual
i480e&i480e-MD2 Programming Manual
131 / 139
29.2
BLECONN
The command is used to connect the advertising device.
Command
AT+B BLECONN [addr_type],[addr]\r
Response
AT-B BLECONN 0,[cid]\r
AT-B BLECONN 1,[cid] \r
Parameters
Addr_type
The address type of the device want to connect.
0:PUBLIC ADDR;
1:RANDOM ADDR;
0xFF: INVALID
addr
The address of the device want to connect
[cid]
The channel ID of this connection.
Note
N/A
29.3
BLEDAPS
This command is used to discover all primary service,
Command
AT+B BLEDAPS [cid]\r
Response
AT-B BLEDAPS [cid],[start_handle],[end_handle],[uuid_type],
[uuid],[more]\r
Parameters
cid
The channel ID of the connection
start_handle
The start handle of the service;
end_handle
The end handle of the service;
uuid_type
0: UUID not present;
1: 16-bit UUID;
2: 128-bit UUID;
more
1: more service;
0: no more;
Barrot Confidential










