Hello! I'm developing thread application with COAP communication. I've got problem with message queue on router. Everything works fine when operating as a child. I have cyclic interrupt for data sending. When my device is in DETACHED state, the message is enqueued. When connetcion is renewed all messages from queue are sent, one after another. Message is dequeued only when coap response handler returns no error. Queue is checked every cyclic interrupt, if there is no any message stored. When node is operating as a child, data flow is good and i can enqueue as many messages as queue size is. None of them is missing. On the other hand, when node is a router, i receive only 5 last messages. I'm monitoring queue parameters an it tells me there is a lot of space left. Despite this something happens to the rest of messages in queue. Coap acknowlegements mechanism provides that all stored messages are sent, so it looks like the problem is somwhere in queue.Does anybody know how to handle it?
Best Regards, Wojciech Rzepecki