BLE Beacon and PowerDown mode integration

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

BLE Beacon and PowerDown mode integration

639 次查看
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

标记 (4)
0 项奖励
回复
0 回复数