Skip to content

Fixed ESP32 regression bug

Compare
Choose a tag to compare
@bitbank2 bitbank2 released this 24 Jan 08:17
· 71 commits to master since this release
0460b98

After I converted it to run on the Nano 33, I broke the scan matching on the ESP32. This fix recovers that and protects against name mismatches. BLE names sometimes have trailing spaces. If I just did a simple strcmp() with the name you're searching for, it won't always match. I switched to using the given name as a fixed length memory compare and this should prevent problems in the future.