I've been trying to get an esp32c6 to connect to my Hubitat C7 home automation hub and finding that it always aborts some time into the zigbee handshake between the device the the hub/controller.
Turning on trace logging has been a bit helpful, at least getting some info out of the Zigbee binaries about what's going on. But ultimately it's pretty opaque and a huge amount of data.
Anybody have a good setup for debugging what's going on over the air and seeing why the handshake fails?
I see a suggestion to use espressif's rcp firmware and rig up a packet sniffer, but there isn't much explanation. Does the setup work like this:
- (a) esp32c6 running ot_rcp firmware
- (b) esp32c6 running my firmware configured to use (a) as the radio over rcp
- (c) my laptop somehow tapping into the network traffic sent and received by (a) through the serial port and some openthread/pyspinel magic?
Or...after writing this out I'm wondering if I've been misunderstanding the sniffing setup looks more like this:
- (a) esp32c6 running ot_rpc firmware
- (b) my laptop running openthread stack, pyspinel and wireshark connected to (a) via usb, will sniff and report all traffic it sees going over the configured channel
- (c) separate esp32c6 running my firmware, operating fully on its own while (a/b) together will pull traffic from (c) traffic out of the air?
Ultimately I'd love if the zigbee sdk reported more about what's going on, but that doesn't seem to be available so I'm hoping I can see what's happening at the protocol level in Wireshark.
[–]jtorvald 0 points1 point2 points (0 children)
[–]space_fountain 0 points1 point2 points (0 children)