28.12.2013 Views

Serial Programming - upload.wikimedia....

Serial Programming - upload.wikimedia....

Serial Programming - upload.wikimedia....

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

AT Commands<br />

with the exception of #: Backspace Character 22 , #: Cancel Character 23 ,<br />

and #: End-of-line Character 24 .<br />

• All characters preceding the #AT: Command Prefix 25 are ignored.<br />

• Interpretation / execution of the command line starts with the reception of the first (and<br />

also command-line terminating) #: End-of-line Character 26 .<br />

• Characters after the initial #AT: Command Prefix 27 and before the #: End-of-line<br />

Character 28 are interpreted as commands. With some exceptions, there can be many<br />

commands in one command line.<br />

• Each of the basic commands consists of a single ASCII letter, or a single ASCII letter<br />

with a &prefix, followed by a numeric value. Missing numeric values are interpreted as 0<br />

(zero).<br />

• The following commands can't be followed by more commands on the command line.<br />

They must always be the last commands in a command line. If they are followed by other<br />

commands, these other commands are ignored. However, some of these commands take<br />

command modifiers and it is possible that a following command is accidentally interpreted<br />

as a command modifier. Therefore, care should be taken to not follow these commands<br />

with any more commands on the same command line. Instead, they should be placed in<br />

an own command line.<br />

• #A: Answer Command 29<br />

• #D: Dial Command 30<br />

• #Z: Soft Reset Command 31<br />

• A command line can be edited if the terminating #: End-of-line Character 32 has<br />

not ben entered, using the #: Backspace Character 33 to delete one command line<br />

character at a time. The initial #AT: Command Prefix 34 can't be edited/deleted (it<br />

has already been processed, because upon reception of the #AT: Command Prefix 35 the<br />

modem immediately starts command line parsing and editing, but not execution).<br />

• The modem echoes command lines and edits when #E: Command State Character Echo<br />

Selection 36 is on (surprise, surprise :-)).<br />

22 Chapter 9.6 on page 134<br />

23 Chapter 9.6 on page 134<br />

24 Chapter 9.6 on page 134<br />

25 Chapter 9.6 on page 134<br />

26 Chapter 9.6 on page 134<br />

27 Chapter 9.6 on page 134<br />

28 Chapter 9.6 on page 134<br />

29 Chapter 9.6 on page 134<br />

30 Chapter 9.6 on page 134<br />

31 Chapter 9.6 on page 134<br />

32 Chapter 9.6 on page 134<br />

33 Chapter 9.6 on page 134<br />

34 Chapter 9.6 on page 134<br />

35 Chapter 9.6 on page 134<br />

36 Chapter 9.6 on page 134<br />

135

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

Saved successfully!

Ooh no, something went wrong!