I'm trying to minimize energy consumption on the QN9080 MCU as much as possible and hence want to omit the use of a real-time operating system and the additional energy cost it implies.
I took the Bluetooth beacon example and tried to directly call the startup_task method without passing it to the scheduler. Unfortunately I couldn't receive any advertisement packets this way.
OSA_TaskCreate(OSA_TASK(startup_task), NULL);
vTaskStartScheduler();
->
startup_task(NULL);
How can I make it work without using the scheduler?
Hardware: QN9080 DK-V1.2 R20161129
SDK: SDK_2.2_QN908xCDK_Beta
IDE: MCUXpresso IDE v10.0.2
n Hello,
Could you please check the BLE Application Developer's Guide? You can find it under the following path:
C:\NXP\SDK_2.2_QN908xCDK_Beta\docs\wireless\Bluetooth
The next release of the QN9080 stack will have an optimization on the power consumption if that it's what you are seeking for.
Best Regards,
Estephania