Does the ke_timer_set callback function execute in main context or timeout interrupt context?

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.wsdof.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
2 posts / 0 new
Last post
cgha
Offline
Last seen:3 months 5 days ago
加入:2016-03-23 13:05
Does the ke_timer_set callback function execute in main context or timeout interrupt context?

And also does the ble callback(conencted, disconnected, data received, .etc) execute in ble interrupt context or execute in rwip_schedule(main context)?

Device:
Qinjiny_Dialog
Offline
Last seen:5 days 11 hours ago
工作人员
加入:2016-11-01 05:47
Hi cgha,

Hi cgha,

Timer callback and BLE messages are generated from low-level interrupts, the BLE stack handled them and manage them as a message queue with rwip_scheduler. Thus from a user view, you can see them as in the main context.