particle-iot / particle-usb

A library for accessing Particle USB devices
Apache License 2.0
5 stars 1 forks source link

Filter out null bytes from the firmware version returned by the device #93

Closed monkbroc closed 1 year ago

monkbroc commented 1 year ago

Story details: https://app.shortcut.com/particle/story/121836

While testing https://github.com/particle-iot/particle-cli/pull/673 I got an error that 0.6.3 was not valid semver. It turns out the Photon sends '0.6.3\x00\x00'.