From 731a39255932c4e149ff702a5cb6e4c82c590861 Mon Sep 17 00:00:00 2001 From: tomoaki Date: Tue, 11 Feb 2020 20:19:49 +0900 Subject: [PATCH] Add info to README #179 Signed-off-by: tomoaki --- MQTTSNGateway/README.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/MQTTSNGateway/README.md b/MQTTSNGateway/README.md index 819ed0b..59be27d 100644 --- a/MQTTSNGateway/README.md +++ b/MQTTSNGateway/README.md @@ -6,7 +6,7 @@ The Transparent Gateway can not receive PUBLISH message from the broker at this ### **step1. Build the gateway** ```` -$ git clone -b experiment https://github.com/eclipse/paho.mqtt-sn.embedded-c +$ git clone -b develop https://github.com/eclipse/paho.mqtt-sn.embedded-c $ cd paho.mqtt-sn.embedded-c/MQTTSNGateway $ make [SENSORNET={udp6|xbee}] $ make install @@ -28,7 +28,15 @@ $ make install INSTALL_DIR=/path/to/your_directory CONFIG_DIR=/path/to/your_dire $ cd ../ $ ./MQTT-SNGateway [-f Config file name] ```` - +If you get the error message as follows: +```` +what(): RingBuffer can't create a shared memory. +Aborted (core dumped) +```` +You have to start using sudo command only once for the first time. +```` +$ sudo ./MQTT-SNGateway [-f Config file name] +```` ### **How to Change the configuration of the gateway** **../gateway.conf** Contents are follows: