labapart / gattlib

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

fix: gattlib_adapter not found => SIGSEV #239

Closed tswaehn closed 2 years ago

tswaehn commented 2 years ago

I had the issue that the default adapter went to power save mode and sometimes wasnt availabe and yielded into a SIGSEV in gattlib.

The fix properly returns NULL if the adapter is not available.

oliviermartin commented 2 years ago

Thanks @tswaehn for your contribution :-)