ltm rule command MQTT packet id
iRule(1) BIG-IP TMSH Manual iRule(1)
MQTT::packet_id
Get or set packet-id of MQTT message
SYNOPSIS
MQTT::packet_id (PACKETID)?
DESCRIPTION
This command can be used to get or set packet-id field of MQTT message.
This command is valid only for following MQTT message types:
PUBLISH (if QoS > 0)
PUBACK
PUBREC
PUBREL
PUBCOMP
SUBSCRIBE
SUBACK
UNSUBSCRIBE
UNSUBACK
PINGREQ
PINGRESP
DISCONNECT
Syntax
MQTT::packet_id []
MQTT::packet_id
* Returns the packet-id of the MQTT message.
MQTT::packet_id
* Replaces the packet-id of the MQTT message with
. The value supplied must be less than 65536.
RETURN VALUE
When called without an argument, this command returns the packet-id of
MQTT message
VALID DURING
MQTT_CLIENT_INGRESS MQTT_SERVER_INGRESS MQTT_CLIENT_DATA
MQTT_SERVER_DATA
EXAMPLES
HINTS
SEE ALSO
CHANGE LOG
@BIGIP-13.0.0 --First introduced the command.
BIG-IP 2017-01-31 iRule(1)