HP X09 Manuel Page 18

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 56
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 17
XStreamPKGE™EthernetRFModemProductManualv5.x00[2006.02.24]
3.1.5. Command Mode
To modify or read RF module parameters, the module must first enter into Command Mode - a
state in which incoming characters are interpreted as commands and parameters. Two command
types are available for programming the RF modem: AT Commands and Binary Commands.
IMPORTANT: For modified parameter values to persist in the RF modem’s registry, changes must be
saved to non-volatile memory using the WR (Write) Command. Otherwise, parameter values are
restored to previously saved values the next time the RF modem is powered off and then on again.
AT Commands
Enter AT Command Mode:
1. Send the 3-character command sequence “+++” and observe guard times before and after
the command characters. [Refer to “Default AT Command Mode Sequence” below.] The
“Terminal” tab (or other serial communications software) of the X-CTU Software can be used
to enter the sequence.
[OR]
2. Assert (low) the pin and turn the power going to the RF modem off and back on. To
achieve this result, simultaneously press the Reset [Figure 1-02a] and Config [Figure 1-02c]
switches; release the Reset Switch; then after 1 sec., release the Config Switch. The RF
Modem then enters AT Command Mode at the modem’s default baud rate.
The AT Command Mode Sequence (default parameter values are shown in parenthesis):
Observe Guard Time Before (ATBT = 0x0A, no characters sent for one second)
Enter three copies of the Command Sequence Character (ATCC = 0x2B, ASCII “+++“)
Observe Guard Time After (ATAT = 0x0A, no characters sent for one second)
To Send AT Commands:
Send AT commands and parameters using the syntax shown below:
Figure307. SyntaxforsendingATCommands
NOTE: To read a parameter value stored in a register, leave the parameter field blank.
The preceding example would change the RF modem’s destination address to “1F”. To store the
new value to non-volatile (long term) memory, the Write (ATWR) Command must follow.
System Response. When a command is sent to the modem, the modem will parse and execute
the command. Upon successful execution of a command, the modem returns an “OK” message. If
execution of a command results in an error, the modem returns an “ERROR” message.
To Exit AT Command Mode:
1. Send ATCN (Exit Command Mode) Command.
[OR]
2. If no valid AT Commands are received within the time specified by CT (Command Mode
Timeout) Command, the Modem automatically returns to Idle Mode.
For examples that step through the programming the modem using AT Commands, refer to the
RF Modem Configuration [p
20] chapter.
©2006MaxStream,Inc.ConfidentialandProprietary 18
Vue de la page 17
1 2 ... 13 14 15 16 17 18 19 20 21 22 23 ... 55 56

Commentaires sur ces manuels

Pas de commentaire