basnijholt / miflora

☘️🌑🌼πŸ₯€πŸ‘ Mi Flora Plant sensor Python package
MIT License
366 stars 98 forks source link

Fix wrong regular expression in write_ble() function #9

Closed leppa closed 7 years ago

leppa commented 7 years ago

In case of successfull write, gattool retuns "Characteristic value was written successfully", but regular expression was checking for HEX numbers. This caused write_ble() function to always fail.

ghost commented 7 years ago

Thank you for providing this patch. A similar change was added in another pull request, therefore I will close this one.