From 655097a1264b2d8732bd634d76e5b7e2d9b31856 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 10 Mar 2020 13:00:35 +0100 Subject: [PATCH] MQTTTranslate README ReconnectingMqttClient minimum version update --- src/strategies/MQTTTranslate/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/strategies/MQTTTranslate/README.md b/src/strategies/MQTTTranslate/README.md index 80acc69dbf..e8c754c499 100644 --- a/src/strategies/MQTTTranslate/README.md +++ b/src/strategies/MQTTTranslate/README.md @@ -2,7 +2,7 @@ **Medium:** MQTT protocol -MQTTTranslate uses the [ReconnectingMqttClient](https://github.com/fredilarsen/ReconnectingMqttClient) library (minimum version required v1.1) to deliver PJON packets over TCP on local network (LAN) as a MQTT protocol client. It may be useful to connect PJON networks and more standard applications to each other using the MQTT protocol. This strategy works in one of four modes. The first two modes enable to implement a PJON bus via MQTT, the first mode is "closed" and the second is "open" to use by non-PJON programs. The last two modes are for behaving like MQTT devices normally do. +MQTTTranslate uses the [ReconnectingMqttClient](https://github.com/fredilarsen/ReconnectingMqttClient) library (minimum version required v1.1.1) to deliver PJON packets over TCP on local network (LAN) as a MQTT protocol client. It may be useful to connect PJON networks and more standard applications to each other using the MQTT protocol. This strategy works in one of four modes. The first two modes enable to implement a PJON bus via MQTT, the first mode is "closed" and the second is "open" to use by non-PJON programs. The last two modes are for behaving like MQTT devices normally do. 1. `MQTTT_MODE_BUS_RAW` mode sends binary JSON packets delivered to a topic like `pjon/device45` (where `45` is a receiver device id). Each device subscribes to a topic with its own name and receives packets like any other PJON strategy. This mode requires that all senders and receivers are linked with PJON for encoding/decoding, so other systems are not easily connected. The directory [examples/WINX86/Local/MQTTTranslate/PingPong](../../../examples/WINX86/Local/MQTTTranslate/PingPong) contains examples for windows, to build it, open the solution file in Visual Studio 2017. The directory [examples/ARDUINO/Local/MQTTTranslate/PingPong](../../../examples/ARDUINO/Local/MQTTTranslate/PingPong) contains the Arduino examples, to build them, just use the Arduino IDE.