thomasfla / Linux-ESPNOW

An attempt at implementing a direct link between a linux station and an ESP module using ESPNOW protocol for real time robot control
BSD 2-Clause "Simplified" License
178 stars 28 forks source link

wifiRawSender has hardcoded MAC addresses #7

Open biemster opened 1 year ago

biemster commented 1 year ago

The payload in https://github.com/thomasfla/Linux-ESPNOW/blob/7ca8af0b1cb525c0f00f367a5a849d213ed5dc19/wifiRawSender/main.c#L106-L107 has hardcoded src and dst MAC addresses. Some drivers/platforms might exchange those for the actual hardware addresses and configured destination, but on my QCA9533 they are not replaced so the packets don't go to the broadcast address. Maybe just a fringe use case but since this project is awesome, this info might help someone.