2022-10-04 06:39 PM
Interrupts or functions that iBeacon-Server can check for every ad cycle
Solved! Go to Solution.
2022-10-19 02:03 AM
Hello,
To know the number of advertisements from the moment the advertisement started, you can use ACI_HAL_SET_RADIO_ACTIVITY_MASK command with parameter 0x0002 (Advertising) to filter the event reported to application through ACI_HAL_END_OF_RADIO_ACTIVITY_EVENT. So, with this configuration only advertising activity will be reported to the application through ACI_HAL_END_OF_RADIO_ACTIVITY_EVENT, each time you received this event, you can increment your counter. You can look STM32WB_BLE_Wireless_Interface.html documentation for more information about event and command and you can look BLE_P2PServer example, to see how to use ACI_HAL_SET_RADIO_ACTIVITY_MASK command and how to manage ACI_HAL_END_OF_RADIO_ACTIVITY_VSEVT_CODE event.
Best Regards
2022-10-11 02:29 AM
Hello,
Can you give more information about what you to do?
Best Regards
2022-10-12 04:04 PM
I want to know the number of advertisements from the moment the advertisement started
2022-10-19 02:03 AM
Hello,
To know the number of advertisements from the moment the advertisement started, you can use ACI_HAL_SET_RADIO_ACTIVITY_MASK command with parameter 0x0002 (Advertising) to filter the event reported to application through ACI_HAL_END_OF_RADIO_ACTIVITY_EVENT. So, with this configuration only advertising activity will be reported to the application through ACI_HAL_END_OF_RADIO_ACTIVITY_EVENT, each time you received this event, you can increment your counter. You can look STM32WB_BLE_Wireless_Interface.html documentation for more information about event and command and you can look BLE_P2PServer example, to see how to use ACI_HAL_SET_RADIO_ACTIVITY_MASK command and how to manage ACI_HAL_END_OF_RADIO_ACTIVITY_VSEVT_CODE event.
Best Regards