1.2.12.6 WDRV_WINC_CustIEStoreCtxAddIE Function
C
WDRV_WINC_STATUS WDRV_WINC_CustIEStoreCtxAddIE ( WDRV_WINC_CUST_IE_STORE_CONTEXT *const pCustIECtx, uint8_t id, const uint8_t *const pData, uint8_t dataLength )
Summary
Add data to the custom IE store.
Description
The data and ID provided are copied into the custom IE store.
Precondition
WDRV_WINC_CustIEStoreCtxSetStorage must have been called.
Parameters
Param | Description |
---|---|
pCustIECtx | Pointer to custom IE store. |
id | ID of custom IE. |
pData | Pointer to data to be stored in the custom IE. |
dataLength | Length of data pointed to by pData. |
Returns
WDRV_WINC_STATUS_OK - The data was added successfully.
WDRV_WINC_STATUS_INVALID_ARG - The parameters were incorrect.
WDRV_WINC_STATUS_NO_SPACE - The data will not fit into the custom IE store.
Remarks
None.