Page 15 of 15 pages
EGBT-046S/EGBT-045MS Bluetooth Module
e-Gizmo Mechatronix Central
From Host controller: Set device role as master
AT+ROLE=1
É
EGBT-045MS response
OK
É
From Host controller: Initialize SPP
AT+INIT
É
EGBT-045MS response
OK
É
From Host controller: Set inquire mode as RSSI, look for 9 devices,
and 48 as timeout
AT+INQM=1,9,48
É
EGBT-045MS response
OK
É
From Host controller: Start Device Discovery
AT+INQ
É
EGBT-045MS response (sample only, actual report will vary)
+INQ:101D:C0:2E7B54,5A0204,7FFF
É
+INQ:25:48:21AD1A,5A020C,7FFF
É
OK
É
In this example, EGBT-045MS found only two discover-
able devices. It will quit searching after the timeout time
specified by the AT+INQM command or if the number
of discovered devices equals the number of specified
devices.
30. Cancel Search for Discoverable Devices
COMMAND
RESPONSE
AT+INQC
É
OK
É
AT+INQ can be stopped at anytime by executing this
command.
31. Device Pairing
COMMAND
RESPONSE
AT+PAIR=<addr>,<timeout>
É
OK
É
/ FAIL
É
where <addr> = 48 bit bluetooth address
in NAP,UAP,LAP format
<timeout>
= Timeout time in sec
32. Connect to a Remote Device
COMMAND
RESPONSE
AT+LINK=<addr>
É
OK
É
/ FAIL
É
where <addr> = 48 bit bluetooth address
in NAP,UAP,LAP format
33. Disconnect from a Remote Device
COMMAND
RESPONSE
AT+DISC
É
+DISC:<results>
É
where
<results> = Disconnection results, any one of the follow-
ing:
SUCCESS
LINK_LOSS
NO_SLC
TIMEOUT
ERROR
34. Enter Energy Saving mode
COMMAND
RESPONSE
AT+ENSNIFF=<addr>
É
OK
É
where <addr> = 48 bit bluetooth address
in NAP,UAP,LAP format
35. Exit Energy Saving mode
COMMAND
RESPONSE
AT+EXSNIFF=<addr>
É
OK
É
where <addr> = 48 bit bluetooth address
in NAP,UAP,LAP format