java-coap
java-coap copied to clipboard
CoAP Java library
**I don't know if this is a good idea** but I face some situation where I need to handle a coap request OR a coap (separated) response in a same...
When you receive a request you can look to TransportContext to get "identifiication" of foreign peer. But I can see nothing (let me know if I'm wrong) for ensuring identity...
Implementing coap(s)+tcp in Leshan, I faced some issues that could be solve with API additions : (I found workaround for each of them, so there is no urgency) **1. A...
I have a first working version of `coap+tcp` in **Leshan** based on **java-coap**. (https://github.com/open-coap/java-coap/issues/69#issuecomment-1781460170) This is probably not production ready, especially about how connection is managed but this is good...
Observe relation cancelling is defined at [rfc7641§3.6. Cancellation](https://www.rfc-editor.org/rfc/rfc7641#section-3.6). I will use : - **Passive Cancel** wording when a client send an RST message to a notification. - **Active Cancel** wording...
The [RFC7641 - Observing Resources in the Constrained Application Protocol (CoAP) § 3.2. Notifications](https://www.rfc-editor.org/rfc/rfc7641#section-3.2) says : > In the event that the resource changes in a way that would cause...
I begin to play with **coap-tcp** API of **java-coap**. I understand this is more or less like CoAP over UDP except I need to : - use `TcpCoapServer.builder()`, - provide...
**Summary :** [Leshan](https://github.com/eclipse/leshan) is a java implementation of LWM2M and until now it was strictly based on [californium](https://github.com/eclipse-californium/californium). Recently we did massive changes to abstract transport Layer. (See : https://github.com/eclipse/leshan/issues/1025)...
Currently this is not possible to do : ```java RouterService.RouteBuilder routerBuilder = new RouterService.RouteBuilder(); routerBuilder // .any("/", new RootResource() // .any("/myResource", new MyResource() // .any("/*", new Default()); router = routerBuilder.build();...