littleb
littleb copied to clipboard
How can I query devices discovered by lb_get_bl_devices()
This call populates an internal list of devices that are only accessible via API calls. There appears to be no way of searching through devices to determine which ones expose a specific primary service.
I propose two new API calls to address this use case lb_result_t lb_get_bl_device_count(lb_context lb_ctx, int* device_count); lb_result_t lb_get_bl_device(lb_context lb_ctx, int device_index, lb_bl_device** bl_device);
im currently away and will look at this properly next week, thanks
Looks like a good idea, i'll look into this one
I am implementing in my fork. See https://github.com/whbruce/littleb/tree/esp
Sounds good thanks for this.
On 8 Sep 2016, at 20:38, Henry Bruce [email protected] wrote:
I am implementing in my fork. I'll push some updates by end of the week.
— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub, or mute the thread.