@CHIP-RTOS C Library V2.06 - TCP/IP API
IPsec_Add_Preshared_Key
This function adds a preshared key for use with the
specified remote IP during Internet Key Exchange (IKE). int IPsec_Add_Preshared_Key(
const char *remote_ip,
const char *preshared_key) ;
Parameters
remote_ip
- Zero terminated ASCII string specifying the IP address of
the remote side.
remote_ip
- Zero terminated ASCII string specifying the preshared key.
Return Value
- Error code,
zero on success
Comments
- The IP security must be
started
prior to using this API.
The IP address may be either IPv4 of IPv6. Domain names
must be
resolved
first by the caller and are not supported
by this API.
See Also
RTOS API
- This library function invokes a RTOS software interrupt.
Refer to the RTOS API function
IPSEC_VECTORS
for more details.
Related Topics
-
- PRESHARED_KEY definition
in CHIP.INI file
Supported since or modified in @CHIP-RTOS version-
SC12 | SC13 | SC11 | SC1x3 |
-
n/a | n/a | n/a | V1.07 |
Supported by @CHIP-RTOS C Library since version
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document
|