
www.national.com
30
Revision 1.0
L
12.0 Command Interface
(Continued)
Table 37. SPP Port Configuration and Status Commands
Command
Event
Description
Set Port Config
Set Port Config Confirm
Set port setting for the “virtual” serial port link
over the air
Get Port Config
Get Port Config Confirm
Read the actual port settings for a “virtual”
serial port
Port Config Changed
Notification if port settings were changed
from remote device
SPP Get Port Status
SPP Get Port Status Confirm
Returns status of DTR and RTS (for the ac-
tive RFComm link)
SPP Port Set DTR
SPP Port Set DTR Confirm
Sets the DTR bit on the specified link
SPP Port Set RTS
SPP Port Set RTS Confirm
Sets the RTS bit on the specified link
SPP Port BREAK
SPP Port BREAK
Indicates that the host has detected a break
SPP Port Overrun Error
SPP Port Overrun Error Confirm
Used to indicate that the host has detected an
overrun error
SPP Port Parity Error
SPP Port Parity Error Confirm
Host has detected a parity error
SPP Port Framing Error
SPP Port Framing Error Confirm
Host has detected a framing error
SPP Port Status Changed
Indicates that remote device has changed
one of the port status bits
Table 38. Local Settings Commands
Command
Event
Description
Read Local Name
Read Local Name Confirm
Read user-friendly name of the device
Write Local Name
Write Local Name Confirm
Set the user-friendly name of the device
Read Local BDADDR
Read Local BDADDR Confirm
Change Local BDADDR
Change Local BDADDR Confirm
Note:
Only use if you have your own
BDADDR pool
Store Class of Device
Store Class of Device Confirm
Set Scan Mode
Set Scan Mode Confirm
Change mode for discoverability and
connectability
Set Scan Mode Indication
Reports end of automatic limited
discoverable mode
Get Fixed Pin
Get Fixed Pin Confirm
Reads current PinCode stored within the
device
Set Fixed Pin
Set Fixed Pin Confirm
Set the local PinCode
Get Security Mode
Get Security Mode Confirm
Get actual Security mode
Set Security Mode
Set Security Mode Confirm
Configure Security mode for local device
(default 2)
Remove Pairing
Remove Pairing Confirm
Remove pairing with a remote device
List Paired Devices
List of Paired Devices
Get list of paired devices stored in the
LMX9820A data memory
Set Default Link Timeout
Set Default Link Timeout Confirm
Store default link supervision timeout
Get Default Link Timeout
Get Default Link Timeout Confirm
Get stored default link supervision timeout
Force Master Role
Force Master Role Confirm
Enables/Disables the request for master role
at incoming connections