-
Hello, experts: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
It takes time for OpenThread to process message buffers. The IEEE 802.15.4 radio has a PHY data rate of 250 kbps. The best way is to simply allow OpenThread to process events and tasks for some time before attempting to call |
Beta Was this translation helpful? Give feedback.
-
This test is conducted under the Linux simulation without using other hardware. The phenomenon is that at first, data can be sent to another simulation instance normally using UDP, but after a period of time, otUdpNewMessage cannot apply for space and cannot be recovered. The routine references the cli_ Udp.CPP, but the interface has changed from terminal input to serial input. |
Beta Was this translation helpful? Give feedback.
It takes time for OpenThread to process message buffers. The IEEE 802.15.4 radio has a PHY data rate of 250 kbps. The best way is to simply allow OpenThread to process events and tasks for some time before attempting to call
otUdpNewMessage()
again.