Reputation: 31
I use the project JCoAP to do HTTP/CoAP transform. but I don't know how to use it. I have a HTTP client and a CoAP server,I need the Proxy to transform HTTP to CoAP, it's seem that "JCoAP" project have achieve it.But I have no idea the detail to use "jCoAP", Does anyone have any experience?
Upvotes: 3
Views: 873
Reputation: 1172
I accidentally came across this question searching for something similar and as it is not answered and I managed to find something like an answer, here it is:
You can use californium for this and more specifically its ProxyHttpServer
. Here is an example how to do this, but basically you need a ProxyHttpServer
, CoapServer
and ProxyHttpClientResource
and a little bit of wiring.
Upvotes: 1