labapart / gattlib

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

NordicUart-example? #279

Closed krimp closed 6 months ago

krimp commented 6 months ago

Are there any plans to convert the NordicUart-example to the new interface?

oliviermartin commented 6 months ago

Hi @krimp, I have just ported the Nordic UART example: https://github.com/labapart/gattlib/pull/280 Do you mind to have a try and confirm me it works before I merge it? I have not tested it yet.

The code is quite similar to the previous code I tested.

krimp commented 6 months ago

Cloned and compiled the port-uart-example branch on a RPiZero2W. It worked after changing m_connection to connection in line 100.

oliviermartin commented 6 months ago

Thanks a lot @krimp for your valuable feedback. I have taken your change in account in the PR and merged it!