
EGBT-046S/EGBT-045MS Bluetooth Module
Page 14 of 15 pages
e-Gizmo Mechatronix Central
<encrypt> = encryption mode
0 - hci_enc_mode_off (default)
1 - hci_enc_mode_pt_to_pt
2 - hci_enc_mode_pt_to_pt_and_bcast
23. Delete Authenticated Device from List
COMMAND
RESPONSE
AT+RMSAD=<addr>
É
OK
É
where <addr> = 48 bit bluetooth address
in NAP,UAP,LAP format
Example: Remove from Authenticated Device list a Blue-
tooth device having address = 00:02:72:0A:3C:7F
Bluetooth address in NA,UAP,LAP format = 0002,72,0A3C7F
From Host controller:
AT+RMASD=0002,72,0A3C7F
É
EGBT-045MS response if deletion is successful
OK
É
EGBT-045MS response if remote device address is not in the list
ERROR(15)
É
Caution:
Entering
AT+RMASD
É
will delete ALL authenticated device from the list!
24. Find Device from Authenticated Device List
COMMAND
RESPONSE
AT+FSAD=<addr>
É
OK
É
where <addr> = 48 bit bluetooth address
in NAP,UAP,LAP format
Note: AT+FSAD returns a FAIL response if device is not
in the authenticated list
25. Query Total Number of Device from Authenti-
cated Device List
COMMAND
RESPONSE
AT+ADCN?
É
+ADCN:<total>
É
OK
É
where
<total> = total number of devices in the authenticated
device list
26. Query Most Recently Used Authenticated De-
vice
COMMAND
RESPONSE
AT+MRAD?
É
+MRAD:<addr>
É
OK
É
where <addr> = 48 bit bluetooth address
in NAP:UAP:LAP format
27. Query Current Status of the Device
COMMAND
RESPONSE
AT+STATE?
É
+STATE:<stat>
É
OK
É
where
<stat> = Current Status, any one of the following:
INITIALIZED
READY
PAIRABLE
PAIRED
INQUIRING
CONNECTING
CONNECTED
DISCONNECTED
UNKNOWN
28. Initialize SPP Profile
COMMAND
RESPONSE
AT+INIT
É
OK
É
/ FAIL
É
29. Query Nearby Discoverable Devices
COMMAND
RESPONSE
AT+INQ
É
+INQ: <addr>,<class>,>rssi>
É
OK
É
where <addr> = 48 bit bluetooth address
in NAP:UAP:LAP format
<class> = Device Class
<rssi> = RSSI
This command will scan and report all nearby dicov-
erable Bluetooth devices. The same device may be
reported more than once.
This command will work only if EGBT-045MS is set to
work as a master device, i.e. AT+ROLE=1, and after
AT+INIT is executed.
Example: Discover nearby devices