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

[Electron] encounters full handshake up to every 4th publish #1133

technobly opened this issue Oct 5, 2016 · 0 comments · Fixed by #1158


Copy link

commented Oct 5, 2016

In two different occurrences, while using sleep stop mode and publishing data, it was found that the electron appears to be encountering a full handshake every 4th publish.

First occurrence:

Second occurrence (0.6.0-rc.2):

See above posts for test code.

It appears in the second case that adding a 5 second delay between the publish and sleep calls helps to remedy the solution.

In the first case, just enabling debugging with DEBUG_BUILD=y helps to greatly reduce the frequency that full handshakes occur. This seems to indicate delays are helping to remedy the solution as well. Keep in mind this previous PR that was designed to wait for all confirmable UDP messages to be sent before going to sleep, which alleviates the need for delays before sleep calls on the Electron. This looks related, but might be due to a different root cause.


  • Minimum test case added
  • Device, system and user firmware versions stated
  • Particle confirmed

@technobly technobly added the bug label Oct 5, 2016

@technobly technobly added this to the 0.7.x milestone Oct 5, 2016

@avtolstoy avtolstoy self-assigned this Nov 1, 2016

avtolstoy added a commit that referenced this issue Nov 6, 2016

@technobly technobly modified the milestones: 0.7.x, 0.6.1 Nov 29, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.