- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
My sleep battle with CPU and BLE continues.
Now i am trying to send 3 packets on wake up while advertising is closed.
So, i do this once on begin:
CyBle_GappStopAdvertisement()
and i see that BLE state turns to Disconnected Idle.
When i use CyBle_GappSetNumOfAdvPkts(, 3 packets)
i get two constant interrupts of :CYBLE_EVT number is 26 ( CYBLE_EVT_GAPP_ADVERTISEMENT_START_STOP)
why two?
one is for the packets transfered, where does the second one come from?
I added prints to Stop/Start advertisment function just to be sure, non of them evokes.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
You will get two interrupts. The first one is when the advertisement starts and packets are sent and the second one is when the advertisement stops.
-Sayani.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
You will get two interrupts. The first one is when the advertisement starts and packets are sent and the second one is when the advertisement stops.
-Sayani.