1.1.18.2.4 WDRV_WINC_MQTTConnPropMaxPacketSet

C

WDRV_WINC_STATUS WDRV_WINC_MQTTConnPropMaxPacketSet
(
    WDRV_WINC_MQTT_CONN_PROP *pConnProp,
    uint32_t maxPacketSize
)

Description

Sets the maximum packet size property in the connection property structure.

Precondition

WDRV_WINC_MQTTConnPropDefaultSet must have been called.

Parameters

ParametersDescription
pConnPropPointer to connection properties structure.
maxPacketSizeMaximum packet size.

Returns

  • WDRV_WINC_STATUS_OK - Request was accepted.

  • WDRV_WINC_STATUS_INVALID_ARG - The parameters were incorrect.

Remarks

None.