Change Commom ClientID of predifinedTopic.conf to '*' #132

Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
This commit is contained in:
tomoaki
2018-08-25 09:55:05 +09:00
parent 42125d173b
commit 6ef24f3bb8
2 changed files with 3 additions and 3 deletions

View File

@@ -16,13 +16,13 @@
# #
# ClientID, TopicName, TopicID # ClientID, TopicName, TopicID
# #
# Topics is common to all clients, ClientID should be COMMON. # Topics is common to all clients, ClientID should be *.
# #
# pre-defined-topics for Clients # pre-defined-topics for Clients
# #
COMMON,ty4tw/predefinedTopic1, 1 *,ty4tw/predefinedTopic1, 1
GatewayTestClient,ty4tw/predefinedTopic2, 2 GatewayTestClient,ty4tw/predefinedTopic2, 2
GatewayTestClient,ty4tw/predefinedTopic3, 3 GatewayTestClient,ty4tw/predefinedTopic3, 3

View File

@@ -24,7 +24,7 @@ extern Gateway* theGateway;
/*===================================== /*=====================================
Class ClientList Class ClientList
=====================================*/ =====================================*/
const char* common_topic = "COMMON"; const char* common_topic = "*";
ClientList::ClientList() ClientList::ClientList()
{ {