3

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?

James
  • 24,676
  • 13
  • 84
  • 130

1 Answers1

1

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.

Ivaylo Petrov
  • 1,162
  • 9
  • 18