1.1.18.5.5 WDRV_WINC_MQTTPubPropPayloadFormatSet

C

WDRV_WINC_STATUS WDRV_WINC_MQTTPubPropPayloadFormatSet
(
    WDRV_WINC_MQTT_PUB_PROP *pPubProp,
    WDRV_WINC_MQTT_PROP_PAYLOAD_FORMAT_TYPE payloadFormat
)

Description

Sets the payload format property in the publish property structure.

Precondition

WDRV_WINC_MQTTPubPropDefaultSet must have been called.

Parameters

ParametersDescription
pPubPropPointer to publish properties structure.
payloadFormatPayload format.

Returns

  • WDRV_WINC_STATUS_OK - Request was accepted.

  • WDRV_WINC_STATUS_INVALID_ARG - The parameters were incorrect.

Remarks

None.