I am using BLE on QN9090. I am advertising in non connectable mode. I wanted to get extra notifications related to advertising. I use Gap_ControllerEnhancedNotification() function to enable advertising notification.
Afterwards I get only one event : gControllerNotificationEvent_c in BleApp_GenericCallback with the event type = gNotifEventNone_c and event status = gHciUnknownHciCommand_c.
what could be the reason for this?
I have seen that demo example SDK_2_6_11_QN9090DK6\boards\qn9090dk6\wireless_examples\bluetooth\w_uart also makes use of Controller Enhanced Notifications, but I have not been able to test if the notifications actually work in that example or not.
Hello,
Hope you are doing well. Could you please help me confirm if the Wireless UART fits your requirements for the notifications?
Best Regards,
Ricardo
Hello!
I want to get enhanced notifications just in my application similar to how it is done in Wireless UART.
But as I have mentioned in the main query for some reason it does not seem to work.
This is how my generic call back function looks like:
void BleApp_GenericCallback(gapGenericEvent_t *pGenericEvent)
{
switch (pGenericEvent->eventType)
{
case gControllerNotificationEvent_c:
{
bleNotificationEvent_t event = pGenericEvent->eventData.notifEvent;
bleResult_t result = event.status;
LOG("controller notification received: %d status %d", event.eventType,result);
if(result == gHciUnknownHciCommand_c){
LOG("Unknown hci command!");
}
}
break;
}
}
Whenever I subscribe to a enhanced notification. Inside gControllerNotificationEvent_c case I always get:
event type = gNotifEventNone_c
event status = gHciUnknownHciCommand_c.