- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Module:20736
SDK Version: WICED-Smart-SDK-2.2.3
Test conditions:
The test device has discontinuous descriptor handle such as 1-6...20-30
Test results:
Only descriptor handle 1~6 can be got by bleprofile_sendFindInfoReq.
Questions:
Can bleprofile_sendFindInfoReq read the discontinuous descriptor handle?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is the intended behavior of the API. What you're seeing is defined in the spec: vol 3, Part G, 4.x.
According to the spec, it's your job at the application level to take the last received handle, increment it and pass that as the start handle of a second Find Information Request. Continue incrementing and restarting this process until the server sends back an Error Response code. This signals that there is nothing left to discover.
See puart_control app in the SDK for an example of this discovery protocol.
Jacob