![](http://datasheet.mmic.net.cn/230000/LMX9820ASMX_datasheet_15593845/LMX9820ASMX_28.png)
www.national.com
28
Revision 1.0
L
12.0 Command Interface
(Continued)
12.2 COMMAND SET OVERVIEW
The LMX9820A has a well-defined command set to:
Configure the device:
– Hardware settings
– Local Bluetooth parameters
– Service database
Set up and handle links
Tables 30 through 40 show the actual command set and
the events coming back from the device. A fully docu-
mented description of the commands can be found in the
“LMX9820A Software Users Guide”.
Note:
For standard Bluetooth operation, only commands
from Table 30 through Table 32 are used. Most of the
remaining commands are only for configuration purposes.
Table 30. Device Discovery Commands
Command
Event
Description
Inquiry
Inquiry Complete
Search for devices
Device Found
Lists BDADDR and class of device
Remote Device Name
Remote Device Name Confirm
Get name of remote device
Table 31. SDAP Client Commands
Command
Event
Description
SDAP Connect
SDAP Connect Confirm
Create an SDP connection to remote device
SDAP Disconnect
SDAP Disconnect Confirm
Disconnect an active SDAP link
Connection Lost
Notification for lost SDAP link
SDAP Service Browse
Service Browse Confirm
Get the services of the remote device
SDAP Service Search
SDAP Service Search Confirm
Search a specific service on a remote device
SDAP Attribute Request
SDAP Attribute Request Confirm
Searches for services with specific attributes
Table 32. SPP Link Commands
Command
Event
Description
Establish SPP Link
Establishing SPP Link Confirm
Initiates link establishment to a remote device
Link Established
Link successfully established
Incoming Link
A remote device established a link to the local
device
Set Link Timeout
Set Link Timeout Confirm
Confirms the supervision timeout for the ex-
isting link
Get Link Timeout
Get Link Timeout Confirm
Get the supervision timeout for the existing
link
Release SPP Link
Release SPP Link Confirm
Initiate release of SPP link
SPP Send Data
SPP Send Data Confirm
Send data to specific SPP port
Incoming Data
Incoming data from remote device
Transparent Mode
Transparent Mode Confirm
Switch to transparent mode on the UART
Table 33. Default Connection Commands
Command
Event
Description
Connect Default Connection
Connect Default Connection Confirm
Connects to either one or all stored default
connections
Store Default Connection
Store Default Connection Confirm
Store device as default connection
Get List of Default Connections
List of Default Devices
Delete Default Connections
Delete Default Connections Confirm