question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Segmentation feedback of acknowledged msg is mostly failing when sent to non-proxy device

See original GitHub issue

Describe the bug As title states, when sending segmented acknowledged messages to non-proxy devices, it is too often failing to construct back the Status.

To Reproduce Steps to reproduce the behavior:

  1. Provision at least 2 nodes
  2. Connect to proxy
  3. Send either CompositionDataGet, ConfigModelPublicationSet, or any msg that would result in segmented answer to the device that is not the proxy
  4. Witness the library failing to construct the Status msg – it can totally fail or will pass it once a retransmission from the device is done

Expected behavior The library is able to construct the Status as soon as all feedback segments has been received (eg. SEG 0 == SEG N), and the non-proxy device should not have to retransmit at this point (?).

Platform details:

  • Device: any
  • OS: Android 9 and above
  • Library Version: 3.1.5
  • Mesh SDK: 4.0
  • Chipset: nrf52840 xxAA
  • MTU size: 66

Logs / Screenshots I spent some time to build enough material for you. I hope it will be enough to spot any bug, or give us hint on why this behavior.

log files suffixed with OK --> expected behavior log files suffixed with KO --> unexpected behavior: all segments received from device but no Status is being constructed. But we have it once the device is retransmitting some segments log files suffixed with full_KO --> unexpected behavior: all segments received from device but no Status is being constructed. The device seems to have received every acknowledgements as it is not retransmitting

Unfortunately, this behavior is even more problematic in our commercial application as we have implemented a FIFO for such msg with auto-retry mechanism. Meaning this kind of msg is in a FIFO, when sending a cmd, we wait for feedback and retry every 2.5 sec (retried 2 times). The success rate is below 15% because of this problem and it makes the app unusable for a lot of our features. If we increase the retry timer to 5-6sec, the success rate raises to ~60%, but it is still not enough, and is not acceptable for our customers. We may force proxy connection to raise success rate to 95%, but it is not acceptable for most features that need these segmented feedbacks, and moreover it’s blocking the power of mesh n/w.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:1
  • Comments:38 (17 by maintainers)

github_iconTop GitHub Comments

1reaction
R0m4in-doozcommented, Dec 9, 2021

sent 👍

1reaction
roshanrajaratnamcommented, Dec 9, 2021

Hi, it was labelled awaiting user input long time ago before we got a response from you. I have been busy with some other projects. I will look in to yours 😉

Read more comments on GitHub >

github_iconTop Results From Across the Web

2019 NSDUH Field Interviewer Manual - SAMHSA
Integrity We perform with the highest ethical standards of individual and group honesty. We communicate openly and realistically with each other and our ......
Read more >
draft-ietf-core-coap-17
Acknowledgement Message An Acknowledgement message acknowledges that a ... be used to inform the application of a failure in sending. 4.3.
Read more >
PeopleTools 8.52: PeopleSoft Integration Broker Administration
Using Listening Connectors and Target Connectors. This chapter discusses how to: Work with the PeopleSoft connectors. Work with the HTTP connectors.
Read more >
RFC 4861: Neighbor Discovery for IP version 6 (IPv6)
Network Working Group T. Narten Request for Comments: 4861 IBM Obsoletes: 2461 ... sent to a neighbor are reaching the IP layer on...
Read more >
Dashboard Last Updated August 17, 2022 - TechDocs
It shows an appliance diagram, segment status, ... The number highlight turns from red to gray after you have acknowledged the messages.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found