Comments (3)
There is release v6.12.0 that contains implementation for this ticket, can we close it?
from java-coap.
I tested it and it works, but I have to admit that I didn't look into it enough when I ask for it at #27 (comment) :
Because, I was thinking that :
coapServerBuilder.retransmission(RetransmissionBackOff.ofExponential(Duration.ofMillis(200), 4, 1));
will send re-transmission each 200 ms (linear) but it is rather 200ms, then 400ms, then 800ms (exponential)...
So to be clearer :
- It works as it should.
- This is not exactly what I expected but the API is flexible enough and I will be able to find a way to get behavior I need.
So we can close this issue 🙂
Thx 🙏 and sorry for the confusion.
Some feedback/questions not really related to this :
- I see there is a
responseTimeout
which is a good idea, but I understand (not totally sure) that it is not optional ? - Not the first time when I update java-coap there is API break between 2 minor version, for now this is not a problem as we are in development phase, but if we release a stable version of Leshan including java-coap dependency, that could be an issue. Did you already consider to maybe move to Semantic Versioning ?
(maybe both question deserve their own issue?)
from java-coap.
- I see there is a
responseTimeout
which is a good idea, but I understand (not totally sure) that it is not optional ?
There has to be some timeout, it could be big one if needed.
- Not the first time when I update java-coap there is API break between 2 minor version, for now this is not a problem as we are in development phase, but if we release a stable version of Leshan including java-coap dependency, that could be an issue. Did you already consider to maybe move to Semantic Versioning ?
Yes, I am aware of that. When needed, we can switch to be more strict with API changes.
(maybe both question deserve their own issue?)
Yes :)
from java-coap.
Related Issues (20)
- Being able to check if a message (request/response) is a CON ? HOT 4
- Shared 'observe relation' store at CoAP client side. HOT 6
- Add support of Option without value in Uri-Query. HOT 5
- NPE in Deduplicator HOT 3
- We should be able to add `/` and `/*` to `RouterService` HOT 5
- Using Semantic Versioning to manage API changes ? HOT 1
- should `responseTimeout` be mandatory ? HOT 11
- Feedback about new API for CoAP Observe. HOT 34
- RFC9175 Request-Tag and Echo Option HOT 28
- General questions about coap+tcp usage ? HOT 7
- Copy/paste typo in `SingleConnectionSocketServerTransport` ? HOT 2
- Question about cancelling observe with `coap+tcp` ?
- New CoapRequest / CoapResponse Builder API feedback HOT 4
- Notification without observe option HOT 3
- PSK and RPK support using `coap+tcp` HOT 8
- Missing API in Transport Context HOT 1
- Introduce a CoapMessage class/interface ? HOT 4
- Missing peer identity/transport context checks ? HOT 2
- `nonPublicPartOfAPI` for `RawOption` reported by revapi HOT 1
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 java-coap.