![]() |
SimpleLink CC3120/CC3220 Host Driver
Version 2.0.1.15
Simplifies the implementation of Internet connectivity
|
Networking related commands and configuration. More...
Functions | |
| _i32 | sl_NetUtilSet (const _u16 Option, const _u32 ObjID, const _u8 *pValues, const _u16 ValueLen) |
| Function for setting configurations of utilities. More... | |
| _i16 | sl_NetUtilGet (const _u16 Option, const _u32 ObjID, _u8 *pValues, _u16 *pValueLen) |
| Function for getting configurations of utilities. More... | |
| _i16 | sl_NetUtilCmd (const _u16 Cmd, const _u8 *pAttrib, const _u16 AttribLen, const _u8 *pInputValues, const _u16 InputLen, _u8 *pOutputValues, _u16 *pOutputLen) |
| Function for performing utilities-related commands. More... | |
Networking related commands and configuration.
| _i16 sl_NetUtilCmd | ( | const _u16 | Cmd, |
| const _u8 * | pAttrib, | ||
| const _u16 | AttribLen, | ||
| const _u8 * | pInputValues, | ||
| const _u16 | InputLen, | ||
| _u8 * | pOutputValues, | ||
| _u16 * | pOutputLen | ||
| ) |
Function for performing utilities-related commands.
| [in] | Cmd | Identifier of the specific Command to perform
|
| [in] | pAttrib | Pointer to the buffer holding the Attribute values |
| [in] | AttribLen | Length of the Attribute-values |
| [in] | pInputValues | Pointer to the buffer holding the input-value |
| [in] | InputLen | Length of the input-value |
| [out] | pOutputValues | Pointer to the buffer that the application allocates, and will hold the received data. |
| [in,out] | pOutputLen | Length of the output-value On input - provides the length of the buffer that the application allocates, and will hold the output On output - provides the actual length of the received output-values |
- SL_NETUTIL_CRYPTO_CMD_TEMP_KEYS, (Create a temporary key ):
- SL_NETUTIL_CRYPTO_CMD_SIGN_MSG, (Sign a data buffer):
- SL_NETUTIL_CRYPTO_CMD_VERIFY_MSG, (Verify a data buffer):
Definition at line 151 of file netutil.c.
| _i16 sl_NetUtilGet | ( | const _u16 | Option, |
| const _u32 | ObjID, | ||
| _u8 * | pValues, | ||
| _u16 * | pValueLen | ||
| ) |
Function for getting configurations of utilities.
| [in] | Option | Identifier of the specific "get" operation to perform
|
| [in] | ObjID | ID of the relevant object that this set operation will be performed on |
| [in,out] | pValueLen | Pointer to the length of the value parameter On input - provides the length of the buffer that the application allocates, and will hold the output On output - provides the actual length of the received data |
| [out] | pValues | Pointer to the buffer that the application allocates, and will hold the received data. |
- SL_NETUTIL_CRYPTO_PUBLIC_KEY:
- SL_NETUTIL_TRUE_RANDOM:
Definition at line 61 of file netutil.c.
| _i32 sl_NetUtilSet | ( | const _u16 | Option, |
| const _u32 | ObjID, | ||
| const _u8 * | pValues, | ||
| const _u16 | ValueLen | ||
| ) |
Function for setting configurations of utilities.
| [in] | Option | Identifier of the specific "set" operation to perform |
| [in] | ObjID | ID of the relevant object that this set operation will be performed on |
| [in] | ValueLen | Length of the value parameter |
| [in] | pValues | Pointer to the buffer holding the configurations values |
| struct SlNetUtilCryptoEcCustomCurveParam_t |
| union SlNetUtilCryptoEcCurveParams_u |
| Data Fields | ||
|---|---|---|
| SlNetUtilCryptoEcCustomCurveParam_t | CustomCurveParams | |
| _u8 | NamedCurveParams | |
| struct SlNetUtilCryptoEcKeyParams_t |
| Data Fields | ||
|---|---|---|
| SlNetUtilCryptoEcCurveParams_u | CurveParams | |
| _u8 | CurveType | |
| union SlNetUtilCryptoPubKeyParams_u |
| Data Fields | ||
|---|---|---|
| SlNetUtilCryptoEcKeyParams_t | EcParams | |
| struct SlNetUtilCryptoPubKeyInfo_t |
| Data Fields | ||
|---|---|---|
| _u8 | CertFileNameLen | |
| _u8 | KeyAlgo | |
| _u8 | KeyFileNameLen | |
| SlNetUtilCryptoPubKeyParams_u | KeyParams | |
| struct SlNetUtilCryptoCmdSignAttrib_t |
| struct SlNetUtilCryptoCmdVerifyAttrib_t |
| struct SlNetUtilCryptoCmdCreateCertAttrib_t |