Programming Manual

i480e&i480e-MD2 Programming Manual
21 / 139
If op=2 and any nearby device was found: AT-B INQR
[bd],[class],[name]
If the inquiry process finished: AT-B INQC
Parameters
op
0: stop the inquiry procedure.
1: start searching nearby Bluetooth devices, and
return devices’ address and class of device
2: start searching nearby Bluetooth devices, and
return devices’ address, class of device and device
name
bd
Remote Bluetooth device address.12 bytes
hexadecimal characters
class
Class of device
name
Device name
Note
Default inquiry time is 12.8s, default response number of device is
8, when either of conditions comes, the inquiry will terminate.
4.11
PAIR
The PAIR command is used to pair with remote device by BD address.
Command
AT+B PAIR [bd]
Response
AT-B PAIR [result],[bd]
Parameters
bd
Remote Bluetooth device address
result
Pairing results, where
0: Authentication was successful;
1: Authentication timed out;
2: Authentication failed;
3: Authentication failed due to too many repeat
attempts;
4: Authentication failed as remote device is not
allowing pairing;
5: Authentication failed as unit keys are not
Barrot Confidential