IanHarvey / bluepy

Python interface to Bluetooth LE on Linux
Other
1.61k stars 490 forks source link

Handling for broken device names. Closes #259 #275

Closed Thorsten-Sick closed 6 years ago

Thorsten-Sick commented 6 years ago

I also experienced crashing bluepy thanks to broken device names (as in #259). This change fixes it. The fallback to ISO-8859-1 worked in my case. For other nasty situations I also added a default handler for good measure.