1.1.18.5.8 WDRV_WINC_MQTTPubPropTopicAliasSet

C

WDRV_WINC_STATUS WDRV_WINC_MQTTPubPropTopicAliasSet
(
    WDRV_WINC_MQTT_PUB_PROP *pPubProp,
    uint16_t topicAlias
)

Description

Sets the topic alias property in the publish property structure.

Precondition

WDRV_WINC_MQTTPubPropDefaultSet must have been called.

Parameters

ParametersDescription
pPubPropPointer to publish properties structure.
topicAliasTopic alias.

Returns

  • WDRV_WINC_STATUS_OK - Request was accepted.

  • WDRV_WINC_STATUS_INVALID_ARG - The parameters were incorrect.

Remarks

None.