You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Well, as ryan42 never responded I guess we might as well use this thread :)

    This is with Puck.js running version 2v00? Or the absolute latest builds? How often do you press the button?

    With 2v00, the connection changed a little:

    • pre-2v00 used 20ms connection intervals while connected
    • 2v00 and later use 7.5ms connection intervals when connected, but after ~2 minutes of idle they drop to 200ms so should be far better on a battery. For some reason it seems yours isn't idling.

    You could however try NRF.setConnectionInterval(100) : http://www.espruino.com/Reference#l_NRF_­setConnectionInterval

    In 1v00, setConnectionInterval only works when you're connected, but if you use a cutting edge build you could just shove it in your E.on('init'.

About

Avatar for Gordon @Gordon started