1 Reply Latest reply on Jan 22, 2017 9:54 PM by anpm

    One-shot beacon example?

    sean.mahnken_1944716

      I'm looking for example code for a one-shot beacon.  That is, a user presses a button on the broadcaster, some processing work is done, and then it beacons once (no BLE connection), then goes back into deep sleep or hibernate.

         

      I've been trying to adapt one of the synchronous (periodic) beaconing examples, but I'm running into an issue that I can't figure out.  The first button press works as expected (one beacon), but subsequent presses result in two beacons, one of which comes before the processing work.  It would seem that there is a residual message in the BLESS or something.

         

      Can anyone point me at an example that is NOT periodic in its broadcast (and does NOT require a connection)?