Socket configuration#

Functions#

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.

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.

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.

Parameters
[in]sockID

- Socket descriptor ID

[in]new_size_bytes

- Window size to update in bytes

Returns

  • Positive Value - Window size updated Negative Value - Failure


Definition at line 2262 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.

Parameters
[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

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.


Definition at line 3150 of file wlan/rsi_wlan_apis.c