Skip to content

OSGP/sng-coap-http-proxy

Repository files navigation

SNG COAP HTTP PROXY

This repository contains a CoAP-HTTP Proxy for use with the Stand-alone Notifying Gateway (SNG). The proxy forwards CoAP messages from devices to a HTTP server, and returns the HTTP server's response back to the devices.

The CoAP server side is implemented using the Eclipse Californium™ framework.

The HTTP client side is implemented using a Spring WebClient

The payload received from the devices is expected to be a JSON string in CBOR format and should contain an ID field.

The proxy performs a validation on the ID contained in the payload and the Identity used by the device when setting up a connection, before forwarding the message to the HTTP server.

The proxy supports DTLS. PSKs are retrieved from the crest device service.