1.1.18.4.3 WDRV_WINC_MQTTMsgInfoPubPropSet
C
WDRV_WINC_STATUS WDRV_WINC_MQTTMsgInfoPubPropSet
(
WDRV_WINC_MQTT_MSG_INFO *pMsgInfo,
WDRV_WINC_MQTT_PUB_PROP *pPubProp
)Description
Sets the publish properties associated with a message info structure.
Precondition
WDRV_WINC_MQTTMsgInfoDefaultSet must have been called.
WDRV_WINC_MQTTPubPropDefaultSet must have been called.
Parameters
| Parameters | Description |
|---|---|
| pMsgInfo | Pointer to message info structure. |
| pPubProp | Pointer to publish properties to assign. |
Returns
WDRV_WINC_STATUS_OK - Request was accepted.
WDRV_WINC_STATUS_INVALID_ARG - The parameters were incorrect.
Remarks
The publish property structure is not copied into the message info structure, therefore the storage for pPubProp must exist while pMsgInfo is in use.
