How do I know if device is Advertising in progress
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-18 3:40 AM - edited ‎2023-09-18 4: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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-18 3:25 AM
Thank you! But, do you know if there is an HW or another low-level variable I can read?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-18 3:40 AM - edited ‎2023-09-18 4: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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-19 2:01 AM
Thank you so much!
