-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xbee: setting PAN ID sometimes fails #10338
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you want me to ignore this issue, please mark it with the "State: don't stale" label. Thank you for your contributions. |
@fjmolinas do you know if #13224 maybe has fixed that as well? |
I'll try to reproduce, was this easy to reproduce at the time? |
I still get non ASCII characters sometimes
But I have reseted and flashed multiple times and it succeeds every time. |
This is a local test, not over iot-lab. |
Ok, non-ASCII chars I consider not in the scope of this PR, so I consider this fixed. |
I'm re-opening this since I saw it again during release testing, maybe having debugging enabled somehow affected the initial result, but I got |
Description
While testing arduino-zero+xbee to samr21-xpro communication during the testing phase of 2018.10 I noticed, that sometimes the initialization of the network interface fails. To check what happened I used the DEBUG output and it apears to be an issue in the PAN ID initialization:
(CH also seems to be somewhat errorneous, as it prints a non-ASCII symbol)
I'm not 100% sure, but I think it happens if a reset happens while the device is sending something, but I also saw it directly on the first initialization after flash.
Would be great (or not so great for our stability) if someone can check if that also happens with xbee on other boards than arduino-zero.
Steps to reproduce the issue
Use a board (preferrably to make it easier one without a radio) and attach an xbee shield (e.g. arduino-zero in IoT-LAB. Compile
gnrc_networking
with thexbee
module and flash it to the board and open the terminal. Try to reset several times, sometimes it works quite stable.Expected results
Always reset to a workable state.
Actual results
Sometimes you will see the
gnrc_netif: netdev init failed: -5
message shown above (or if you miss it, you won't be able to use the shell, since it isn't initialized due to the error).Versions
IoT-LAB's arduino-zero + my local setup:
The text was updated successfully, but these errors were encountered: