IncomingMessagePayloadFormatIndicator Property
Indicates whether the payload is unspecified bytes or UTF-8 Encoded character data.
Object Oriented Interface
public function getIncomingMessagePayloadFormatIndicator($incomingmessageindex);
Procedural Interface
ipworksmq_mqtt_get($res, 17 , $incomingmessageindex);
Default Value
0
Remarks
Indicates whether the payload is unspecified bytes or UTF-8 Encoded character data. Possible values are:
Value | Description |
0 | Payload is unspecified bytes |
1 | Payload is UTF-8 Encoded Character Data |
Valid only for MQTT 5.
The $incomingmessageindex parameter specifies the index of the item in the array. The size of the array is controlled by the IncomingMessageCount property.
This property is read-only and not available at design time.
Data Type
Integer