I am using a FRDM-KW36 and have modified the "hid_host bm" example for a BLE application. I need a counter for all received packets from all connected servers and must be able to associate them with each server.
I tried to use the Radio_1_IRQn interrupt for this, but I don't get as many interrupts as I would expect and can't distinguish the events.
I've also tried to get callbacks from the Bluetooth stack using the Controller_RegisterEnhancedEventCallback and Controller_ConfigureEnhancedNotification functions, but that doesn't seem to work and I'm not sure if the functions are intended for that at all.
Are there other ways to implement the counter that I overlooked?
Is there any form of documentation of the Blootooth stack that comes with the MCUXpresso SDK? I'm only guessing by the function names at the moment and that's very frustrating.