1.1.18.5.7 WDRV_WINC_MQTTPubPropContentTypeSet
C
WDRV_WINC_STATUS WDRV_WINC_MQTTPubPropContentTypeSet
(
WDRV_WINC_MQTT_PUB_PROP *pPubProp,
const uint8_t *pContentType
)Description
Sets the content type property in the publish property structure.
Precondition
WDRV_WINC_MQTTPubPropDefaultSet must have been called.
Parameters
| Parameters | Description |
|---|---|
| pPubProp | Pointer to publish properties structure. |
| pContentType | Pointer to content type. |
Returns
WDRV_WINC_STATUS_OK - Request was accepted.
WDRV_WINC_STATUS_INVALID_ARG - The parameters were incorrect.
Remarks
If pContentType is NULL the content type property field of the structure is cleared.
