This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Thread COAP parameters change

Hi! I'm developing Thread mesh using nrf52840 with COAP communication. I would like to set a longer timeout and more retransmission tries in COAP. I saw this parameters in openthread source, but after compilation of library with new parameters I have problems with compilation in project. Is there any way to change this parameters from SDK for Thread? Nodes in my mesh are waking every minute and sendig a portion of data. Sometimes they're disappearing for a while but long enough for node to use all retransmission tries. I will be very grateful for help!

Best regards, Wojciech Rzepecki

Parents
  • Hello Wojtek,

    Please give us more logs so we can help you fix the problems with compilation errors.

    Also i would advise you to rebuild OpenThread libraries using specific commit (the one used in SDK release) - 6a15261b (git checkout 6a15261b). Of course you can use the newest one, but then there is always a chance that API has been change.

    Side note: Remember that independently of what Sleepy End Device sends to its parent, if device fails three times to deliver any packet in a row (MAC retransmissions are not counted), then node will start attachment process from the beginning (trying to find a parent that is online). I don't know if this is the issue you have expirienced, but it is always a good thing to know.

Reply
  • Hello Wojtek,

    Please give us more logs so we can help you fix the problems with compilation errors.

    Also i would advise you to rebuild OpenThread libraries using specific commit (the one used in SDK release) - 6a15261b (git checkout 6a15261b). Of course you can use the newest one, but then there is always a chance that API has been change.

    Side note: Remember that independently of what Sleepy End Device sends to its parent, if device fails three times to deliver any packet in a row (MAC retransmissions are not counted), then node will start attachment process from the beginning (trying to find a parent that is online). I don't know if this is the issue you have expirienced, but it is always a good thing to know.

Children
No Data
Related