Browse Source

Update README.md

Paolo Patierno 8 years ago
parent
commit
b901b391a0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -100,7 +100,7 @@ client.Connect(clientId);
 string strValue = Convert.ToString(value); 
  
 // publish a message on "/home/temperature" topic with QoS 2 
-client.Publish("/home/temperature", Encoding.UTF8.GetBytes(strValue), MqttMsgBase.QOS_LEVEL_EXACTLY_ONCE); 
+client.Publish("/home/temperature", Encoding.UTF8.GetBytes(strValue), MqttMsgBase.QOS_LEVEL_EXACTLY_ONCE, false); 
  
 ...
 ```