int32_t rsi_accept( int32_t sockID, struct rsi_sockaddr *ClientAddress, int32_t *addressLength )
| accept() | BSD-standard API. |
int32_t rsi_bind( int32_t sockID, struct rsi_sockaddr *localAddress, int32_t addressLength )
| bind() | BSD-standard API. |
void rsi_clear_sockets( int32_t sockID )
| sl_status_t sl_si91x_socket_deinit( void )
| |
int32_t rsi_connect( int32_t sockID, struct rsi_sockaddr *remoteAddress, int32_t addressLength )
| connect() | BSD-standard API. |
int32_t rsi_dns_req( uint8_t ip_version, uint8_t *url_name, uint8_t *primary_server_address, uint8_t *secondary_server_address, rsi_rsp_dns_query_t *dns_query_resp, uint16_t length )
| sl_status_t sl_dns_host_get_by_name( const char *host_name, const uint32_t timeout, const sl_net_dns_resolution_ip_type_t dns_resolution_ip, sl_ip_address_t *ip_address )
| Also see the next row. |
Same as above. | struct hostent gethostbyname( const char *name )
| |
int32_t rsi_emb_mqtt_client_init( int8_t *server_ip, uint32_t server_port, uint32_t client_port, uint16_t flags, uint16_t keep_alive_interval, int8_t *clientid, int8_t *username, int8_t *password )
| sl_status_t sl_mqtt_client_init( sl_mqtt_client_t *client, sl_mqtt_client_event_handler event_handler )
| |
int32_t rsi_emb_mqtt_connect( uint8_t mqtt_flags, int8_t *will_topic, uint16_t will_message_len, int8_t *will_message )
| sl_status_t sl_mqtt_client_connect( sl_mqtt_client_t *client, const sl_mqtt_broker_t *broker, const sl_mqtt_client_last_will_message_t *last_will_message, const sl_mqtt_client_configuration_t *configuration, uint32_t timeout )
| |
int32_t rsi_emb_mqtt_destroy( void )
| sl_status_t sl_mqtt_client_deinit( sl_mqtt_client_t *client )
| |
int32_t rsi_emb_mqtt_disconnect( void )
| sl_status_t sl_mqtt_client_disconnect( sl_mqtt_client_t *client, uint32_t timeout )
| |
int32_t rsi_emb_mqtt_publish( int8_t *topic, rsi_mqtt_pubmsg_t *publish_msg )
| sl_status_t sl_mqtt_client_publish( sl_mqtt_client_t *client, const sl_mqtt_client_message_t *message, uint32_t timeout, void *context)
| |
int32_t rsi_emb_mqtt_subscribe( uint8_t qos, int8_t *topic )
| sl_status_t sl_mqtt_client_subscribe( sl_mqtt_client_t *client, const uint8_t *topic, uint16_t topic_length, sl_mqtt_qos_t qos_level, uint32_t timeout, sl_mqtt_client_message_received message_handler, void *context )
| |
int32_t rsi_emb_mqtt_unsubscribe( int8_t *topic )
| sl_status_t sl_mqtt_client_unsubscribe( sl_mqtt_client_t *client, const uint8_t *topic, uint16_t length, uint32_t timeout, void *context )
| |
int32_t rsi_get_socket_descriptor( uint8_t *src_port, uint8_t *dst_port, uint8_t *ip_addr, uint16_t ip_version, uint16_t sockid )
| getsockname() | BSD-standard API. |
int32_t rsi_get_socket_id( uint32_t src_port, uint32_t dst_port )
| int get_socket( int socket_id )
| |
int rsi_getsockopt( int32_t sockID, int level, int option_name, const void *option_value, rsi_socklen_t option_len )
| getsockopt() | BSD-standard API. |
int32_t rsi_http_client_abort( void )
| sl_status_t sl_http_client_deinit( sl_http_client_t *client )
| |
int32_t rsi_http_client_async( uint8_t type, uint8_t flags, uint8_t *ip_address, uint16_t port, uint8_t *resource, uint8_t *host_name, uint8_t *extended_header, uint8_t *user_name, uint8_t *password, uint8_t *post_data, uint32_t post_data_length, #if RSI_HTTP_STATUS_INDICATION_EN void (*callback)(uint16_t status, const uint8_t *buffer, const uint16_t length, const uint32_t moredata, uint16_t status_code) #else void (*callback)(uint16_t status, const uint8_t *buffer, const uint16_t length, const uint32_t moredata) #endif )
| sl_status_t sl_http_client_send_request( const sl_http_client_t *client, const sl_http_client_request_t *request )
| |
int32_t rsi_http_client_get_async( uint8_t flags, uint8_t *ip_address, uint16_t port, uint8_t *resource, uint8_t *host_name, uint8_t *extended_header, uint8_t *user_name, uint8_t *password, #if RSI_HTTP_STATUS_INDICATION_EN void (*http_client_response_handler)(uint16_t status, const uint8_t *buffer, const uint16_t length, const uint32_t moredata, uint16_t status_code) #else void (*http_client_response_handler)(uint16_t status, const uint8_t *buffer, const uint16_t length, const uint32_t moredata) #endif )
| sl_http_client_send_request() | See signature above. |
int32_t rsi_http_client_post_async( uint8_t flags, uint8_t *ip_address, uint16_t port, uint8_t *resource, uint8_t *host_name, uint8_t *extended_header, uint8_t *user_name, uint8_t *password, uint8_t *post_data, uint32_t post_data_length, #if RSI_HTTP_STATUS_INDICATION_EN void (*http_client_response_handler)(uint16_t status, const uint8_t *buffer, const uint16_t length, const uint32_t moredata, uint16_t status_code) #else void (*http_client_response_handler)(uint16_t status, const uint8_t *buffer, const uint16_t length, const uint32_t moredata) #endif )
| sl_http_client_send_request() | See signature above. |
int32_t rsi_http_client_post_data( uint8_t *file_content, uint16_t current_chunk_length, #if RSI_HTTP_STATUS_INDICATION_EN void (*rsi_http_post_data_response_handler)(uint16_t status, const uint8_t *buffer, const uint16_t length, const uint32_t moredata, uint16_t status_code) #else void (*rsi_http_post_data_response_handler)(uint16_t status, const uint8_t *buffer, const uint16_t length, const uint32_t moredata) #endif )
| sl_http_client_send_request() | See signature above. |
int32_t rsi_http_client_put_create( void )
| sl_http_client_send_request() | See signature above. |
int32_t rsi_http_client_put_delete( void )
| sl_http_client_send_request() | See signature above. |
int32_t rsi_http_client_put_pkt( uint8_t *file_content, uint16_t current_chunk_length )
| sl_http_client_send_request() | See signature above. |
int32_t rsi_http_client_put_start( uint8_t flags, uint8_t *ip_address, uint32_t port_number, uint8_t *resource, uint8_t *host_name, uint8_t *extended_header, uint8_t *user_name, uint8_t *password, uint32_t content_length, void (*callback)(uint16_t status, uint8_t type, const uint8_t *buffer, uint16_t length, const uint8_t end_of_put_pkt) )
| sl_http_client_send_request() | See signature above. |
int32_t rsi_listen( int32_t sockID, int32_t backlog )
| listen() | BSD-standard API. |
int32_t rsi_ota_firmware_upgradation( uint8_t flags, uint8_t *server_ip, uint32_t server_port, uint16_t chunk_number, uint16_t timeout, uint16_t tcp_retry_count, void (*ota_fw_up_response_handler)(uint16_t status, uint16_t chunk_number) )
| sl_status_t sl_si91x_ota_firmware_upgradation( sl_ip_address_t server_ip, uint16_t server_port, uint16_t chunk_number, uint16_t timeout, uint16_t tcp_retry_count, bool asynchronous )
| |
int32_t rsi_socket( int32_t protocolFamily, int32_t type, int32_t protocol )
| socket() | BSD-standard API. |
int32_t rsi_recv( int32_t sockID, void *rcvBuffer, int32_t bufferLength, int32_t flags )
| recv() | BSD-standard API. |
int32_t rsi_recvfrom( int32_t sockID, int8_t *buffer, int32_t buffersize, int32_t flags, struct rsi_sockaddr *fromAddr, int32_t *fromAddrLen )
| recvfrom() | BSD-standard API. |
int32_t rsi_select( int32_t nfds, rsi_fd_set *readfds, rsi_fd_set *writefds, rsi_fd_set *exceptfds, struct rsi_timeval *timeout, void (*callback)(rsi_fd_set *fd_read, rsi_fd_set *fd_write, rsi_fd_set *fd_except, int32_t status) )
| select() | BSD-standard API. |
int rsi_setsockopt( int32_t sockID, int level, int option_name, const void *option_value, rsi_socklen_t option_len )
| setsockopt() | BSD-standard API. tcp_max_retry, sni, retry_transmit, vap_id, ssl versions are not supported. |
int32_t rsi_send( int32_t sockID, const int8_t *msg, int32_t msgLength, int32_t flags )
| send() | BSD-standard API. |
int32_t rsi_sendto( int32_t sockID, int8_t *msg, int32_t msgLength, int32_t flags, struct rsi_sockaddr *destAddr, int32_t destAddrLen )
| sendto() | BSD-standard API. |
int32_t rsi_shutdown( int32_t sockID, int32_t how )
| close() | BSD-standard API. Port-based close functionality is not supported. |
int32_t rsi_socket_bind( int32_t sockID, struct rsi_sockaddr *localAddress, int32_t addressLength )
| bind() | BSD-standard API. |
int32_t rsi_socket_create_async( int32_t sockID, int32_t type, int32_t backlog )
| socket() | BSD-standard API. |
int32_t rsi_socket_connect( int32_t sockID, struct rsi_sockaddr *remoteAddress, int32_t addressLength )
| connect() | BSD-standard API. |
int32_t rsi_socket_listen( int32_t sockID, int32_t backlog )
| listen() | BSD-standard API. |
int32_t rsi_socket_recvfrom( int32_t sockID, int8_t *buffer, int32_t buffersize, int32_t flags, struct rsi_sockaddr *fromAddr, int32_t *fromAddrLen )
| recvfrom() | BSD-standard API. Large lengths are not supported. |
int32_t rsi_socket_shutdown( int32_t sockID, int32_t how )
| close() | BSD-standard API. Port-based close functionality is not supported. |
int32_t rsi_wlan_set_certificate( uint8_t certificate_type, uint8_t *buffer, uint32_t certificate_length )
| sl_status_t sl_wifi_set_certificate( uint8_t certificate_type, const uint8_t *buffer, uint32_t certificate_length )
| |