mysensors / MySensors

MySensors library and examples
https://www.mysensors.org
1.31k stars 892 forks source link

SecurityPersonalizer.ino - prints wrong whitelist line for ESP32 DevKit #1491

Open gorbunovav opened 3 years ago

gorbunovav commented 3 years ago

It correctly detects hardware serial (which ends with 000000 in my case), but in the whitelist entry the last byte is replaced with FF for some reason:

+------------------------------------------------------------------------------------+
|                      This nodes whitelist entry on other nodes                     |
+------------------------------------------------------------------------------------+
{.nodeId = 0,.serial = {0xYY,0xYY,0xYY,0xYY,0xYY,0xYY,0x00,0x00,0xFF}}
+------------------------------------------------------------------------------------+