Change README.md form nicely.

Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
This commit is contained in:
tomoaki
2017-05-14 09:56:17 +09:00
parent e341d1a326
commit b3a59d3b48

View File

@@ -7,7 +7,7 @@ $ cd paho.mqtt-sn.embedded-c/MQTTSNGateway
$ make
$ make install
$ make clean
```
````
MQTT-SNGateway, MQTT-SNLogmonitor and param.conf are copied into ../ directory.
@@ -53,7 +53,7 @@ MulticastPortNo=1883
Baudrate=38400
SerialDevice=/dev/ttyUSB0
ApiMode=2
```
````
**BrokerName** to specify a domain name of the Broker, and **BrokerPortNo** is a port No of the Broker. **BrokerSecurePortNo** is for TLS connection.
**MulticastIP** and **MulticastPortNo** is a multicast address for ADVERTISE, GWSEARCH and GWINFO messages. Gateway is waiting GWSEARCH multicast message and when receiving it send GWINFO message via Broadcast address. Clients can get the gateway address (Gateway IP address and **GatewayPortNo**) from GWINFO message by means of std::recvfrom(),