connect failure but puck.js advertises: check battery #2039
Unanswered
espruino-discuss
asked this question in
Puck.js, Pixl.js, Jolt.js and MDBT42
Replies: 1 comment
-
Posted at 2017-02-20 by @gfwilliams Interesting - thanks! I guess perhaps when the MCU wakes up to start negotiating a connection it completely drains the battery and resets. Strange though - I've never had it before, I guess you got the battery charge level just right :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Posted at 2017-02-19 by OwenBrotherwood
If you can see the puck.js advertisement, ie the EspruinoWebIDE shows the puck.js as a choice, but connect fails: check the battery ie use another.
My puck.js has had intensive testing over the last couple of weeks with led's turned on a lot as my daughter loves the click, change color, plus other tests. This has has resulted in a very tired battery.
I observed during sw testing, an advertisment but no connect: lucky I had a couple of new unopened puck.js's in my pocket and took a battery from one of those.
This morning, I have now replaced the good battery with the bad battery and can confirm the observation: advertisment but no connect, check battery
Edit:
I think from Gordons comment, I may try and see if there is a battery service via BLE that one can query that can indicate that one's battery is almost gone.
This can give a 5 min warning about impending problems.
Beta Was this translation helpful? Give feedback.
All reactions