labapart / gattlib

Library to access GATT information from BLE (Bluetooth Low Energy) devices
http://labapart.com/
436 stars 157 forks source link

Add support for characteristic descriptions #243

Open Oskee-Wow-Wow opened 2 years ago

Oskee-Wow-Wow commented 2 years ago

Would be useful to have characteristic descriptions available, but the two current description calls return GATTLIB_NOT_SUPPORTED:

int gattlib_discover_desc_range(gatt_connection_t* connection, int start, int end, gattlib_descriptor_t** descriptors, int* descriptor_count) {
        return GATTLIB_NOT_SUPPORTED;
}

int gattlib_discover_desc(gatt_connection_t* connection, gattlib_descriptor_t** descriptors, int* descriptor_count) {
        return GATTLIB_NOT_SUPPORTED;
}

Thanks