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

Canary paho-timeout #5

Open
APWright opened this issue Jul 8, 2017 · 1 comment
Open

Canary paho-timeout #5

APWright opened this issue Jul 8, 2017 · 1 comment

Comments

@APWright
Copy link

APWright commented Jul 8, 2017

I updated the canaries to the most recent firmware, and while it seems some aspects of performance have improved in that we have been able to run 8 devices taking data at a time, there is still the timeout issue we had before. I don't know if the problem is how we are setting things up or if there is still something wrong in the firmware. I uploaded my notes, the computer logs, and the sql dump from the experiment yesterday to the canary repo.

@steelsmithj
Copy link
Collaborator

That is probably due to the low rx rate that is set up right now.
In contiki/examples/canary/mqtt_protobuf_demo/project-conf.h change

#define NETSTACK_CONF_RDC_CHANNEL_CHECK_RATE 8

to

#define NETSTACK_CONF_RDC_CHANNEL_CHECK_RATE 32

This is making the devices wake up more often to allow better bandwidth of the network. However it comes at the price of more power consumption. We are still testing what will be the best check rate to support networks up to 100. 32 still will not be perfect, however, it will be much better than 8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants