status of ble_observe

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
agmi_3321141
Level 4
Level 4
5 likes given First like received First like given

Hi  - How to check if ble_observe was successfully started? When the API wiced_bt_ble_observe is called, it returns "pending" result. It eventually starts after a while, so how can I conclusively check if it went from pending to success, in the case that it somehow failed? Is that status returned to the callback?

Second question is how when observer role needs to be stopped, does the API need the callback fn pointer?

0 Likes
1 Solution

1. Logically the API should return success. I will check this once and update.

2. There is no need to pass any callback to stop the observer functionality.

You are correct, we do not have any API to check if the role is running successfully or not.

View solution in original post

0 Likes
12 Replies