![ZBA ZZB88-441S Скачать руководство пользователя страница 21](http://html1.mh-extra.com/html/zba/zzb88-441s/zzb88-441s_user-manual_3205387021.webp)
ZBA Inc
.
ZBA, Inc.
94 Old Camplain Road Hillsborough, NJ 08844
Ph: 908-359-2070 Fax: 908-595-0909
Web: http://www.zbausa.com/
10
Point-to-point mode Data specification
When the module is operating in point-to-point mode the data format is based on following format. If the
module are not configured to receive the serial data in to following format then data will be considered
invalid. The AT+_SENDTYPE =2 is the appropriate command.
10.1
Overview of the data packet format (point -to-point)
Packet format is defined as the
5
byte header plus valid data, as follows:
Sync
Package Type
Sequence Number
Data length
Valid data
0x55
0xAA
1 Byte
1 Byte
1 Byte
(0
-
80)
Bytes
1)
Sync:
each packet by
0x55, 0xAA
start a data packet used to synchronize
2)
Package Type:
1 byte length type field, used to indicate the type of the current packet, the case of
AT
commands or other types of packets.
Specific packet types are as follows:
Package Type
Help
Data transmission direction
0x 00
Additional
AT
Command Request
External
MCU
Æ
Zigbee
Module
0x01
Additional
AT
Command
Response
Zigbee
Module
Æ
External
MCU
0x10
Packet
Two-way
0x20
Package receiving response
Zigbee
Module
Æ
External
MCU
3)
Sequence Number
: This parameter is one byte in length and it represents the sequence of commands
form a particular module. The Serial number sequence is first set by the Zigbee module during the
0x20 package receiving response. Each subsequent communication the serial number will be
incremented by one (1)
4)
Data length
: 1 byte of data length field, which contains the number of bytes of data.
Maximum data
length is
80
bytes.
5) Valid data
: This field is data, and the length of the data is indicated by the previous byte. .
10.2
Additional AT command request (0x00) & Response (0x01) Packet
In point to point mode, the following example is used to show how to inquire the local MAC address. This
method can also be used to, a)
MAC
address lookup of remote devices through a short address queries
through the network Remote
MAC
address, b) short address by the network of parent-child query node, c)
query the local node and the neighbor node signals, etc..
The following is an example of the format of the data (hex) flow between the