You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • Hi, Thanks!

    I reckon you can use NRF.sleep() and NRF.wake() to stop advertisements. However that will make the device unconnectable when it's not advertising.

    Also you really want to let it send quite a few advertisements (so leave make 2 seconds between wake and sleep). It's radio so there's absolutely no guarantee that a single message will get through to the Pi.

    I wouldn't be too worried about the battery usage of advertising though - it's not that huge. You can always reduce the advertising interval to once a second or so, which will really reduce the battery usage without you having to do anything painful with wake and sleep.

About

Avatar for Gordon @Gordon started