Trying to get the advertising state
Hello,
I'm trying to get the advertising state from a new Cube MX project.
I followed the step by step, did all the initializations and compare with the P2Pserver exemple.
Everythings seem to be ok but I can't get this state work.
It seems that the program stay blocked (Program received signal SIGINT, Interrupt.) in infinite loop when it tries executing SCH_Run() for the first time .
The IRQ occurs just after the "SuperMask &= mask_bm;" line in SCH_Run()
Because of that, the program doesn't execute APP_BLE_Init( void ) and I can't get the advertising state, so the program doesn't go into the round_robin loop.
It is as if "SCH_RegTask( CFG_TASK_SYSTEM_HCI_ASYNCH_EVT_ID, shci_user_evt_proc );" in "appe_Tl_Init()" didn't register the task well.
Thanks you for helping me.