1.1.18.8.4 WDRV_WINC_MQTTClientCfgSet
C
WDRV_WINC_STATUS WDRV_WINC_MQTTClientCfgSet
(
DRV_HANDLE handle,
const char *pClientId,
const char *pUsername,
const char *pPassword
)Description
Configures the client ID, username and password.
Precondition
WDRV_WINC_Initialize must have been called.
WDRV_WINC_Open must have been called to obtain a valid handle.
Parameters
| Parameters | Description |
|---|---|
| handle | Client handle obtained by a call to WDRV_WINC_Open. |
| pClientId | Pointer to client ID. |
| pUsername | Pointer to username. |
| pPassword | Pointer to password. |
Returns
WDRV_WINC_STATUS_OK - A client configure was sent.
WDRV_WINC_STATUS_NOT_OPEN - The driver instance is not open.
WDRV_WINC_STATUS_REQUEST_ERROR - The request to the WINC was rejected.
WDRV_WINC_STATUS_INVALID_ARG - The parameters were incorrect.
Remarks
None.
