
Chapter 2 – AT Commands
Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360H) 21
SSNC Set Service Name by Channel
Sets the local Bluetooth Service Name and Service UUID by channel number.
Format: ATSSNC,<Channel Number>,<Service Name>,<UUID>
Parameters:
• Channel Number: 0, 1, 2, 3
• Service Name: 16 alphanumeric characters MAX
• UUID: 4 digit, binary profile code (See Appendix C for more info)
Factory Default: “COM0” for Channel 0, “COM1” for Channel 1, “COM2” for Channel 2,
“COM3” for Channel 3
EXAMPLE:
TYPE: ATSSNC,0,My Device,1101<cr>
REPLY: <cr_lf>OK<cr_lf>
OR
<cr_lf>ERROR<cr_lf>
Note: Requires a reset for change to take affect.
RSN Read Service Name
Reads the local Bluetooth Service Name.
Format: ATRSN
Return Parameters: <Service Name>
EXAMPLE:
TYPE: ATRSN<cr>
REPLY: <cr_lf>OK<cr_lf><cr_lf>COM0<cr_lf>
RSNC Read Service Name by Channel
Reads the local Bluetooth Service Name by channel number.
Format: ATRSNC,<Channel Number>
Parameters: Channel Number: 0-3
Return Parameters: <Service Name>
EXAMPLE:
TYPE: ATRSNC,0<cr>
REPLY: <cr_lf>OK<cr_lf><cr_lf>COM0<cr_lf>
RRSN Read Remote Service Name
Reads a remote Bluetooth device Service Name and Service Channel Number for a specific
profile.
Format: ATRRSN,<BT Address>,<UUID>
Parameters: BT Address: Bluetooth Address, 12 hex characters MAX
UUID: 4 digit, binary profile code (See Appendix C for more info)
Return Parameters: <Service Channel Number>,<Service Name>
EXAMPLE:
TYPE: ATRRSN,123456789012,1101<cr>
REPLY: <cr_lf>OK<cr_lf>
<cr_lf>01,Bluetooth Serial Port<cr_lf>
<cr_lf>02,Bluetooth Serial Port (2)<cr_lf>
OR
<cr_lf>NO ANSWER<cr_lf>
Note: The timeout for this command is controlled by the master connect timeout in ATSW28.
Comentarios a estos manuales