SWRU271I October 2010 – January 2020 CC2540 , CC2540T , CC2541 , CC2541-Q1 , CC2640R2F
Like the GAP and ATT layers, the HCI extension commands result in HCI extension events being passed passing from the controller to the host. Additional steps are required to receive these HCI extension events at the application.
The GAPRole task registers receive HCI Extension events in gapRole_init() by default:
The GAPRole task receives events related to HCI extension commands, even if they are called from the application. Implement a callback function to pass these events from the GAPRole task back to the application if needed in the application.