ONLINE HELP WINDEV, WEBDEV AND WINDEV MOBILE
True if the subscription is implemented,False otherwise.
Name of mqttSession variable corresponding to the MQTT session to use.
Topic for which the subscription is requested.
Requested quality:mqttQualityAtMostOnceThe message will be delivered once at most. The message is not stored. It is sent without guarantee of receipt. The MQTT (broker) does not inform the sender that the message was received. The message can be lost if the client is disconnected or if the server is stopped. mqttQualityExactlyOnceThe message will be necessarily saved by the issuer. It will be transmitted as long as the receiver does not confirm its sending on the network. The issuer is using a sophisticated recognition with the server (broker) to avoid duplicating messages. This mode is slower but it is more secure.mqttQualityAtLeastOnceThe message will be delivered at least once. The client will transmit the message several times if necessary until the server (broker) confirms that the message was transmitted on the network.
Name of the WLanguage procedure (also called "callback") executed at each new Notification. It must be a global procedure of the project: using an internal procedure is not allowed. This procedure has the following format:
PROCEDURE <Procedure name>(<Connection> is mqttSession, <Sujet> is a string, <Message> is a Buffer)
where: <Connection> corresponds to a mqttSession variable containing the characteristics of MQTT session. <Topic> corresponds to the message topic. <Message> corresponds to the message content.
Last update: 04/16/2021
Send a report | Local help
I accept the terms of the license agreement
All you have to do is configure your product as follows: