I'm looking for the lowest power way to build something like a bluetooth remote.
Right now I'm updating a service/characteristic every time the button is pressed or released, and my PC-side C# app subscribes to those events. I had seen the North Focals controller do this, and that seems to get a large amout of battery life out of a tiny battery for its usecase (significantly fewer presses per minute than a mouse or keyboard).
When the PC is subscribed, it seems to draw a steady (and higher than baseline advertising) current. Before I go experiment with many things and probably draw the wrong conclusions with my imperfect measuring equipment, is there a best practice/even lower power way of doing this? Putting events in advertising packets and pushing them realtime? Is the HID system better?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I'm looking for the lowest power way to build something like a bluetooth remote.
Right now I'm updating a service/characteristic every time the button is pressed or released, and my PC-side C# app subscribes to those events. I had seen the North Focals controller do this, and that seems to get a large amout of battery life out of a tiny battery for its usecase (significantly fewer presses per minute than a mouse or keyboard).
When the PC is subscribed, it seems to draw a steady (and higher than baseline advertising) current. Before I go experiment with many things and probably draw the wrong conclusions with my imperfect measuring equipment, is there a best practice/even lower power way of doing this? Putting events in advertising packets and pushing them realtime? Is the HID system better?