Comments (9)
Hi, Can you please elaborate on your use case ? What are you trying to achieve here ? This configuration is not enabled on yotta level yet because we didn't have the use case yet so even if we provide enabling this config, we would need to test this case.
from mbed-client-c.
At the moment, it seems the stack by default is not filtering duplicate CoAP packets out. At least we've seen duplicate messages with the same ID being delivered to the application, resulting toggle actions being acted upon twice.
We assume that the stack would do the filtering when defining SN_COAP_DUPLICATION_MAX_MSGS_COUNT non zero. Would be good to be able to yotta config it, since it has an impact on RAM/ROM size, or?
from mbed-client-c.
Yes, currently there is no yotta config for this, we can add this parameter in mbed-client-c. We will update this issue when we add this feature flag .
from mbed-client-c.
ARM Internal Ref: IOTCLT-621
from mbed-client-c.
Update: this is planned for the next sprint. If everything goes well, it will be released after that.
from mbed-client-c.
When does the sprint start? How long are your sprints?
Markus
From: Marcelo Salazar [mailto:[email protected]]
Sent: Mittwoch, 23. Mรคrz 2016 10:40
To: ARMmbed/mbed-client-c [email protected]
Cc: Becker Markus [email protected]
Subject: Re: [mbed-client-c] Allow for config of SN_COAP_DUPLICATION_MAX_MSGS_COUNT using yotta config (#31)
Update: this is planned for the next sprint. If everything goes well, it will be released after that.
โ
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHubhttps://github.com//issues/31#issuecomment-200270385
________________________________________________________ The contents of this e-mail and any attachments are confidential to the intended recipient. They may not be disclosed to or used by or copied in any way by anyone other than the intended recipient. If this e-mail is received in error, please immediately notify the sender and delete the e-mail and attached documents. Please note that neither the sender nor the sender's company accept any responsibility for viruses and it is your responsibility to scan or otherwise check this e-mail and any attachments.
from mbed-client-c.
Hi,
We will start working on this next week and this shouldn't be a big task to complete. I'll update this issue once the change is published, should be ready by the end of the next week.
from mbed-client-c.
Hi Markus,
There is now version that allows to change duplication message count via yotta configuration system. It's released in mbed-client-c version 2.3.2.
To enable message duplication, you need to create a config.json file in the application level.
An example:
{
"coap_duplication_max_msgs_count": 1
}
Please, let us know if this solves your original issue.
from mbed-client-c.
Great. Thanks.
from mbed-client-c.
Related Issues (17)
- stuck in while loop HOT 5
- Link in mbed-coap.lib does not exists HOT 4
- sn_grs.c interface unused param with wrong description HOT 2
- Error in passing external memory block to application HOT 3
- obs not compatible with Leshan HOT 2
- Use updated module version definitions HOT 2
- mbed-client-c porting HOT 12
- blockwise transfer for payloads bigger than RAM size HOT 7
- mbed client blockwise do not work HOT 3
- Message ID duplication not detected HOT 14
- Feature request: Multicast message resend to improve reliability HOT 3
- CoAP block transfer invalid payload bytes HOT 8
- Random CoAP message ID HOT 12
- module not able to build with armcc 5.06 HOT 4
- Confirmable messages sending HOT 4
- Enhanced 'alloc' and 'free' function HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mbed-client-c.