mirror of
https://github.com/eclipse/paho.mqtt-sn.embedded-c.git
synced 2025-12-13 15:36:51 +01:00
BugFix of #126
and the content of the conf file matched with the sample program Signed-off-by: tomoaki <tomoaki@tomy-tech.com>
This commit is contained in:
@@ -52,10 +52,10 @@ extern LScreen* theScreen;
|
||||
* UDP Configuration (theNetcon)
|
||||
*------------------------------------------------------*/
|
||||
UDPCONF = {
|
||||
"GatewayTestPubClient", // ClientId
|
||||
"ClientPUB", // ClientId
|
||||
{225,1,1,1}, // Multicast group IP
|
||||
1883, // Multicast group Port
|
||||
20001, // Local PortNo
|
||||
20010, // Local PortNo
|
||||
};
|
||||
|
||||
/*------------------------------------------------------
|
||||
@@ -159,7 +159,7 @@ TASK_LIST = {// e.g. TASK( task, executing duration in second),
|
||||
*------------------------------------------------------*/
|
||||
void setup(void)
|
||||
{
|
||||
|
||||
SetForwarderMode(false);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -52,7 +52,7 @@ extern LScreen* theScreen;
|
||||
* UDP Configuration (theNetcon)
|
||||
*------------------------------------------------------*/
|
||||
UDPCONF = {
|
||||
"GatewayTestPubClient", // ClientId
|
||||
"QoS-1_Client01", // ClientId
|
||||
{225,1,1,1}, // Multicast group IP
|
||||
1883, // Multicast group Port
|
||||
20001, // Local PortNo
|
||||
|
||||
@@ -52,10 +52,10 @@ extern LScreen* theScreen;
|
||||
* UDP Configuration (theNetcon)
|
||||
*------------------------------------------------------*/
|
||||
UDPCONF = {
|
||||
"ty4twGatewaySubClient", // ClientId
|
||||
"ClientSUB", // ClientId
|
||||
{225,1,1,1}, // Multicast group IP
|
||||
1883, // Multicast group Port
|
||||
20002, // Local PortNo
|
||||
20011, // Local PortNo
|
||||
};
|
||||
|
||||
/*------------------------------------------------------
|
||||
@@ -199,7 +199,7 @@ TASK_LIST = {// e.g. TASK( task, executing duration in second),
|
||||
*------------------------------------------------------*/
|
||||
void setup(void)
|
||||
{
|
||||
|
||||
SetForwarderMode(false);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -55,7 +55,7 @@ UDPCONF = {
|
||||
"GatewayTestClient", // ClientId
|
||||
{225,1,1,1}, // Multicast group IP
|
||||
1883, // Multicast group Port
|
||||
20001, // Local PortNo
|
||||
20020, // Local PortNo
|
||||
};
|
||||
|
||||
/*------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user