BlueNRG-LP hci_le_advertising_report_event() isn't called
Hi,
I want to program a connectionless observer to scan events, but the hci_le_advertising_report_event() callback isn't called.
I have followed the steps of programming manual PM0269 for configure the modular configurations to work as Broadcaster + Observer only:
- Define BLE_STACK_CUSTOM_CONF in the preprocessor.
- Enable CONTROLLER_MASTER_ENABLED in custom_ble_stack_config.h
- Set in asci_gap_init() GAP_BROADCASTER_ROLE|GAP_OBSERVER_ROLE roles
My enable scan with this configuration:
aci_gap_set_scan_configuration ( DUPLICATE_FILTER_DISABLED,
ADV_NO_WHITE_LIST_USE,
LE_1M_PHY_BIT,
PASSIVE_SCAN,
0x10,
0x10
);
hci_le_set_scan_enable(1,0);
I don't get any error, but the hci_le_advertising_report_event() isn't called. Supposedly, hci_le_set_event_mask( ) isn't necessary because the adv report event is enabled by default, but even calling this function, the callback isn't work.
I would like know what I'm doing worng.
Daniel
