2023-09-17 11:26 PM
Hello!
I need your help in finding a way to know if BLE advertising is active.
Thank you
Solved! Go to Solution.
2023-09-18 03:40 AM - edited 2023-09-18 04:51 AM
No, but I suggest you to read the variable that activate the blinking of the green LED. For more information, you can use the AN5270. In this application note, you may find more details about the ACI_HAL_GET_LINK_STATUS that I think it can help you.
Best regards.
II
2023-09-18 12:16 AM
Hello @Ebin34
You can use different way to now if your BLE is advertising or not. For exemple in this application , a green led blink when advertising (take a look at the readme.txt file).
Best regards.
II
2023-09-18 12:32 AM
Yes, But from code ? I want to get what the current status of advertising is, e.g., enabled/disabled?
2023-09-18 12:42 AM
You can use a variable that receive 1 for exemple when advertising and 0 when not and always check the state of this variable.
Best regards.
II
2023-09-18 03:25 AM
Thank you! But, do you know if there is an HW or another low-level variable I can read?
2023-09-18 03:40 AM - edited 2023-09-18 04:51 AM
No, but I suggest you to read the variable that activate the blinking of the green LED. For more information, you can use the AN5270. In this application note, you may find more details about the ACI_HAL_GET_LINK_STATUS that I think it can help you.
Best regards.
II
2023-09-19 02:01 AM
Thank you so much!