-
Notifications
You must be signed in to change notification settings - Fork 67
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
Bootstrapping and notification issues with awa-0.2.3 on Clickers to Ci40 #286
Comments
13078 is 5683 in network byte order, I will look into whether this just a display problem (ie need to convert back) |
Actually i was wrong, its not 8-10 attempts, but it has taken almost 36 attempts to bootstrap the clicker to Ci40. Attached the both the logs, one with clickers having awa-0.2.1, where bootstrapping happens almost immediately in 1st attempt. where as with awa-0.2.3 it has taken hell lot of time, almost 36 attempts (its not always 36, it can be more or less, but far more time). |
Attaching both the packet captures. |
Another set of logs including awa_serverd and awa_bootstrapd logs with clicker(2.1/2.3), including matching pcaps. |
@abhijit-mahajani-imgtec thanks, we'll take a look soon. |
@abhijit-mahajani-imgtec confirmed that there's an issue with IPv6. We're looking into it. |
Hi @abhijit-mahajani-imgtec, in the main loop, have you changed PROCESS_WAIT_EVENT_UNTIL to PROCESS_YIELD? Delme updated the docs when we switched to erbium:
This allows the process to yield to the network stack for incoming packets, which was previously done in the contiki rest engine process. |
Thanks @datachi7d , yes we have already update the button-sensor application to add this PROCESS_YIELD, see CreatorKit/button-sensor@d272b9c |
We are using awa-0.2.3 for CreatorKit project.
We have awa-0.1.10 or awa-0.2.1 running on clickers and they could bootstrap/register with awa server on Ci40 (0.2.3). However when we integrated 0.2.3 on Clickers (see CreatorKit/button-sensor#14),
Now its not able to bootstrap properly to Ci40 running awa-0.2.3. it takes almost 8-10 attempts before it can bootstrap to Ci40.
But after that (our button-sensor applications sends notifications for each button-press), notifications sent to Ci40 are not received there.
I can see with button-sensor app on clicker with awa-0.2.3 is trying to send notify to 13078 port.
where as when it used to succeed with awa-0.2.1 or earlier, it used to send notify to 5683 port.
My question is are we missing anything in configuration ? why the behaviour has changed?
Thanks in advance!
The text was updated successfully, but these errors were encountered: