1.1.18.5.6 WDRV_WINC_MQTTPubPropMessageExpirySet

C

WDRV_WINC_STATUS WDRV_WINC_MQTTPubPropMessageExpirySet
(
    WDRV_WINC_MQTT_PUB_PROP *pPubProp,
    uint32_t expiryTime
)

Description

Sets the message expiry property in the publish property structure.

Precondition

WDRV_WINC_MQTTPubPropDefaultSet must have been called.

Parameters

ParametersDescription
pPubPropPointer to publish properties structure.
expiryTimeMessage expiry time.

Returns

  • WDRV_WINC_STATUS_OK - Request was accepted.

  • WDRV_WINC_STATUS_INVALID_ARG - The parameters were incorrect.

Remarks

None.