Hi all.
I'm trying to find a way to replace a microchip zigbee module on a clients old design. I've used a packet sniffer and looked at the code to try see what they are doing with the old device. It seems that although it is a zigbee capable device, they are just using it to broadcast out information without using much of the networking (if any) features.
This is what one of the commands look like to control another device with the same PAN ID. The commands seem to be the bytes in the MAC payload.
How would I go about getting the ESP32-C6 to send this command with the Arduino framework?
How do I send zigbee frames on ESP32-C6?
-
lbernstone
- Posts: 1132
- Joined: Mon Jul 22, 2019 3:20 pm
Re: How do I send zigbee frames on ESP32-C6?
That sort of low-level management is outside of the scope of Arduino (and my knowledge), but the arduino-esp32 framework does include the espressif zigbee libraries, and so if you can figure out what it is you need to broadcast, you should be able to use the core functions in zigbee to send your broadcast. The ping function may give you a template for how to construct the frame.
Re: How do I send zigbee frames on ESP32-C6?
Thank you.
I've looked around some more, and it seems what I have to do is use the low-level functions as you said. There is the esp_ieee802154_transmit() function that allows custom packets to be sent.
I need to get ESP-IDF installed and figure out all of that to do it though. I was hoping to be able to get it going with some basic Arduino code to save time.
I've looked around some more, and it seems what I have to do is use the low-level functions as you said. There is the esp_ieee802154_transmit() function that allows custom packets to be sent.
I need to get ESP-IDF installed and figure out all of that to do it though. I was hoping to be able to get it going with some basic Arduino code to save time.
Who is online
Users browsing this forum: Google [Bot] and 3 guests