OK, Well first off I do not use Microsoft products (calling it software is a bit too hard for me:)) so I haven’t used the X-CTU programme other than to upgrade the firmware on all my modules.
I am using just a straightforward terminal software to send data to the Zigbee module, this can be done with the X-CTU software too.
I will leave the SW up to you.
This is how to make the packet manually.
7E 00 12 00 01 00 13 A2 00 40 08 6E A4 04 FF FF FF FF FF FF FF F2
That is the packet as posted, it is made up of
7E A packet
00 12 it’s length
00 API identifier (packet to go)
01 frame ID
00 13 A2 00 MS destination address
40 08 6E A4 LS destination address
04 Broadcast PAN ID
FF FF FF FF FF FF FF Data to send
F2 checksum
For your data this would be
7E A packet
00 12 it’s length
00 API identifier (packet to go)
01 frame ID
00 13 A2 00 MS destination address
40 0A 3E B7 LS destination address
04 Broadcast PAN ID
FF FF FF FF FF FF FF Data to send
With the change of data the checksum has to be recalculated as follows
FF-(00+01+00+13+A2+00+40+0A+3E+B7+04+FF+FF+FF+FF+FF+FF+FF)
This equals 80D, keep only the LS 8 bits (0D)
0D checksum
Before you can do this you have to enable API by entering command mode +++, sending ATAP 1. This will turn on the API, it is 0 by default ie disabled I think
I am about half a day in front of you programming these things, or maybe half a day behind. I haven’t got as far as coordinator and end units yet
Here are some more command packets, not address specific, just to get info from the unit connected to the PC.
Command packets
7E 00 04 08 52 41 43 21 Apply changes made with previous packets
7E 00 04 08 52 57 52 FC Write settings to NV RAM
7E 00 04 08 52 4E 44 13 Node discover
7E 00 04 08 52 44 4C 15 Get destination address low
7E 00 04 08 52 44 48 19 Get destination address high
7E 00 08 08 52 44 4c 40 08 6E A4 BB Set destination address low to 40086EA4
7E 00 04 08 52 41 50 14 Get API mode
7E 00 05 08 52 41 50 00 14 Set API mode to 0, no API
7E 00 05 08 52 41 50 01 13 Get API mode to 1, API mode
7E 00 05 08 52 41 50 02 12 Get API mode to 2, API mode with escape
7E 00 04 08 52 53 4c 06 Get sending address low
7E 00 04 08 52 53 48 0A Get sending address high
7E 00 04 08 52 50 4c 09 Get power setting
7E 00 04 08 52 56 52 FD Get firmware version of the modem, we are using 1083
7E 00 04 08 52 56 4C 03 Get firmware version of the modem, more info, doesn’t seem to work
7E 00 04 08 52 45 44 1C Energy scan
7E 00 04 08 52 48 56 07 Get hardware version, eg 1809 on this one
7E 00 04 08 52 43 54 0E Get command mode timeout, Don’t really need this as we are using packets and command mode is not needed
7E 00 04 08 52 50 52 03 Get state of pull up resistors, enabled or disabled, default enabled