D T 5 0 - M C O M M A N D R E F E R E N C E G U I D E 1 . 1 P a g e
35 | 38
The discovery_type 1 and 2 will give the same result. 1
is kept for backward compatibility.
3: Limited inquiry. Displays devices in the Limited
discoverability mode; each device is displayed only
once.
4: All with no filter. Displays all found devices; devices
can be displayed multiple times.
The filter that displays each device only once can hold
only a limited number of devices. If more devices than
the limit are found, the devices can be displayed more
than once.
mode
1 (default): Active
2: Passive, no scan response data will be received
discovery_length
Timeout measured in milliseconds
Time range: 10 ms - 40 s, default 5000 ms
device_name
Name of the discovered device.
rssi
Received signal strength in dBm.
data_type
1: Scan response data
2: Advertise data
data
Complete advertisement / scan response data
received from the remote device.
8.1.9 Bond +UBTB
AT Command
Description
AT+UBTB=<bd_addr>[,<mode>]
Performs a GAP bond procedure with another
Bluetooth device. For some security modes, user
interaction is required during the bonding procedure.
The procedure to use is determined by the security
mode. For user interaction during bonding, see User
ConfirUBTUC and User Passkey Entry
+UBTUPE commands and User Confirmation
+UUBTUC and User Passkey Entry +UUBTUPE events.
To perform the bonding, the remote device must be in
a pairable and connectable mode. When the bond is
complete, a Bond Event +UUBTB is generated.
Response
Description
OK
Successful response.
ERROR
Error message.
Parameter
Description
bd_addr
Bluetooth device address of the device to bond with.
mode
0 (default): Bluetooth BR/EDR
1: Bluetooth low energy
8.1.10 UBTUB
AT Command
Description