mirror of
https://github.com/eclipse/paho.mqtt-sn.embedded-c.git
synced 2025-12-15 08:26:51 +01:00
@@ -17,8 +17,8 @@ MQTT-SNGateway and MQTT-SNLogmonitor (executable programs) are built in the Buil
|
|||||||
### **step2. Execute the Gateway.**
|
### **step2. Execute the Gateway.**
|
||||||
|
|
||||||
````
|
````
|
||||||
|
$ cd bin
|
||||||
$ ./bin/MQTT-SNGateway
|
$ ./MQTT-SNGateway
|
||||||
````
|
````
|
||||||
If you get the error message as follows:
|
If you get the error message as follows:
|
||||||
````
|
````
|
||||||
@@ -27,7 +27,7 @@ ABORT Gateway!!!
|
|||||||
````
|
````
|
||||||
You have to start using sudo command only once for the first time.
|
You have to start using sudo command only once for the first time.
|
||||||
````
|
````
|
||||||
$ sudo ./bin/MQTT-SNGateway
|
$ sudo ./MQTT-SNGateway
|
||||||
````
|
````
|
||||||
|
|
||||||
### **How to Change the configuration of the gateway**
|
### **How to Change the configuration of the gateway**
|
||||||
@@ -117,8 +117,11 @@ ShearedMemory=YES;
|
|||||||
Restart the gateway with sudo only once to create shared memories.
|
Restart the gateway with sudo only once to create shared memories.
|
||||||
|
|
||||||
open ssh terminal and execute LogMonitor.
|
open ssh terminal and execute LogMonitor.
|
||||||
|
|
||||||
`$ ./bin/MQTT-SNLogmonitor`
|
```
|
||||||
|
$ cd bin
|
||||||
|
$ ./MQTT-SNLogmonitor
|
||||||
|
```
|
||||||
|
|
||||||
Now you can get the Log on your terminal.
|
Now you can get the Log on your terminal.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user