Add info to README #179

Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
This commit is contained in:
tomoaki
2020-02-11 20:19:49 +09:00
parent 9d6b9d46ef
commit 731a392559

View File

@@ -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: