Socket configuration#
Functions#
Update TCP window size from host. This is a blocking API.
Load SSL/EAP certificate in the module. This is a blocking API.
Function Documentation#
rsi_tcp_window_update#
int32_t rsi_tcp_window_update (uint32_t sockID, uint32_t new_size_bytes)
Update TCP window size from host. This is a blocking API.
[in] | sockID | - Socket descriptor ID |
[in] | new_size_bytes | - Window size to update in bytes |
Returns
Positive Value - Window size updated Negative Value - Failure
Note
Precondition - rsi_connect() API needs to be called before this API.
2546
of file network/socket/rsi_socket.c
rsi_wlan_set_certificate#
int32_t rsi_wlan_set_certificate (uint8_t certificate_type, uint8_t * buffer, uint32_t certificate_length)
Load SSL/EAP certificate in the module. This is a blocking API.
[in] | certificate_type | - Type of certificate These are the certificate types:
| ||||||||||||||||
[in] | buffer | - Pointer to a buffer which contains the certificate | ||||||||||||||||
[in] | certificate_length | - Certificate length |
Returns
0 - Success
Non-Zero Value - Failure (Possible Error Codes - 0xfffffffe,0xfffffffd,0xfffffffa,0x0015,0x0021,0x0025,0x0026,0x002C)
Note
Precondition - rsi_wireless_init() API must be called before this API.
Refer to Error Codes for the description of above error codes.
3492
of file wlan/rsi_wlan_apis.c