Advertisement
Guest User

Untitled

a guest
Oct 19th, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. TYPE ST_IotMqttWill :
  2. STRUCT
  3.     sTopic : STRING(255); // topic string (UTF-8) (attend that MQTT topics are case sensitive)
  4.     pPayload : PVOID;
  5.     nPayloadSize : UDINT;
  6.     eQoS : TcIotMqttQos := TcIotMqttQos.ExactlyOnceDelivery; // quality of service between the publishing
  7. client and the broker
  8.     bRetain : BOOL; // if TRUE the broker stores the message in order to send it to new subscribers
  9. END_STRUCT
  10. END_TYPE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement