Sign inSign up

kyberpunk/paho

By kyberpunk

•Updated almost 3 years ago

Eclipse paho MQTT-SN Gateway transforms MQTT-SN packets over IPv4 UDP to standard MQTT.

Image
1

50K+

kyberpunk/paho repository overview

⁠Eclipse Paho MQTT-SN Transparent / Aggregating Gateway

This docker image contains custom build of Eclipse Paho MQTT-SN Gateway for IPv4 UDP packets. Images for ARM platforms are supported.

MQTT-SN protocol⁠ requires a MQTT-SN Gateway which acts as a protocol converter to convert MQTT-SN messages to MQTT messages. MQTT-SN client can not communicate directly with MQTT broker (TCP/IP). You can find more information on project GitHub⁠.

⁠Build image

Sources are available on GitHub⁠.

⁠Using the image

Following protocols is supported using different image tags:

  • udp (default)
  • udp6
  • dtls
  • dtls6
  • loralink
  • xbee
⁠Using default configuration

Run gateway with default configuration. By default application is listening on port 10000 and connects to broker mqtt.eclipse.org⁠.

docker run -d -p 10000:10000 -p 10000:10000/udp kyberpunk/paho
⁠Using custom MQTT broker settings

Run gateway with custom settings of MQTT broker IP address and port.

docker run -d -p 10000:10000 -p 10000:10000/udp kyberpunk/paho --broker-name $HOST --broker-port $PORT

Modify $HOST to the target MQTT broker hostname or IP address and $PORT to target broker port number.

⁠Using custom configuration

Run gateway with custom configuration on filesystem. You can adjust default configuration template from Eclipse project GitHub⁠

docker run -d -p 10000:10000 -p 10000:10000/udp -v $PWD/gateway.conf:/etc/paho/gateway.conf:ro kyberpunk/paho

Modify $PWD to the directory where you stored the configuration file.

Tag summary

Content type

Image

Digest

sha256:1699d7080…

Size

5.8 MB

Last updated

almost 3 years ago

docker pull kyberpunk/paho