Closed Kris151 closed 2 weeks ago
@Kris151 ,
Could you please test again with the below configurations?
OPENTHREAD_SPINEL_RX_FRAME_BUFFER_SIZE
to 4096 for both Host and RCP on the gateway.OPENTHEAD_UART_BUFFER_SIZE
to 1024 for both Host and RCP on the gateway.esp-idf
to release/v5.1 (commit id: f12cfcb)
to fix the xRingbufferSend()
bug.@xieqinan,
We did increase the buffer, but it doesn't help a lot. However, we change rcp to another co-processor and now the gateway works fine so I am closing the issue. Thanks.
Answers checklist.
IDF version.
v5.3
esp-zigbee-lib version.
1.5.0
esp-zboss-lib version.
1.5.0
Espressif SoC revision.
rcp:c6 host:esp32
What is the expected behavior?
Works normally
What is the actual behavior?
W(81263) OPENTHREAD:[W] P-RadioSpinel-: radio tx timeout E(81263) OPENTHREAD:[C] P-RadioSpinel-: Failed to communicate with RCP - no response from RCP during initialization E(81263) OPENTHREAD:[C] P-RadioSpinel-: This is not a bug and typically due a config error (wrong URL parameters) or bad RCP image: E(81273) OPENTHREAD:[C] P-RadioSpinel-: - Make sure RCP is running the correct firmware E(81283) OPENTHREAD:[C] P-RadioSpinel-: - Double check the config parameters passed as
RadioURL
input E(81293) OPENTHREAD:[C] Platform------: HandleRcpTimeout() at radio_spinel.cpp:1899: RadioSpinelNoResponseSteps to reproduce.
1.Flash gateway host to esp32 2.Flash ot_rcp to esp32c6 3.Follow the gateway setup
More Information.
I am building a gateway, and I need to com 90 devices to 1 gateway. When I com devices at the same time, it is easy to trigger the issue and the gateway is crashed. But I can com them 1 by 1(permit join, com 1 device, end permit join). However, if I keep many devices on, and receive a lot reports, it will crashed sometimes. How can I improve the performance, it is really unstable right now.