QN9090 BLE Enhanced Controller Notifications not working

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

QN9090 BLE Enhanced Controller Notifications not working

1,563件の閲覧回数
umx
Contributor II

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? 

0 件の賞賛
返信
3 返答(返信)

1,547件の閲覧回数
umx
Contributor II

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.

0 件の賞賛
返信

1,536件の閲覧回数
Ricardo_Zamora
NXP TechSupport
NXP TechSupport

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

0 件の賞賛
返信

1,509件の閲覧回数
umx
Contributor II

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

 

 

0 件の賞賛
返信