XBee API problem
bastian
Posts: 1
Hi,
at the moment I try to understand how XBee works. I have one XBee connected to the computer and one is wired just to send back (in transparent mode) everything it recieves (hard-wire connection between DIN and DOUT).
This is how far I got:
I put the XBee coordinator (connected to my computer) in transparent mode. Now everything I type into my terminal ist coming back. So long it works fine.
Next step:
I put my computer-connected coordinator in API mode (1). The remote XBee stays in transparent mode.
Now I send this package via terminal to my coordinator (all hex):
7E
00 16 //length
10 //send data
01
00 00 00 00 00 00 FF FF // to every XBee in my network
FF FE
00 00
54 78 44 61 74 61 30 41 // my data to be sent
C3 // checksum
but... nothing happens. (Of course I tried to modify my API package).
Where is my mistake?
Sebastian
:edit: Problem is solved. 0x10 is an API command for series 2. 0x00 woud be the correct command.
at the moment I try to understand how XBee works. I have one XBee connected to the computer and one is wired just to send back (in transparent mode) everything it recieves (hard-wire connection between DIN and DOUT).
This is how far I got:
I put the XBee coordinator (connected to my computer) in transparent mode. Now everything I type into my terminal ist coming back. So long it works fine.
Next step:
I put my computer-connected coordinator in API mode (1). The remote XBee stays in transparent mode.
Now I send this package via terminal to my coordinator (all hex):
7E
00 16 //length
10 //send data
01
00 00 00 00 00 00 FF FF // to every XBee in my network
FF FE
00 00
54 78 44 61 74 61 30 41 // my data to be sent
C3 // checksum
but... nothing happens. (Of course I tried to modify my API package).
Where is my mistake?
Sebastian
:edit: Problem is solved. 0x10 is an API command for series 2. 0x00 woud be the correct command.