bus v0.1.3 Bus.Message.Publish
Struct for bus Publish
Fields
packet_id
: An integer of value upto 65536 (2 bytes) representing packet identifiertopic
: A string(binary) representing the topic.message
: A string(binary) representing the message.dup
: An integer of value either 0,1 representing the dup bit.qos
: An integer of value either 0,1,2 representing the qos bit.retain
: An integer of value either 0,1 representing the retain bit.