HAC-LBee/S manual V3.X SHENZHEN HAC TECHNOLOGY CO., LTD.
FAX:+86-755-23981007 E-MAIL
:
-
28 -
5.4 Frequently Asked Questions.
5.4.1 How to broadcast transmission?
When one module broadcast data, the other modules in the same network (Same PAN ID and same
channel) will receive the broadcasting data.
Broadcast under transparent mode
Under the transparent mode, set the upper 32-bit of 64-bit destination address as 0x00000000 by
ATDH command, set the lower 32-bit of 64-bit destination address as 0x0000FFFF by ATDL
command. In this way, under the transparent mode, all the data input from the serial port of module
can be transmitted by broadcast.
Broadcast under the API mode
Under the API mode, if users want to send data by 64-bit destination address (the command word is
0x00), users only need to set the address as 0x000000000000FFFF. If by 16-bit destination address
(the command word is 0x01), users need to set the address as 0xFFFF. In this way, under the API
mode, data can be transmitted by broadcast.
5.4.2 How to send data to the appointed module under the transparent mode?
When one module works under the transparent mode, except broadcast, it also can send the data to
the appointed module. There are two ways, one is using 64-bit destination address. Before using this
method, users need to set the 64-bit destination address by ATDH and ATDL command, for
example:
ATDH 7F130301
ATDL 004B1200