cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 4 MCU

Anonymous
Not applicable

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)?

0 Likes
Reply
1 Solution
Moderator
Moderator

Hello,

   

Please look into our GitHub Projects:

   

https://github.com/cypresssemiconductorco/PSoC-4-BLE/tree/master/100_Projects_in_100_Days

   

Refer Day08,09 projects. Please check whether it suits your application.

   

Thanks,
Anjana

View solution in original post

0 Likes
Reply
1 Reply
Moderator
Moderator

Hello,

   

Please look into our GitHub Projects:

   

https://github.com/cypresssemiconductorco/PSoC-4-BLE/tree/master/100_Projects_in_100_Days

   

Refer Day08,09 projects. Please check whether it suits your application.

   

Thanks,
Anjana

View solution in original post

0 Likes
Reply