mysensors / MySensors

MySensors library and examples

Home Page:https://www.mysensors.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SecurityPersonalizer.ino - prints wrong whitelist line for ESP32 DevKit

gorbunovav opened this issue · comments

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}}
+------------------------------------------------------------------------------------+