Socket configuration#
Functions#
Update TCP window size from host. This is a blocking API.
Load SSL/EAP certificate on WiSeConnect 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 |
rsi_connect() API needs to be called before this API.
Returns
Positive Value - Window size updated Negative Value - Failure
2527
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 on WiSeConnect module. This is a blocking API.
[in] | certificate_type | - Type of certificate These are the certificate types: 1: TLS client certificate 2: FAST PAC file 3: SSL Client Certificate 4: SSL Client Private Key 5: SSL CA Certificate 6: SSL Server Certificate 7: SSL Server Private Key |
[in] | buffer | - Pointer to a buffer which contains the certificate |
[in] | certificate_length | - Certificate length |
rsi_wireless_init() API must be called before this API.
Returns
0 - Success Non-Zero Value - Failure If return value is less than 0 -2 Invalid Parameters -3 Command given in wrong state -4 Buffer not available to serve the command If return value is greater than 0 0x0015,0x0021,0x0025,0x0026,0x002C
Note
Refer to Error Codes section for the description of the above error codes Error Codes.
3459
of file wlan/rsi_wlan_apis.c