From 98c1ebae508ef57f6dd97b45a8cc2dbe6c54c1ff Mon Sep 17 00:00:00 2001 From: tomoaki Date: Tue, 12 Sep 2017 23:22:09 +0900 Subject: [PATCH] Update Explanation of Multicast Address #83 Signed-off-by: tomoaki --- MQTTSNGateway/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/MQTTSNGateway/README.md b/MQTTSNGateway/README.md index 77067ab..122527c 100644 --- a/MQTTSNGateway/README.md +++ b/MQTTSNGateway/README.md @@ -56,9 +56,9 @@ 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(), -Client should know the BroadcastIP and PortNo to send a SEARCHGW message. -**GatewayId** is defined by GWSEARCH message. +**MulticastIP** and **MulticastPortNo** is a multicast address for GWSEARCH messages. Gateway is waiting GWSEARCH and when receiving it send GWINFO message via MulticastIP address. Clients can get the gateway address (Gateway IP address and **GatewayPortNo**) from GWINFO message by means of std::recvfrom(). +Client should know the MulticastIP and MulticastPortNo to send a SEARCHGW message. +**GatewayId** is used by GWINFO message. **KeepAlive** is a duration of ADVERTISE message in seconds. when **ClientAuthentication** is YES, see MQTTSNGWClient.cpp line53, clients file specified by ClientsList is required. This file defines connect allowed clients by ClientId and SensorNetwork Address. e.g. IP address and Port No.