Bluetooth Commands - wless.ru

Bluetooth Commands - wless.ru Bluetooth Commands - wless.ru

01.02.2014 Views

Chapter 1 – Introduction Repeater Mode Repeater mode can be set using the ATSW25 and ATSMA Commands. Remote Slave Data sent from Repeater UART will broadcast to both units UART outputs NO ANSWER every 10 seconds if remote Slave is not available or CONNECT,00,BTaddress // Master CONNECT,01,BTaddress // Slave BlueRadios ATMP Repeater Generic Master Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360G) 14

Chapter 2 – AT Commands Chapter 2 - AT Commands Introduction Command and Response Formats 1. All commands have the following format: command . Where cr represents carriage return 0x0D. 2. Valid commands respond with OK or ERROR. Where lf represents line feed 0x0A. The only exceptions are ATSW20 and ATURST, which do not reply. 3. Allow at least a 100ms delay between subsequent AT commands. 4. HEX vs. Decimal – When writing or entering integer AT command string values, enter them in decimal format. When reading values from memory, they will be returned in hexadecimal format. 5. If using HyperTerminal, the following check box should be disabled. Send line ends with line feeds. If not, the commands will not be submitted correctly. General Purpose I/O The send I/O pin for DTR can be configured as input or output. It is referred to in this document as follows: 6 = DTR = PIO (6) Attention Command AT – Attention Command Prefix The prefix AT must precede every command except for +++. The remainder of the command line contains commands for the SocketWireless. The command script must end with a carriage return. Example: Type: AT Reply: OK Note: AT Commands can be in upper or lower case. The only exceptions to this are the SocketWireless Personal Identification alphanumeric Number (PIN), which is case sensitive, and ATOP. Firmware Version Command VER Get Firmware Version Format: ATVER, ver1 Return Parameters: Example: Type: ATVER, ver1 Reply: OK Ver 3.6.2.1.0.0 Notes: • "ver1" is case sensitive; use lower case. • Make sure this version number matches this document version before proceeding. Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360G) 15

Chapter 1 – Introduction<br />

Repeater Mode<br />

Repeater mode can be set using the ATSW25 and ATSMA <strong>Commands</strong>.<br />

Remote<br />

Slave<br />

Data sent from Repeater UART<br />

will broadcast to both units<br />

UART outputs NO ANSWER every 10<br />

seconds if remote Slave is not available or<br />

CONNECT,00,BTaddress // Master<br />

CONNECT,01,BTaddress // Slave<br />

BlueRadios<br />

ATMP<br />

Repeater<br />

Generic<br />

Master<br />

Multi-Tech Systems, Inc. SocketWireless <strong>Bluetooth</strong> AT <strong>Commands</strong> (S000360G) 14

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!