
Chapter 2 – AT Commands
Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360H) 35
Set Master Default Bluetooth Address Commands
SMA Set Master Default Address
This command will set a specific Bluetooth Slave address and service profile into the Master device so on
power up the Master will automatically search and connect to a unique Slave device on the highest
available channel.
Format: ATSMA,<BT Address>,<UUID>
Parameters:
• BT Address: Bluetooth Address, 12 hex characters MAX
• UUID: 4 digit, binary profile code (See Appendix C for more info)
EXAMPLE:
TYPE: ATSMA,00A0961F904F,1101<cr>
REPLY: <cr_lf>OK<cr_lf>
OR
<cr_lf>ERROR<cr_lf>
Read Using: ATSI,9
Notes:
• Execute ATSW25 to set the power up connect mode to auto-master before using the
above command if still in slave mode.
• This command is limited to only one connection. Reset module for change to take
affect.
MACLR Master Address Clear
This command clears the stored slave address.
Format: ATMACLR
EXAMPLE:
TYPE: ATMACLR<cr>
REPLY: <cr_lf>OK<cr_lf>
OR
<cr_lf>ERROR<cr_lf>
SSW,7 Set Auto Connect Master on Data
This command connects automatically to the stored master address when data is present on the UART.
The Radio will disconnect when the No Data timeout has been reached, this occurs when no data is
being sent to the UART. The ATSMA command must be enabled before this will work. See the
ATSW28 command to set the No Data timeout.
Format: ATSSW7,1
EXAMPLE:
TYPE: ATSSW,7,1<cr>
REPLY: <cr_lf>OK<cr_lf>
OR
<cr_lf>ERROR<cr_lf>
RSW,7 Read Auto Connect Master on Data
This command reads the AUTO CONNECT MASTER ON DATA enable/disable register state.
Format: ATRSW,7
Return Parameters: <Enable/Disable>
EXAMPLE:
TYPE: ATRSW,7<cr>
REPLY: <cr_lf>OK<cr_lf>
<cr_lf>00<cr_lf>
Set Using: ATSSW,7
Kommentare zu diesen Handbüchern