mirror of
https://github.com/eclipse/paho.mqtt-sn.embedded-c.git
synced 2025-12-13 15:36:51 +01:00
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user