Home/Support/Support Forum/Xbee firmware 2059 vs 2055 behaviour

Xbee firmware 2059 vs 2055 behaviour

0 votes
Hi,
I have two modules XB24C(programmable version of xbee), one is used as a coordinator(plugged trough a dongle to a pc) and the other is used as an end device attached to arduino (using Andrew Rapp xbee library for arduino).
The end device is set in sleep mode with the following parameters:
- SM = 0x05;
- SP = 0x1F4; //5 SEC
- SN = 0x05;
- SO = 0X02; //WAKE FULL ST TIME
- ST = 0x7D0; // 2 SEC
The problem is that:
-firmware 4059(newest): when i send a message from coordinator to end device during a number period 0<=x<=SN-1 the xbee at the end of SP period verify with a pool request that there is a message, so wakes up the arduino (with ON/SLEEP line interrupt) but Arduino cannot receive the message when i used xbee.readPacket(int timeout). If i send a message during the last SN number period the arduino is waked up and receives the message correctly.
- firmware 4055: the behaviour is the same above but it works without problem, so if i send a message at the end of SP the arduino is waked up and receives the message correctly (indipendent from the SN actual period).

Can someone help me to understand? Thanks a lot.
asked Oct 8, 2016 in ZigBee PRO Featureset (and legacy ZNet 2.5) by longo92 New to the Community (0 points)

Please log in or register to answer this question.

1 Answer

0 votes
Have you looked thru any of the release notes to see if there is something that may have to do with what you are seeing?
answered Oct 10, 2016 by mvut Veteran of the Digi Community (12,354 points)
No, there isn't nothing about that.
Ok let me ask a question.  Are you using SPI mode or UART mode between the XBee and the Arduinio?

What is the full part number of the XBee modules you are working with?

Are you using API mode?  Most Arduino code does?
UART mode, using software serial on Arduino to comunicate with Xbee.

The Xbee is XB24CZ7WITB003.

Of course i'm using API mode 2( API with escaping).
This is a Programmable XBee.  It is the equivalent of an XBee module and an Arduino all in one. If you want to connect the XBee to an Arduino for the processor, you need the Non programmable versions of the XBee.
ok, but i bypass the programmable processor(through bootloader) so the xbee si completly transparent to arduino (equal to a  non-programmable version of Xbee).
That is not entirely correct. The Arduino code wants to use API mode and the bootloader you are referring to wants to access the radio in AT mode.
...