Multitech MTS2BTA-R Manual de usuario Pagina 13

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 88
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 12
Chapter 2 – AT Commands
Multi-Tech Systems, Inc. SocketWireless Bluetooth AT Commands (S000360H) 13
Chapter 2 - AT Commands
Introduction
Command and Response Formats
1. All commands have the following format: command <cr>. Where cr represents carriage return
0x0D.
2. Valid commands respond with <cr,lf>OK<cr,lf> or <cr,lf>ERROR<cr,lf>. 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<cr>
Reply: <cr_lf>OK<cr_lf>
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: <Firmware Version>
Example:
Type: ATVER, ver1<cr>
Reply: <cr_lf>OK<cr_lf>
<cr_lf>Ver 3.6.2.1.0.0<cr_lf>
Notes:
"ver1" is case sensitive; use lower case.
Make sure this version number matches this document version before proceeding.
Vista de pagina 12
1 2 ... 8 9 10 11 12 13 14 15 16 17 18 ... 87 88

Comentarios a estos manuales

Sin comentarios