4 sending binary data, 5 display incoming message, Sending binary data – SENA ProBee-ZS10 User Manual
Page 34: Display incoming message
34
ProBee-ZS10 User Guide Rev.1.5
the same rules.
4.1.4
Sending Binary Data
Because some characters like carriage return, line feed and back space collides with AT commands in
command mode and back slash(‘\’) is used for control character for binary encoding, they cannot be
transmitted as they are. The characters out of range between 0x20(Space) and 0x7E(‘~’) in hexadecimal
are not expressed at the AT commands for transmitting data. In order to transmit these characters in
command mode, these characters must be encoded in a command line. The examples of special
characters encoding are shown in Table 4-1.
Table 4-1 Examples of Special Characters Encoding
HEX Abbreviation
Glyph Encoded Description
00 NULL
-
\00
Null
character
0D CR
-
\0D
Carriage
return
0A LF
-
\0A
Line
feed
08 BS
-
\08
Backspace
09 HT
-
\09
Horizontal
Tab
7F DEL
-
\7F
Delete
5C
-
\
\5C
Control character for binary encoding
For example, when sending abc
follows:
AT+BROADCAST=abc\0D
4.1.5
Display Incoming Message
S11 register determines whether incoming message will be shown or not in the command mode. In the
data mode, on the other hand, incoming data is always displayed. To change the S11 register, please use
the AT command as below:
ATS11=
, where
If user wants to display incoming message in command mode, S11 should be enabled. It is displayed by
the form of +<IEEE address>|
When displaying incoming messages in command mode, some characters are encoded in the same way
with sending binary data as in Table 4-1. For example,when receiving abc
the displaying message is as follows: