Embedded Wireless Framework
Functions | Variables
ewf_adapter_mxchip_common_internet.c File Reference

The Embedded Wireless Framework MX-CHIP common internet(TCP+UDP) implementation. More...

#include "ewf_adapter_mxchip_common.h"
#include "ewf_platform.h"
#include "ewf_lib.h"

Functions

ewf_result ewf_adapter_mxchip_common_internet_start (ewf_adapter *adapter_ptr)
 
ewf_result ewf_adapter_mxchip_common_internet_stop (ewf_adapter *adapter_ptr)
 
ewf_result ewf_adapter_mxchip_common_internet_urc_callback (ewf_interface *interface_ptr, uint8_t *buffer_ptr, uint32_t buffer_length)
 
ewf_result _ewf_adapter_mxchip_common_internet_socket_open (ewf_adapter *adapter_ptr, ewf_adapter_mxchip_common_internet_socket *internet_socket_ptr, char const *service_type_str, char const *server_str, uint32_t remote_port, uint32_t local_port)
 
ewf_result _ewf_adapter_mxchip_common_internet_socket_close (ewf_adapter *adapter_ptr, ewf_adapter_mxchip_common_internet_socket *internet_socket_ptr)
 
ewf_result _ewf_adapter_mxchip_common_internet_socket_send (ewf_adapter *adapter_ptr, ewf_adapter_mxchip_common_internet_socket *internet_socket_ptr, const uint8_t *buffer_ptr, uint32_t buffer_length)
 
ewf_result _ewf_adapter_mxchip_common_internet_socket_receive (ewf_adapter *adapter_ptr, ewf_adapter_mxchip_common_internet_socket *internet_socket_ptr, uint8_t *buffer_ptr, uint32_t *buffer_length_ptr)
 
ewf_result ewf_adapter_mxchip_common_tcp_open (ewf_adapter *adapter_ptr, ewf_socket_tcp *socket_ptr)
 
ewf_result ewf_adapter_mxchip_common_tcp_close (ewf_socket_tcp *socket_ptr)
 
ewf_result ewf_adapter_mxchip_common_tcp_control (ewf_socket_tcp *socket_ptr, const char *control_str, const uint8_t *buffer_ptr, uint32_t *buffer_length_ptr)
 
ewf_result ewf_adapter_mxchip_common_tcp_set_tls_configuration (ewf_socket_tcp *socket_ptr, uint32_t tls_configuration_id)
 
ewf_result ewf_adapter_mxchip_common_tcp_bind (ewf_socket_tcp *socket_ptr, uint32_t port)
 
ewf_result ewf_adapter_mxchip_common_tcp_listen (ewf_socket_tcp *socket_ptr)
 
ewf_result ewf_adapter_mxchip_common_tcp_accept (ewf_socket_tcp *socket_ptr, ewf_socket_tcp *socket_new_ptr)
 
ewf_result ewf_adapter_mxchip_common_tcp_connect (ewf_socket_tcp *socket_ptr, const char *server_str, uint32_t port)
 
ewf_result ewf_adapter_mxchip_common_tcp_shutdown (ewf_socket_tcp *socket_ptr)
 
ewf_result ewf_adapter_mxchip_common_tcp_send (ewf_socket_tcp *socket_ptr, const uint8_t *buffer_ptr, uint32_t buffer_length)
 
ewf_result ewf_adapter_mxchip_common_tcp_receive (ewf_socket_tcp *socket_ptr, uint8_t *buffer_ptr, uint32_t *buffer_length_ptr, bool wait)
 
ewf_result ewf_adapter_mxchip_common_udp_open (ewf_adapter *adapter_ptr, ewf_socket_udp *socket_ptr)
 
ewf_result ewf_adapter_mxchip_common_udp_close (ewf_socket_udp *socket_ptr)
 
ewf_result ewf_adapter_mxchip_common_udp_control (ewf_socket_udp *socket_ptr, const char *control_str, const uint8_t *buffer_ptr, uint32_t *buffer_length_ptr)
 
ewf_result ewf_adapter_mxchip_common_udp_set_dtls_configuration (ewf_socket_udp *socket_ptr, uint32_t dtls_configuration_id)
 
ewf_result ewf_adapter_mxchip_common_udp_bind (ewf_socket_udp *socket_ptr, uint32_t port)
 
ewf_result ewf_adapter_mxchip_common_udp_shutdown (ewf_socket_udp *socket_ptr)
 
ewf_result ewf_adapter_mxchip_common_udp_send_to (ewf_socket_udp *socket_ptr, const char *remote_address_str, uint32_t remote_port, const uint8_t *buffer_ptr, uint32_t buffer_length)
 
ewf_result ewf_adapter_mxchip_common_udp_receive_from (ewf_socket_udp *socket_ptr, char *remote_address_str, uint32_t *remote_address_length_ptr, uint32_t *remote_port_ptr, uint8_t *buffer_ptr, uint32_t *buffer_length_ptr, bool wait)
 

Variables

ewf_adapter_api_tcp ewf_adapter_mxchip_common_api_tcp
 
ewf_adapter_api_udp ewf_adapter_mxchip_common_api_udp
 

Detailed Description

The Embedded Wireless Framework MX-CHIP common internet(TCP+UDP) implementation.

Version
Preview