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

rbc_mesh_stop not working #102

Closed
oldrich-s opened this issue May 2, 2016 · 3 comments
Closed

rbc_mesh_stop not working #102

oldrich-s opened this issue May 2, 2016 · 3 comments
Labels

Comments

@oldrich-s
Copy link

I would like to initialize rbc in stopped state so I do:

err_code = rbc_mesh_init(init_params);
APP_ERROR_CHECK(err_code);

err_code = rbc_mesh_stop();
APP_ERROR_CHECK(err_code);

However when I measure current it looks like the rbc mesh is actually not stopped. Can I call rbc_mesh_stop just after rbc_mesh_init?

@oldrich-s
Copy link
Author

I have rewritten my code to bypass the issue. Now the problem I face is that from time to time, although I call rbc_mesh_stop from app_timer the mesh does not actually get stopped. Is there any way how to make sure that the mesh will stop?

trond-snekvik added a commit that referenced this issue May 2, 2016
@trond-snekvik
Copy link
Contributor

Hi, I wrote a hotfix for your issue, as it was caused by a bug which required more than a couple of lines to fix. You can find it here: https://github.com/NordicSemiconductor/nRF51-ble-bcast-mesh/tree/hotfix_issue_102. The branch should address both stop right after init and odd stop behavior, could you help us verify this?

@oldrich-s
Copy link
Author

I have tested the hotfix for the last 24 hours and it seems to work fine. Thanks a lot!

trond-snekvik added a commit that referenced this issue Jun 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants