BLE Beacon and PowerDown mode integration

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

BLE Beacon and PowerDown mode integration

615 Views
Gabriel88
Contributor II

Dear Community,

I am trying to set a #OM15076-3 Carrier Board with a #JN5189 Module for a #QN9090 development.

Based on the powerdown_demo and beacon_bm examples I'm trying to keep the PowerDown mode most of the time just to wake up whenever the timer reaches zero, send a BLE beacon message and go back to sleep.

I do understand that once the Interruption Request returns 48, referred to WTIMER0 within the function checkIrqPending(), I could start beaconing and then go back to PowerDown mode.

//QN9090.h
WAKE_UP_TIMER0_IRQn          = 48,               /**< Wake up Timer 0 interrupt */

 

What I don't manage to grasp is what part of the BLE example to merge. fsl_os_abtraction_bm.c runs the main function but beacon.c manage the beacon application.

Thanks in advance for whatever helpful information.

Looking forward to hearing from you,

Gabriel

0 Kudos
Reply
0 Replies