![](http://datasheet.mmic.net.cn/230000/LMX9820_datasheet_15593848/LMX9820_25.png)
Revision 1.0
25
www.national.com
L
12.2 COMMAND SET OVERVIEW
The LMX9820 has a well defined command set to:
Configure the device:
– Hardware settings
– Local Bluetooth parameters
– Service database
Set up and handle links
Tables 29 through 38 show the actual command set and
the events coming back from the device. A full documented
description of the commands can be found in the
“LMX9820 Software Users Guide”.
NOTE: For standard Bluetooth operation only commands
from Table 29 through Table 31 will be used. Most of the
remaining commands are for configuration purposes only.
.
Table 29. Device Discovery
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 30. 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 31. SPP Link Establishment
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
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
Get Link Timeout
Get Link Timeout Confirm
Get current Link Supervision timeout
Set Link Timeout
Set Link Timeout Confirm
Set Link Supervision timeout
Transparent Mode
Transparent Mode Confirm
Switch to Transparent mode on the UART
Table 32. Storing Default Connections
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