mongoose-os-libs/bt-common

Request: Add gap_parse_service_data to mjs

Closed this issue · 0 comments

mgos_bt_gap_parse_service_data() has recently been added to the BT-Common C library. Could a wrapper be added to the MJS library, with example of use? The benefit of this would allow users to see if an advertising device has a service uuid that they might be interested in before attempting to open a connection to a device. The current example connects to device based on local name (many devices do not use local names) and then scans for the services that device offers.