Bluetooth Commands - wless.ru
Bluetooth Commands - wless.ru Bluetooth Commands - wless.ru
Chapter 2 – AT Commands 17 GET SNIFF SETTINGS Set Using: ATSSNIFF Return Parameters: ,,, (HEX) EXAMPLE: TYPE: REPLY: ATSI,17 OK Not Set! OR OK 0000,0000,0000,0000 18 GET LINK SUPERVISORY TIMEOUT Set Using: ATLSTO Return Parameters: (HEX) EXAMPLE: TYPE: REPLY: ATSI,18 OK 04 19 GET LIST OF PAIRED OR SECURED ADDRESSES Set Using: ATPAIR Return Parameters: Index, (HEX) EXAMPLE: TYPE: REPLY: ATSI,19 OK 00, 01, 02, 03, Note: 00 – 03 are for indexing the stored addresses only. They do not indicate that the address is associated with any specific channel. 20 GET CHANNEL UUIDS Set Using: ATSSNC Return Parameters: ,,, (UUIDs for Ch01-03 will only be returned if enabled using ATSSW3) EXAMPLE: TYPE: REPLY: ATSI,20 OK 1101 //Point to point OR 1101,1101,1101 //Multipoint with 3 channels 21 GET SPECIFIC TRANSMISSION CHANNEL Set Using: ATSWC Return Parameters: , EXAMPLE: TYPE: REPLY: ATSI,21 OK 01,03 22 GET FTP/OPP CONNECTION STATUS Return Parameters: Connection Status: 0 = Disconnected, 1 = Connected EXAMPLE: TYPE: REPLY: ATSI,22 OK 1 Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360G) 20
Chapter 2 – AT Commands Security Commands SSW,2 Set Security Level Sets the Security Level register state. Format: ATSSW,2, Parameters: Security Modes: 0 = Link Level – Highest level of security. 1 = Service Level – Provides service information without using PIN. Factory Default: VM Mode EXAMPLE: TYPE: ATSSW,2,1 REPLY: OK OR ERROR Read Using: ATRSW,2 RSW,2 Get Security Level Gets the Security Level register state. Format: ATRSW,2 Return Parameters: EXAMPLE: TYPE: ATRSW,2 REPLY: OK OR 00 Set Using: ATSSW,2 Max Number of Bluetooth Connections Commands SSW, 3 Set Max Connection Number Sets the maximum number of Bluetooth connections. Enables multi-point mode if number of connections is greater than one. Format: ATSSW,3, Parameters: Number of Connections: Integer Value 1-4 Factory Default: 1 EXAMPLE: TYPE: ATSSW,3,1 REPLY: OK Notes: • Fast Data Mode is supported with only 1 connection and the ##,00 packet header is never sent. It is recommended you limit the number of connections for your application to maximize performance and security. • Requires a reset for change to take affect. • By default data is broadcast to all connected radios when the local radio is in data mode. The radio can be set to transmit to a specific channel using the ATSWC command. (See the Utilities section for more information) RSW, 3 Read Max Connection Number Reads the maximum number of Bluetooth connections. Format: ATRSW,3 Return Parameters: EXAMPLE: TYPE: TRSW,3 REPLY: OK 01 Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360G) 21
- Page 1 and 2: Bluetooth ® Commands AT Commands a
- Page 3 and 4: Table of Contents Table of Contents
- Page 5 and 6: Table of Contents RSSI and Link Qua
- Page 7 and 8: Chapter 1 - Introduction Overview C
- Page 9 and 10: Chapter 1 - Introduction Important
- Page 11 and 12: Chapter 1 - Introduction Multipoint
- Page 13 and 14: Chapter 1 - Introduction Test Scena
- Page 15 and 16: Chapter 2 - AT Commands Chapter 2 -
- Page 17 and 18: Chapter 2 - AT Commands Set/Get Dev
- Page 19: Chapter 2 - AT Commands 11 GET PIO(
- Page 23 and 24: Chapter 2 - AT Commands SSNC Set Se
- Page 25 and 26: Chapter 2 - AT Commands OP Overwrit
- Page 27 and 28: Chapter 2 - AT Commands SW21 Write
- Page 29 and 30: Chapter 2 - AT Commands SW23 Write
- Page 31 and 32: Chapter 2 - AT Commands SW26 Lock U
- Page 33 and 34: Chapter 2 - AT Commands Read Memory
- Page 35 and 36: Chapter 2 - AT Commands Notes: •
- Page 37 and 38: Chapter 2 - AT Commands Set Master
- Page 39 and 40: Chapter 2 - AT Commands About Comma
- Page 41 and 42: Chapter 2 - AT Commands Pairing Com
- Page 43 and 44: Chapter 2 - AT Commands SSNIFF Enab
- Page 45 and 46: Chapter 2 - AT Commands Notes: •
- Page 47 and 48: Chapter 2 - AT Commands Link Superv
- Page 49 and 50: Chapter 2 - AT Commands Making the
- Page 51 and 52: Chapter 2 - AT Commands • If the
- Page 53 and 54: Chapter 2 - AT Commands FTP Push/Pu
- Page 55 and 56: Chapter 2 - AT Commands OPP Client
- Page 57 and 58: Chapter 2 - AT Commands OPPPUSH Obj
- Page 59 and 60: Chapter 2 - AT Commands OPP Server
- Page 61 and 62: Chapter 4 - Examples Chapter 4 - Ex
- Page 63 and 64: Chapter 4 - Examples DUN Point-to-P
- Page 65 and 66: Chapter 4 - Examples - Perform a Ma
- Page 67 and 68: Chapter 4 - Examples - At second ma
- Page 69 and 70: Chapter 4 - Examples Issue these AT
Chapter 2 – AT <strong>Commands</strong><br />
Security <strong>Commands</strong><br />
SSW,2 Set Security Level<br />
Sets the Security Level register state.<br />
Format: ATSSW,2,<br />
Parameters: Security Modes:<br />
0 = Link Level – Highest level of security.<br />
1 = Service Level – Provides service information without using PIN.<br />
Factory Default: VM Mode<br />
EXAMPLE:<br />
TYPE: ATSSW,2,1<br />
REPLY: OK<br />
OR<br />
ERROR<br />
Read Using: ATRSW,2<br />
RSW,2 Get Security Level<br />
Gets the Security Level register state.<br />
Format: ATRSW,2<br />
Return Parameters: <br />
EXAMPLE:<br />
TYPE: ATRSW,2<br />
REPLY: OK<br />
OR<br />
00<br />
Set Using: ATSSW,2<br />
Max Number of <strong>Bluetooth</strong> Connections <strong>Commands</strong><br />
SSW, 3 Set Max Connection Number<br />
Sets the maximum number of <strong>Bluetooth</strong> connections. Enables multi-point mode if number of<br />
connections is greater than one.<br />
Format: ATSSW,3,<br />
Parameters: Number of Connections: Integer Value 1-4<br />
Factory Default: 1<br />
EXAMPLE:<br />
TYPE: ATSSW,3,1<br />
REPLY: OK<br />
Notes:<br />
• Fast Data Mode is supported with only 1 connection and the ##,00 packet header is never sent. It<br />
is recommended you limit the number of connections for your application to maximize<br />
performance and security.<br />
• Requires a reset for change to take affect.<br />
• By default data is broadcast to all connected radios when the local radio is in data mode. The<br />
radio can be set to transmit to a specific channel using the ATSWC command. (See the Utilities<br />
section for more information)<br />
RSW, 3 Read Max Connection Number<br />
Reads the maximum number of <strong>Bluetooth</strong> connections.<br />
Format: ATRSW,3<br />
Return Parameters: <br />
EXAMPLE:<br />
TYPE: TRSW,3<br />
REPLY: OK<br />
01<br />
Multi-Tech Systems, Inc. SocketWireless <strong>Bluetooth</strong> AT <strong>Commands</strong> (S000360G) 21