Skip to content
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

Problem with attaching devices #343

Closed
BAzili073 opened this issue Jun 8, 2022 · 5 comments
Closed

Problem with attaching devices #343

BAzili073 opened this issue Jun 8, 2022 · 5 comments
Labels
question Further information is requested

Comments

@BAzili073
Copy link

Hello.
We use nRF52840 as devices. And use a RPi as a border router.
We had a problem of joining attaching devices to the network.
Device may attach and may not depending on which device's Parent Response it will receive last: if it's ot-br on RPi it attaches fine, if it's another device then child ID response from it never arrives so attach timeouts.

During the debug, we found out that disabling OPENTHREAD_CONFIG_DROP_MESSAGE_ON_FRAGMENT_TX_FAILURE for the device that sends Child ID response helped to attaching device finally receive Id responce and enter the network

What is the the root of a problem and is this the correct solution?

dev1_fail_to_dev2_succ_to_Rpi.log
dev1_succ_to_dev.log
dev1_fail.log
dev2_succ.log
dev2_fail.log

@jwhui jwhui transferred this issue from openthread/openthread Jun 8, 2022
@jwhui jwhui added the question Further information is requested label Jun 8, 2022
@jwhui
Copy link
Member

jwhui commented Jun 8, 2022

From the logs, it appears that there are many transmission failures with no-ack errors. This could be due to poor RF connectivity between the devices.

Which nRF52840 devices are you using? What is the received signal strength being reported for received messages in the OpenThread logs on the RPi?

@BAzili073
Copy link
Author

Thanks for such fast answer!
We use devices of our own production based on nRF52840
Here is the log from RPi.
RPi.log
| PAN | MAC Address | Ch | dBm | LQI |
+------+------------------+----+-----+-----+
| f0c6 | 02925165732a45d4 | 11 | -50 | 172 |
| f0c6 | a6678815ccf4d899 | 11 | -46 | 184 |
| f0c6 | e6fd73c544781877 | 11 | -60 | 124 |
| f0c6 | bafd8b412e0d32cd | 11 | -55 | 148 |

@jwhui
Copy link
Member

jwhui commented Jun 13, 2022

@BAzili073 , do you have any nRF52840-DK or USB dongles to test with? It would be interesting to see if you can replicate the issue with Nordic dev boards.

@BAzili073
Copy link
Author

Yeah, we will try to reproduce it on nRF52840-DK

@jwhui
Copy link
Member

jwhui commented Jun 28, 2023

Closing stale issue.

@jwhui jwhui closed this as completed Jun 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants