
XStream‐PKG‐E™ Ethernet RF Modem – Product Manual v4.2B5
3 .5 . Com m a nd M ode
To m odify or r ead RF m odule par am et er s, t he m odule m ust fir st ent er int o Com m and Mode - a
st at e in w hich incom ing char act er s ar e inter preted as com m ands and par am eters. Tw o com m and
t y pes are av ailable for progr am m ing t he RF m odem : AT Com m ands and Binar y Com m ands.
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.
3 .5 .1 . AT Com m a n d M ode
Ent e r AT Com m a n d M ode :
1.
Send t he 3- char act er com m and sequence “ + + + ” and observe guar d t im es before and aft er
t he com m and char acter s. ( Refer to “ Default AT Com m and Mode Sequence” below .) The
“ Ter m inal” tab ( or ot her ser ial com m unicat ions softw are) of t he XCTU Soft w ar e can be used
t o ent er t he sequence.
( OR)
2.
Asser t ( low ) t he
pin and t ur n t he pow er going to t he RF m odem off and back on. To
achieve t his r esult , sim ult aneously press t he Reset ( Figur e 1- 02a) and Config ( Figur e 1- 02c)
sw it ches; r elease t he Reset Sw it ch; t hen aft er 1 sec., r elease t he Config Sw it ch. The RF
Modem t hen ent er s AT Com m and Mode at the m odem ’s default baud r ate.
The
AT Com m a n d M ode Se qu e n ce
( default par am et er v alues ar e show n in parent hesis) :
•
Observ e Guard Tim e Befor e ( ATBT = 0x0A, no char act er s sent for one second)
•
Ent er t hree copies of t he Com m and Sequence Char act er ( ATCC = 0x 2B, ASCI I “ + + + “ )
•
Observ e Guar d Tim e Aft er ( ATAT = 0x 0A, no char act er s sent for one second)
To Sen d AT Com m a nds:
Send AT com m ands and par am et ers using t he sy nt ax shown below :
Figure 3‐08. Syntax for sending AT Commands
NOTE: To read a parameter value stored in a register, leave the parameter field blank.
The preceding ex am ple would change t he RF m odem ’s dest inat ion addr ess t o “ 1F” . To st ore t he
new v alue t o non- volat ile ( long ter m ) m em ory , t he Wr it e ( ATWR) Com m and m ust follow .
Syst em Re sponse
. When a com m and is sent t o t he m odem , t he m odem w ill par se and execut e
t he com m and. Upon successful execut ion of a com m and, t he m odem ret urns an “ OK” m essage. I f
ex ecut ion of a com m and r esult s in an er ror , t he m odem ret ur ns an “ ERROR” m essage.
To Ex it AT Com m a nd M ode :
1.
Send ATCN ( Exit Com m and Mode) Com m and.
( OR)
2.
I f no v alid AT Com m ands ar e received w it hin t he t im e specified by CT ( Com m and Mode
Tim eout ) Com m and, t he Modem aut om at ically r etur ns to I dle Mode.
For ex am ples t hat st ep t hrough t he pr ogr am m ing t he m odem using AT Com m ands, refer to t he
RF Modem Configur at ion ( p20) chapter .
© 2014 Digi International Inc.
14