- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have an advertiser that is generating advertising packets every 50ms. My observer has scan window and interval of 30ms. I'm watching the CYBLE_EVT_GAPC_SCAN_PROGRESS_RESULT and for some reason it occurs 9 times and then just stops.
Shouldn't I be able to get an interrupt every time the 50ms advertising packet and the scan window overlap?
There is no CYBLE_EVT_GAPC_SCAN_START_STOP or CYBLE_EVT_TIMEOUT occurring.
I don't think it is the advertiser because every time I reset the observer I get the same 9 packets.
Any ideas?
Solved! Go to Solution.
- Labels:
-
BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nevermind, figured it out, I wasn't clearing my Timer 1 interrupt which was causing some sort of overflow that was shutting down my main loop.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nevermind, figured it out, I wasn't clearing my Timer 1 interrupt which was causing some sort of overflow that was shutting down my main loop.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you have Watchdog enabled, upon receiving 3 unhandled interrupts, the unit will shutdown/reset; But I think it is only for the WDT explicitly.