Other Parts Discussed in Thread: WI-SUN
Tool/software:
Hi team,
I have a project running Wi-SUN with a CoAP node that receives data via UART and forwards it to border router. The data is received by UART with fallback functionality.
It seems to be working fine, but when the payload exceeds certain size, the CC seems to be falling into a for(;;) loop. More specifically, with my tests I can successfully send payloads with size of 314 bytes, but when I try sending 328 bytes it stops working.
At first I thought it could be something related to UART callback maximum buffer size, but I defined rxBuffer[1000] and I started a debug session and I could check that UART is working fine and the size of the message is not causing any problem to this peripheral. While debugging, I can see that the code successfully enters the expected case (also another reason to believe it is not a peripheral issue) and reaches the coap_service_request_send() function.
After reaching the request_send function, I did not check step by step but it ends up falling in SysCallback_defaultAbort() eternal loop:
So, is there a maximum payload that CoAP messaging supports with Wi-SUN? Even if it has a maximum size, it seems like 350 bytes is a quite low value.
How can I manage to send longer messages?
Thank you in advance,
Eduardo.