How do I send zigbee frames on ESP32-C6?

Muffins
Posts: 2
Joined: Tue Oct 07, 2025 1:01 pm

How do I send zigbee frames on ESP32-C6?

Postby Muffins » Tue Oct 07, 2025 1:10 pm

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.
Screenshot 2025-10-07 140809.png
Screenshot 2025-10-07 140809.png (20.46 KiB) Viewed 2964 times
How would I go about getting the ESP32-C6 to send this command with the Arduino framework?

lbernstone
Posts: 1132
Joined: Mon Jul 22, 2019 3:20 pm

Re: How do I send zigbee frames on ESP32-C6?

Postby lbernstone » Tue Oct 07, 2025 5:13 pm

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.

Muffins
Posts: 2
Joined: Tue Oct 07, 2025 1:01 pm

Re: How do I send zigbee frames on ESP32-C6?

Postby Muffins » Fri Oct 10, 2025 10:47 am

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.

Who is online

Users browsing this forum: Google [Bot] and 3 guests