Summary of Contents for Multi-Tech MultiConnect BT
Page 1
SocketWireless Bluetooth Embedded Serial-to-Bluetooth Module MultiConnect Serial-to-Bluetooth Adapter AT Commands Reference Guide...
Page 2
Furthermore, Multi-Tech Systems, Inc. reserves the right to revise this publication and to make changes from time to time in the content hereof without obligation of Multi-Tech Systems, Inc. to notify any person or organization of such revisions or changes.
PARK<integer value>,<integer value> Park Mode ....................21 XPARK Exit Park Mode .............................21 SNIFF,<integer value>,<integer value>,<integer value>,<integer value>............21 SSNIFF,<integer value>,<integer value>,<integer value>,<integer value> Set Sniff.........21 CSNIFF Clear Sniff Mode ..........................21 XSNIFF Exit Sniff Mode.............................21 Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360D)
Page 4
From Power Up ..............................26 Get Out of Data Mode and Check Status ......................26 Chapter 5 – Response Codes............................27 Appendix A – AT Command Summary Table ......................30 Appendix B – Glossary, Acronyms, and Abbreviations ..................32 Index....................................33 Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360D)
Chapter 1 – Introduction Overview This document describes the protocol used to control and configure the Multi-Tech Systems, Inc. SocketWireless Bluetooth device. The protocol is similar to the industry standard Hayes AT protocol used in telephone modems due to the fact that both types of devices are connection oriented. Appropriate AT commands have been provided to make the module perform the two core actions of a Bluetooth device, which are make/break connections and inquiry.
View from the Menu Bar and click on Refresh to update the service connection. It is recommended to use Refresh to update local discovered devices and services to eliminate any "caching" of parameters in memory. Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360D)
• All commands are typed exactly as shown <cr> = <0x0d carriage return> <cr_lf> = <0x0d carriage return> <0x0a line feed> • AT commands will not echo back to the terminal. Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360D)
When another Bluetooth device performs a Discovery, this will be the name that is passed to that device. Please take note, unlike the name, the SocketWireless Bluetooth address is fixed (48 bit) at the factory and is unique to every Bluetooth device manufactured. Example: Type: ATSN,MYSOCKETWIRELESS_0123456<cr> Reply: <cr_lf>OK<cr_lf> Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360D)
Time = N * 0.625msec, Range = 11.25msec to 2560msec, If set to 0 then page scanning is turned off Example: Type: ATSW21,4096,18,4096,18<cr> Reply: <cr_lf>OK<cr_lf> Requires a reset for the settings to go into effect. Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360D)
Page 11
Factory default is ATSW24,0,0,0,0 authMode = authentication security mode {56bit encryption is automatically enabled when “1” is selected and the default PIN = ”default”} UART will reply LINK,BTaddress before the CONNECT,BTaddress. Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360D)
Page 12
// definitions ATSW25,slave,data mode,allow data to pass,SPP // settings Example: Type: ATSW25,0,0,0,0<cr> //Slave connects in fast data mode Reply: <cr_lf>OK<cr_lf> Note: Requires a software or hardware reset for change to take effect. Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360D)
Page 13
ATOP in the next section 0 – Normal operation this is disabled (factory default) 1 – Allow command through UART only 2 – Allow command through UART and over RF Link Example: Type: ATSW29,default,1<cr> Reply: <cr_lf>OK<cr_lf> Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360D)
Set the Bluetooth Service Name. Maximum of 16 alphanumeric characters. Factory default is COM0. ATSSN,1234567890123456 Example: Type: ATSSN,COM0<cr> Reply: <cr_lf>OK<cr_lf> Note: Requires a software or hardware reset for change to take effect. Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360D)
IL Repeat Last Inquiry Performed Example Master: Type: ATIL<cr> Reply: <cr_lf>OK<cr_lf> <cr_lf>00A0961F2023,00000000,SocketWireless<cr_lf>DONE<cr_lf> Reply: <cr_lf>ERROR<cr_lf> // If inquiry not previously performed. Note: ATDI command string previously used is stored in Flash Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360D)
UUID from the ATDM command will be used. Example: Type: ATDL<cr> Reply: <cr_lf>OK<cr_lf> <cr_lf>CONNECT,123456789012<cr_lf> or Reply: <cr_lf>?????<cr_lf> Note: Need to be in idle mode to execute the command. Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360D)
Reply: <cr_lf>OK<cr_lf> <cr_lf>NO CARRIER<cr_lf> Note: If you send this command over the RF link to a remote Slave the Slave will disconnect and go into Idle mode not Slave mode by design. Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360D)
SocketWireless device has to be CONNECTED. If successful, an “OK” is returned or else “NO CARRIER”. A “NO CARRIER” also occurs when the connection has been lost. Example: Type: ATMD<cr> Reply: <cr_lf>OK<cr_lf> or <cr_lf>NO CARRIER<cr_lf> Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360D)
Bluetooth connection. Basically, you can setup the SocketWireless so no commands are required to be sent from the embedded side of the SocketWireless UART. This will prevent any software embedded firmware development or testing for legacy systems. Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360D)
The READ from index locations are: 0: Location 0 Up to 16 alphanumeric characters 1: Location 1 Up to 16 alphanumeric characters Example: Type: ATREAD,0<cr> Reply: <cr_lf>OK<cr_lf> <cr_lf>1234567890123456<cr_lf> or <cr_lf>OK<cr_lf><cr_lf>OK<cr_lf> Note: Nothing stored will return blank. Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360D)
Example: Type: ATSPF,4,+<cr> // +4dBm Reply: <cr_lf>OK<cr_lf> or if > (+15) or < (-20) <cr_lf>ERROR<cr_lf> Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360D)
SocketWireless to go back into Slave discoverable mode. It is important to remember a device in Idle Mode is not discoverable, which has some security advantages. The same type of benefits can be achieved by controlling the time when the SocketWireless is turned off/on again. Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360D)
Power Mode = Never go into deep sleep mode Country/Region Code = North America and Europe Module Type = Multi-Tech SocketWireless Name of Device (local name) = Multi-Tech SocketWireless My SocketWireless status = 1,0 {slave disconnected} Service Name = COM0...
Sent : +++<cr> // Default escape sequence of characters Reply: <cr_lf>OK<cr_lf> Check Status, perform a Disconnect … Sent : AT<cr> Reply: <cr_lf>OK<cr_lf> Or send any AT Command example: Sent : ATSI,1<cr> Reply: <cr_lf>00A0961F2023<cr_lf> Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360D)
Slave from a Master request. Get Out of Data Mode and Check Status Delay at least 50 milliseconds. Check Status, perform a Disconnect …etc. Sent : AT<cr> Reply: <cr_lf>OK<cr_lf> Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360D)
Dial Master ATDL Dial Last ATLAST Last Connected Device Address No / Yes-Paired ATDS Dial Slave ATDH Dial Hang-up Default Escape Characters ATSESC Set Escape Characters ATMD Data Mode ATMF Fast Data Mode Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360D)
Page 31
ATXPARK Exit Park ATSNIFF Sniff ATSSNIFF Set/Store Sniff ATCSNIFF Clear Sniff ATXSNIFF Exit Sniff ATPAIR Pair Yes? ATUPAIR Un Pair ATAPAIR Last Paired Address ATSPF Set Power Factor ATLSTO Link Supervisory Timeout Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360D)
TTL – Transistor Transistor Logic TX – Transmit UART – Universal Asynchronous Receiver/Transmitter USB – Universal Serial Bus UUID – Universal Unique Identifier – maintained by Bluetooth SIG. VCC – Power VDD – Power Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360D)
- MF ..........19 set data mode - MD..........18 FRST – factory reset ..........20 set escape ASCII character - SESC......18 set max TX power level - SPF........22 set PIN lock code - SW29 ........13 Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360D)
Page 34
SW22 - Set PIO State/Configure state of PIO ..11 XPARK – exit park mode .........21 SW23 - store parameters .........11 XSNIFF – exit sniff mode .........21 SW25 - auto connecting modes .......12 SW26 - lock user definable settings ......13 Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360D)
Need help?
Do you have a question about the MultiConnect BT and is the answer not in the manual?
Questions and answers