User's Manual

21
www.lairdtech.com
Laird Technologies
BTM410/411
Bluetooth
®
AT Data Module
REGISTER DEFAULT RANGE COMMENT
S641 n/a 0..65535 As per 631, but the action of reading the value will reset the count to 0.
S642 n/a 0..65535 As per 632, but the action of reading the value will reset the count to 0.
S701 n/a 0..65535 Read/Write to Analogue Line 0, when reading value is returned in decimal
S702 n/a 0..65535 Read/Write to Analogue Line 1, when reading value is returned in decimal
S711 n/a 0000..FFFF Read/Write to Analogue Line 0, when reading value is returned in hexadecimal
S712 n/a 0000..FFFF Read/Write to Analogue Line 1, when reading value is returned in hexadecimal
S721 0 0 Set direction of Analogue Line 0
S722 0 0 Set direction of Analogue Line 1
S1001 to
S1010
0.. 2^32 10 General Purpose 32 bit Registers for use by host. These are stored in
non-volatile memory.
CONFIGURING
THE BTM410/411
13. ATSn? {Read S Register Value}
This will return the current value of register n.
For recognised values of n
Response: <cr,lf>As Appropriate<cr,lf>OK<cr,lf>
For unrecognised values of n
Response: <cr,lf>ERROR nn<cr,lf>
14. ATSn=? {Read S Register – Valid Range}
This will return the valid range of values for register n.
For recognised values of n
Response: <cr,lf>Sn:(nnnn..mmmm)<cr,lf>OK<cr,lf>
For unrecognised values of n
Response: <cr,lf>ERROR nn<cr,lf>
15. ATX<string> {Send Data in Local Command and Connected Mode}
This command is used to send data to the remote device when in local command and
connected mode.
The parameter <string> is any string not more than 24 characters long. If a non-visual character is
to be sent then insert the escape sequence \hh where hh are two hexadecimal digits. The 3 character
sequence \hh will be converted into a single byte before transmission to the peer.
Response: <cr,lf>OK<cr,lf>
16. ATY<string> {Send Data in Local Command and Connected Mode}
This command is similar to ATX in syntax and functionality, except that the string is only copied to
the output rf buffer. Only when an empty string is presented will all pending data in the output rf
buffer be ushed out.
The parameter <string> is any string not more than 24 characters long. If a non-visual character is
to be sent then insert the escape sequence \hh where hh are two hexadecimal digits. The 3 character
sequence \hh will be converted into a single byte before transmission to the peer.
Response: <cr,lf>OK<cr,lf>