Closed cdealti closed 8 years ago
The problem is closely related to #37.
The dongle respond to the magic byte with a SYS_RESET_IND
. This confuses the subsequent dongle initialization.
As said increasing the RESEND_TIMEOUT_DEFAULT
seems to mitigate the problem but the right way to do this is to wait for a while SYS_RESET_IND
after sending the magic byte.
Above commit merged into master. Closing this issue
I'm facing a timeout problem when I run
zigbee-console-javase
both with theCC2531ZNP-Pro-Secure_Standard.hex
and theCC2531ZNP-Pro-Secure_LinkKeyJoin.hex
firmware (note that I'm starting the network clearing the state):It happens when the application is started while the led on the CC2531 is on, i.e. within the first 60 seconds after it has been plugged.
If I run the above command a second time just after the timeout or I wait more than 60 seconds after the dongle has been plugged (the led goes off) the network always starts successfully.
I've tried to increase the
RESEND_TIMEOUT_DEFAULT
to 10000 and this seems to fix the problem.Can anyone confirm this behavior?