-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Device is using the wrong byte order for its IEEE 802.15.4 MAC address (TZ-232) #71
Comments
The discrepancy might stem from a big/little endian issue. Would you be able to verify the printed order between esp_read_mac and the MAC address on the network of the Zigbee end device? |
The MAC address (as reported by Home Assistant) is wrong on the network. It is reversed compared to all the other devices and the OUI is at the end when it should be at the start. I'm not sure what more you need here. |
Understood. The IEEE address presented in the example console appears to be reversed compared to the actual address. Thanks. |
Setting the MAC address results in the right order but I can't get the device to finish joining the network like that. I just keep getting I've tried different channel masks but nothing works:
|
If the address hasn't been set using the
|
Hello,
Could you tell me how to get the reversed |
The co-ordinator shows the IEEE address of all the devices. For ESP32-C6 end devices it is reversed. If I use an ESP32-C6 as a co-ordinator, its default Extended PAN ID (based on the IEEE address) is also reversed. |
Yes, it does, it's inverse. I has fixed it and will update to github in this week.
The aforementioned issue is merely related to incorrect printing. However, why does it lead to the unexpected behavior? Could you provide a comprehensive description of the application scenario where using the correct order of IEEE addresses results in a failure to join the network? Let's work together to address and resolve this matter. |
This is now fixed.
I've created #82 for this. |
The MAC addresses reported for my ESP32-C6 device are:
The MAC address on the network of the Zigbee end device is
d0:0b:43:fe:ff:ca:4c:40
which has been reversed.All of the other devices on my network have MAC addresses with the OUI at the start, and some of them are using
*:ff:fe:*
addresses which is reversed as*:fe:ff:*
on the ESP32, so it looks like the wrong byte order is being used when configuring the IEEE 802.15.4 peripheral.The text was updated successfully, but these errors were encountered: