|
netStatus | netInitialize (void) |
| Initialize Network Component and interfaces. [not_thread-safe]. More...
|
|
netStatus | netUninitialize (void) |
| De-initialize Network Component and interfaces. [not_thread-safe]. More...
|
|
const char * | netSYS_GetHostName (void) |
| Retrieve localhost name. [thread-safe]. More...
|
|
netStatus | netSYS_SetHostName (const char *hostname) |
| Set localhost name. [thread-safe]. More...
|
|
int32_t | netUDP_GetSocket (netUDP_cb_t cb_func) |
| Allocate a free UDP socket. [thread-safe]. More...
|
|
netStatus | netUDP_ReleaseSocket (int32_t socket) |
| Release UDP socket and free resources. [thread-safe]. More...
|
|
netStatus | netUDP_Open (int32_t socket, uint16_t port) |
| Open UDP socket for communication. [thread-safe]. More...
|
|
netStatus | netUDP_Close (int32_t socket) |
| Stop UDP communication and close socket. [thread-safe]. More...
|
|
uint8_t * | netUDP_GetBuffer (uint32_t size) |
| Allocate memory for UDP send buffer. [thread-safe]. More...
|
|
netStatus | netUDP_Send (int32_t socket, const NET_ADDR *addr, uint8_t *buf, uint32_t len) |
| Send data to a remote node. [thread-safe]. More...
|
|
netStatus | netUDP_SetOption (int32_t socket, netUDP_Option option, uint32_t val) |
| Set UDP socket IP option. [thread-safe]. More...
|
|
uint16_t | netUDP_GetLocalPort (int32_t socket) |
| Retrieve local port number of UDP socket. [thread-safe]. More...
|
|
int32_t | socket (int32_t family, int32_t type, int32_t protocol) |
| Create a communication endpoint called socket. [thread-safe]. More...
|
|
int32_t | bind (int32_t sock, const SOCKADDR *addr, int32_t addrlen) |
| Assign a local address and port to a socket. [thread-safe]. More...
|
|
int32_t | listen (int32_t sock, int32_t backlog) |
| Set a socket in a listening mode. [thread-safe]. More...
|
|
int32_t | accept (int32_t sock, SOCKADDR *addr, int32_t *addrlen) |
| Accept connect request for a listening socket. [thread-safe]. More...
|
|
int32_t | connect (int32_t sock, const SOCKADDR *addr, int32_t addrlen) |
| Connect a socket to a remote host. [thread-safe]. More...
|
|
int32_t | send (int32_t sock, const char *buf, int32_t len, int32_t flags) |
| Send data on already connected socket. [thread-safe]. More...
|
|
int32_t | sendto (int32_t sock, const char *buf, int32_t len, int32_t flags, const SOCKADDR *to, int32_t tolen) |
| Send data to endpoint node. [thread-safe]. More...
|
|
int32_t | sendmsg (int32_t sock, const MSGHDR *msg, int32_t flags) |
| Send a message to endpoint node. [thread-safe]. More...
|
|
int32_t | recv (int32_t sock, char *buf, int32_t len, int32_t flags) |
| Receive data on already connected socket. [thread-safe]. More...
|
|
int32_t | recvfrom (int32_t sock, char *buf, int32_t len, int32_t flags, SOCKADDR *from, int32_t *fromlen) |
| Receive data from endpoint node. [thread-safe]. More...
|
|
int32_t | recvmsg (int32_t sock, MSGHDR *msg, int32_t flags) |
| Receive a message from a socket. [thread-safe]. More...
|
|
int32_t | closesocket (int32_t sock) |
| Close socket and release socket descriptor. [thread-safe]. More...
|
|
int32_t | getpeername (int32_t sock, SOCKADDR *name, int32_t *namelen) |
| Retrieve IP address and port number of the endpoint node. [thread-safe]. More...
|
|
int32_t | getsockname (int32_t sock, SOCKADDR *name, int32_t *namelen) |
| Retrieve local IP address and port number. [thread-safe]. More...
|
|
int32_t | getsockopt (int32_t sock, int32_t level, int32_t optname, char *optval, int32_t *optlen) |
| Retrieve options for the socket. [thread-safe]. More...
|
|
int32_t | setsockopt (int32_t sock, int32_t level, int32_t optname, const char *optval, int32_t optlen) |
| Manipulate options for the socket. [thread-safe]. More...
|
|
int32_t | ioctlsocket (int32_t sock, long cmd, unsigned long *argp) |
| Control IO mode of a socket. [thread-safe]. More...
|
|
int32_t | select (int32_t nfds, fd_set *readfds, fd_set *writefds, fd_set *errorfds, struct timeval *timeout) |
| Check the status of one or more sockets. [thread-safe]. More...
|
|
HOSTENT * | gethostbyname (const char *name, int32_t *err) |
| Retrieve host IP address from host name. [thread-safe]. More...
|
|
IN_ADDR | inet_addr (const char *cp) |
| Convert from text address to a network address. [thread-safe]. More...
|
|
int32_t | inet_aton (const char *cp, IN_ADDR *addr) |
| Convert from text address to a network address. [thread-safe]. More...
|
|
const char * | inet_ntoa (IN_ADDR in) |
| Convert from network address to a text string. [not_thread-safe]. More...
|
|
int32_t | inet_pton (int32_t af, const char *src, void *dst) |
| Convert from text address to a binary network address. [thread-safe]. More...
|
|
const char * | inet_ntop (int32_t af, const void *src, char *dst, int32_t size) |
| Convert from binary network address to a text string. [thread-safe]. More...
|
|
netStatus | netIF_GetOption (uint32_t if_id, netIF_Option option, uint8_t *buf, uint32_t buf_len) |
| Get the current value of an Interface option. [thread-safe]. More...
|
|
netStatus | netIF_SetOption (uint32_t if_id, netIF_Option option, const uint8_t *buf, uint32_t buf_len) |
| Set the value of an Interface option. [thread-safe]. More...
|
|
netStatus | netIF_SetDefault (uint32_t if_id, netIF_Version ip_version) |
| Set default network interface for Internet access. [thread-safe]. More...
|
|
netStatus | netICMP_SetNoEcho (uint32_t if_id, bool no_echo) |
| Enable or disable ICMP Echo response. [thread-safe]. More...
|
|
netStatus | netICMP6_SetNoEcho (uint32_t if_id, bool no_echo) |
| Enable or disable ICMPv6 Echo response. [thread-safe]. More...
|
|
netStatus | netETH_SendRaw (uint32_t if_num, const uint8_t *buf, uint32_t len) |
| Send raw Ethernet data. [thread-safe]. More...
|
|
netStatus | netARP_CacheIP (uint32_t if_id, const uint8_t *ip4_addr, netARP_CacheType type) |
| Determine whether the ARP table has MAC address resolved for requested IP address. [thread-safe]. More...
|
|
netStatus | netARP_CacheMAC (uint32_t if_id, const uint8_t *mac_addr) |
| Determine whether the ARP table has IP address resolved for requested MAC address. [thread-safe]. More...
|
|
netStatus | netARP_GetIP (uint32_t if_id, const uint8_t *mac_addr, uint8_t *ip4_addr) |
| Get IP address from the ARP cache. [thread-safe]. More...
|
|
netStatus | netARP_GetMAC (uint32_t if_id, const uint8_t *ip4_addr, uint8_t *mac_addr) |
| Get MAC address from the ARP cache. [thread-safe]. More...
|
|
netStatus | netARP_Probe (uint32_t if_id, const uint8_t *ip4_addr, netARP_cb_t cb_func) |
| Determine whether the IP address is already in use. [thread-safe]. More...
|
|
netStatus | netARP_ProbeX (uint32_t if_id, const uint8_t *ip4_addr) |
| Determine whether the IP address is already in use in blocking mode. [thread-safe]. More...
|
|
netStatus | netARP_ClearCache (uint32_t if_id) |
| Flush or clear the local ARP cache. [thread-safe]. More...
|
|
netStatus | netNDP_CacheIP (uint32_t if_id, const uint8_t *ip6_addr) |
| Determine whether neighbor cache has MAC address resolved for requested IP address. [thread-safe]. More...
|
|
netStatus | netNDP_GetIP (uint32_t if_id, const uint8_t *mac_addr, uint8_t *ip6_addr) |
| Get IP address from neighbor discovery cache. [thread-safe]. More...
|
|
netStatus | netNDP_GetMAC (uint32_t if_id, const uint8_t *ip6_addr, uint8_t *mac_addr) |
| Get MAC address from neighbor discovery cache. [thread-safe]. More...
|
|
netStatus | netNDP_Probe (uint32_t if_id, const uint8_t *ip6_addr, netNDP_cb_t cb_func) |
| Determine whether the IP address is already in use. [thread-safe]. More...
|
|
netStatus | netNDP_ProbeX (uint32_t if_id, const uint8_t *ip6_addr) |
| Determine whether the IP address is already in use in blocking mode. [thread-safe]. More...
|
|
netStatus | netNDP_ClearCache (uint32_t if_id) |
| Flush or clear the local NDP cache. [thread-safe]. More...
|
|
netStatus | netIGMP_Join (uint32_t if_id, const uint8_t *ip4_addr) |
| Join this host to a host group specified with IP address. [thread-safe]. More...
|
|
netStatus | netIGMP_Leave (uint32_t if_id, const uint8_t *ip4_addr) |
| Leave a host group specified with IP address. [thread-safe]. More...
|
|
netStatus | netNBNS_Resolve (uint32_t if_id, const char *name, uint8_t *ip4_addr) |
| Resolve IP address of a host from a NetBIOS hostname. [thread-safe]. More...
|
|
netStatus | netNBNS_ClearCache (uint32_t if_id) |
| Flush or clear the local NBNS cache. [thread-safe]. More...
|
|
netStatus | netDHCP_Enable (uint32_t if_id) |
| Enable Dynamic Host Configuration at runtime. [thread-safe]. More...
|
|
netStatus | netDHCP_Disable (uint32_t if_id) |
| Disable Dynamic Host Configuration at runtime. [thread-safe]. More...
|
|
netStatus | netDHCP_SetOption (uint32_t if_id, uint8_t option, const uint8_t *val, uint32_t len) |
| Set DHCP Option value at runtime. [thread-safe]. More...
|
|
netStatus | netDHCP6_Enable (uint32_t if_id, netDHCP6_Mode mode) |
| Enable Dynamic Host Configuration version 6 at runtime. [thread-safe]. More...
|
|
netStatus | netDHCP6_Disable (uint32_t if_id) |
| Disable Dynamic Host Configuration version 6 at runtime. [thread-safe]. More...
|
|
void | netETH_Notify (uint32_t if_num, netETH_Event event, uint32_t val) |
| Notify the user of Ethernet link state change event. [user-provided]. More...
|
|
void | netETH_ReceiveRaw (uint32_t if_num, const uint8_t *buf, uint32_t len) |
| Receive raw Ethernet data. [user-provided]. More...
|
|
void | netDHCP_Notify (uint32_t if_id, uint8_t option, const uint8_t *val, uint32_t len) |
| Notify the user of DHCP event or extended DHCP option. [user-provided]. More...
|
|
void | netDHCP6_Notify (uint32_t if_id, uint8_t option, const uint8_t *val, uint32_t len) |
| Notify the user of DHCPv6 event or extended DHCPv6 option. [user-provided]. More...
|
|
netStatus | netWiFi_Scan (uint32_t if_num, NET_WIFI_SCAN_INFO scan_info[], uint32_t *scan_num) |
| Search for available WiFi networks. [thread-safe]. More...
|
|
netStatus | netWiFi_GetOption (uint32_t if_num, netWiFi_Option option, void *buf, uint32_t buf_len) |
| Get the value of the WiFi driver option. [thread-safe]. More...
|
|
netStatus | netWiFi_SetOption (uint32_t if_num, netWiFi_Option option, const void *buf, uint32_t buf_len) |
| Set the value of the WiFi driver option. [thread-safe]. More...
|
|
netStatus | netWiFi_Activate (uint32_t if_num, const NET_WIFI_CONFIG *config) |
| Activate the WiFi interface. [thread-safe]. More...
|
|
netStatus | netWiFi_Deactivate (uint32_t if_num) |
| Deactivate the WiFi interface. [thread-safe]. More...
|
|
bool | netWiFi_IsConnected (uint32_t if_num) |
| Get the connection state of the WiFi interface. [thread-safe]. More...
|
|
netStatus | netWiFi_GetNetInfo (uint32_t if_num, NET_WIFI_NET_INFO *net_info) |
| Get the network information of the WiFi interface. [thread-safe]. More...
|
|
netStatus | netPPP_Listen (const char *username, const char *password) |
| Start PPP interface to accept incoming PPP connection. [thread-safe]. More...
|
|
netStatus | netPPP_Connect (const char *dial_num, const char *username, const char *password) |
| Start a dial-up connection to remote PPP server. [thread-safe]. More...
|
|
netStatus | netPPP_Close (void) |
| Disconnect PPP link between two modems. [thread-safe]. More...
|
|
bool | netPPP_LinkUp (void) |
| Determine the state of PPP link. [thread-safe]. More...
|
|
netStatus | netSLIP_Listen (void) |
| Start SLIP interface to accept incoming SLIP connections. [thread-safe]. More...
|
|
netStatus | netSLIP_Connect (const char *dial_num) |
| Start a dial-up connection to remote SLIP server. [thread-safe]. More...
|
|
netStatus | netSLIP_Close (void) |
| Disconnect SLIP link between two modems. [thread-safe]. More...
|
|
bool | netSLIP_LinkUp (void) |
| Determine the state of SLIP link. [thread-safe]. More...
|
|
netStatus | netPing_Echo (const NET_ADDR *addr, netPing_cb_t cb_func) |
| Start ICMP ping process. [thread-safe]. More...
|
|
netStatus | netPing_EchoX (const char *target, uint32_t flags) |
| Start ICMP ping process in blocking mode. [thread-safe]. More...
|
|
netStatus | netDNSc_GetHostByName (const char *name, int16_t addr_type, netDNSc_cb_t cb_func) |
| Resolve IP address of a host from a hostname. [thread-safe]. More...
|
|
netStatus | netDNSc_GetHostByNameX (const char *name, int16_t addr_type, NET_ADDR *addr) |
| Resolve IP address of a host from a hostname in blocking mode. [thread-safe]. More...
|
|
netStatus | netDNSc_ClearCache (void) |
| Flush or clear the local DNS cache. [thread-safe]. More...
|
|
netStatus | netFTPs_Start (void) |
| Start FTP server. [thread-safe]. More...
|
|
netStatus | netFTPs_Stop (void) |
| Stop FTP server. [thread-safe]. More...
|
|
bool | netFTPs_Running (void) |
| Check if FTP server is running. [thread-safe]. More...
|
|
uint16_t | netFTPs_GetPort (void) |
| Get port number of FTP server. [thread-safe]. More...
|
|
netStatus | netFTPs_SetPort (uint16_t port) |
| Set port number of FTP server. [thread-safe]. More...
|
|
const char * | netFTPs_GetRootPath (void) |
| Retrieve path to the root directory on FTP server. [thread-safe]. More...
|
|
netStatus | netFTPs_SetRootPath (const char *path) |
| Set path to the root directory on FTP server. [thread-safe]. More...
|
|
const char * | netFTPs_GetUsername (void) |
| Retrieve username of the built-in user account. [thread-safe]. More...
|
|
netStatus | netFTPs_SetUsername (const char *username) |
| Set username of the built-in user account. [thread-safe]. More...
|
|
const char * | netFTPs_GetPassword (void) |
| Retrieve password of the built-in user account. [thread-safe]. More...
|
|
netStatus | netFTPs_SetPassword (const char *password) |
| Reset password of the built-in user account. [thread-safe]. More...
|
|
bool | netFTPs_LoginActive (void) |
| Determine if FTP server authentication is enabled. [thread-safe]. More...
|
|
netStatus | netFTPs_LoginOnOff (bool login) |
| Enable or disable FTP server authentication. [thread-safe]. More...
|
|
bool | netFTPs_AcceptClient (const NET_ADDR *addr) |
| Accept or deny connection from remote FTP client. [user-provided]. More...
|
|
uint8_t | netFTPs_CheckUsername (const char *username) |
| Check if an user account exists in the user database. [user-provided]. More...
|
|
bool | netFTPs_CheckPassword (uint8_t user_id, const char *password) |
| Check user account password in the user database. [user-provided]. More...
|
|
bool | netFTPs_FileAccess (uint8_t user_id, const char *fname, uint32_t access) |
| Check if remote user is allowed to access a file on FTP server. [user-provided]. More...
|
|
uint8_t | netFTPs_GetUserId (void) |
| Retrieve the user identification number. [thread-safe]. More...
|
|
void | netFTPs_Notify (netFTPs_Event event) |
| Notify the user application about events in FTP server service. [user-provided]. More...
|
|
void * | netFTPs_fopen (const char *fname, const char *mode) |
| Open a file for reading or writing on FTP server. [interface]. More...
|
|
void | netFTPs_fclose (void *file) |
| Close a file previously open on FTP server. [interface]. More...
|
|
uint32_t | netFTPs_fread (void *file, uint8_t *buf, uint32_t len) |
| Read block of data from a file on FTP server. [interface]. More...
|
|
uint32_t | netFTPs_fwrite (void *file, const uint8_t *buf, uint32_t len) |
| Write block of data to a file on FTP server. [interface]. More...
|
|
bool | netFTPs_fdelete (const char *fname) |
| Delete a file on FTP server. [interface]. More...
|
|
bool | netFTPs_frename (const char *fname, const char *newname) |
| Rename a file or directory on FTP server. [interface]. More...
|
|
bool | netFTPs_mkdir (const char *path) |
| Make a new directory on FTP server. [interface]. More...
|
|
bool | netFTPs_rmdir (const char *path) |
| Remove an empty directory on FTP server. [interface]. More...
|
|
bool | netFTPs_chdir (const char *path) |
| Check that the directory exists on FTP server. [interface]. More...
|
|
int32_t | netFTPs_ffind (const char *mask, char *fname, uint32_t *fsize, NET_FS_TIME *ftime, bool first) |
| Search the file system directory for matching files. [interface]. More...
|
|
netStatus | netFTPc_Connect (const NET_ADDR *addr, netFTP_Command command) |
| Start FTP client file operation session. [thread-safe]. More...
|
|
uint32_t | netFTPc_Process (netFTPc_Request request, char *buf, uint32_t buf_len) |
| Request parameters for FTP client session. [user-provided]. More...
|
|
void | netFTPc_Notify (netFTPc_Event event) |
| Notify the user application when FTP client operation ends. [user-provided]. More...
|
|
void * | netFTPc_fopen (const char *fname, const char *mode) |
| Open local file for reading or writing in FTP client. [interface]. More...
|
|
void | netFTPc_fclose (void *file) |
| Close local file previously open in FTP client. [interface]. More...
|
|
uint32_t | netFTPc_fread (void *file, uint8_t *buf, uint32_t len) |
| Read block of data from local file in FTP client. [interface]. More...
|
|
uint32_t | netFTPc_fwrite (void *file, const uint8_t *buf, uint32_t len) |
| Write block of data to local file in FTP client. [interface]. More...
|
|
netStatus | netTFTPs_Start (void) |
| Start the TFTP server. [thread-safe]. More...
|
|
netStatus | netTFTPs_Stop (void) |
| Stop the TFTP server. [thread-safe]. More...
|
|
bool | netTFTPs_Running (void) |
| Check if the TFTP server is running. [thread-safe]. More...
|
|
uint16_t | netTFTPs_GetPort (void) |
| Get port number of the TFTP server. [thread-safe]. More...
|
|
netStatus | netTFTPs_SetPort (uint16_t port) |
| Set port number of the TFTP server. [thread-safe]. More...
|
|
const char * | netTFTPs_GetRootPath (void) |
| Retrieve path to the root directory on TFTP server. [thread-safe]. More...
|
|
netStatus | netTFTPs_SetRootPath (const char *path) |
| Set path to the root directory on TFTP server. [thread-safe]. More...
|
|
bool | netTFTPs_AcceptClient (const NET_ADDR *addr) |
| Accept or deny connection from a remote TFTP client. [user-provided]. More...
|
|
void * | netTFTPs_fopen (const char *fname, const char *mode) |
| Open a file for reading or writing on the TFTP server. [interface]. More...
|
|
void | netTFTPs_fclose (void *file) |
| Close a file previously open on the TFTP server. [interface]. More...
|
|
uint32_t | netTFTPs_fread (void *file, uint8_t *buf, uint32_t len) |
| Read block of data from a file on the TFTP server. [interface]. More...
|
|
uint32_t | netTFTPs_fwrite (void *file, const uint8_t *buf, uint32_t len) |
| Write block of data to a file on the TFTP server. [interface]. More...
|
|
netStatus | netTFTPc_Put (const NET_ADDR *addr, const char *fname, const char *local_fname) |
| Put a file to a remote TFTP server. [thread-safe]. More...
|
|
netStatus | netTFTPc_Get (const NET_ADDR *addr, const char *fname, const char *local_fname) |
| Retrieve a file from a remote TFTP server. [thread-safe]. More...
|
|
void | netTFTPc_Notify (netTFTPc_Event event) |
| Notify the user application when TFTP client operation ends. [user-provided]. More...
|
|
void * | netTFTPc_fopen (const char *fname, const char *mode) |
| Open local file for reading or writing in the TFTP client. [interface]. More...
|
|
void | netTFTPc_fclose (void *file) |
| Close local file previously open in the TFTP client. [interface]. More...
|
|
uint32_t | netTFTPc_fread (void *file, uint8_t *buf, uint32_t len) |
| Read block of data from local file in the TFTP client. [interface]. More...
|
|
uint32_t | netTFTPc_fwrite (void *file, const uint8_t *buf, uint32_t len) |
| Write block of data to local file in the TFTP client. [interface]. More...
|
|
netStatus | netTELNETs_Start (void) |
| Start the Telnet server. [thread-safe]. More...
|
|
netStatus | netTELNETs_Stop (void) |
| Stop the Telnet server. [thread-safe]. More...
|
|
bool | netTELNETs_Running (void) |
| Check if the Telnet server is running. [thread-safe]. More...
|
|
uint16_t | netTELNETs_GetPort (void) |
| Get port number of the Telnet server. [thread-safe]. More...
|
|
netStatus | netTELNETs_SetPort (uint16_t port) |
| Set port number of the Telnet server. [thread-safe]. More...
|
|
const char * | netTELNETs_GetUsername (void) |
| Retrieve username of the built-in user account. [thread-safe]. More...
|
|
netStatus | netTELNETs_SetUsername (const char *username) |
| Set username of the built-in user account. [thread-safe]. More...
|
|
const char * | netTELNETs_GetPassword (void) |
| Retrieve password of the built-in user account. [thread-safe]. More...
|
|
netStatus | netTELNETs_SetPassword (const char *password) |
| Reset password of the built-in user account. [thread-safe]. More...
|
|
bool | netTELNETs_LoginActive (void) |
| Determine if Telnet server authentication is enabled. [thread-safe]. More...
|
|
netStatus | netTELNETs_LoginOnOff (bool login) |
| Enable or disable Telnet server authentication. [thread-safe]. More...
|
|
netStatus | netTELNETs_GetClient (NET_ADDR *addr, uint32_t addr_len) |
| Get IP address and port number of a connected Telnet client. [thread-safe]. More...
|
|
int32_t | netTELNETs_GetSession (void) |
| Get current session number of the Telnet server. [thread-safe]. More...
|
|
bool | netTELNETs_CheckCommand (const char *cmd, const char *user_cmd) |
| Check command string for a command. [thread-safe]. More...
|
|
netStatus | netTELNETs_RepeatCommand (uint32_t delay) |
| Request a repeated call to netTELNETs_ProcessCommand function. [thread-safe]. More...
|
|
netStatus | netTELNETs_RequestMessage (int32_t session) |
| Request unsolicited message processing in netTELNETs_ProcessMessage function. [thread-safe]. More...
|
|
uint32_t | netTELNETs_ProcessCommand (const char *cmd, char *buf, uint32_t buf_len, uint32_t *pvar) |
| Process and execute a command requested by the Telnet client. [user-provided]. More...
|
|
uint32_t | netTELNETs_ProcessMessage (netTELNETs_Message msg, char *buf, uint32_t buf_len) |
| Request a message for a Telnet server session. [user-provided]. More...
|
|
bool | netTELNETs_AcceptClient (const NET_ADDR *addr) |
| Accept or deny a connection from a remote Telnet client. [user-provided]. More...
|
|
uint8_t | netTELNETs_CheckUsername (const char *username) |
| Check if an user account exist in the user database. [user-provided]. More...
|
|
bool | netTELNETs_CheckPassword (uint8_t user_id, const char *password) |
| Check user account password in the user database. [user-provided]. More...
|
|
uint8_t | netTELNETs_GetUserId (void) |
| Retrieve the user identification number. [thread-safe]. More...
|
|
netStatus | netHTTPs_Start (void) |
| Start the HTTP server. [thread-safe]. More...
|
|
netStatus | netHTTPs_Stop (void) |
| Stop the HTTP server. [thread-safe]. More...
|
|
bool | netHTTPs_Running (void) |
| Check if the HTTP server is running. [thread-safe]. More...
|
|
uint16_t | netHTTPs_GetPort (void) |
| Get port number of the HTTP server. [thread-safe]. More...
|
|
netStatus | netHTTPs_SetPort (uint16_t port) |
| Set port number of the HTTP server. [thread-safe]. More...
|
|
const char * | netHTTPs_GetRootPath (void) |
| Retrieve path to the root directory on HTTP server. [thread-safe]. More...
|
|
netStatus | netHTTPs_SetRootPath (const char *path) |
| Set path to the root directory on HTTP server. [thread-safe]. More...
|
|
const char * | netHTTPs_GetUsername (void) |
| Retrieve username of the built-in user account. [thread-safe]. More...
|
|
netStatus | netHTTPs_SetUsername (const char *username) |
| Set username of the built-in user account. [thread-safe]. More...
|
|
const char * | netHTTPs_GetPassword (void) |
| Retrieve password of the built-in user account. [thread-safe]. More...
|
|
netStatus | netHTTPs_SetPassword (const char *password) |
| Reset password of the built-in user account. [thread-safe]. More...
|
|
bool | netHTTPs_LoginActive (void) |
| Determine if the HTTP server authentication is enabled. [thread-safe]. More...
|
|
netStatus | netHTTPs_LoginOnOff (bool login) |
| Enable or disable HTTP server authentication. [thread-safe]. More...
|
|
netStatus | netHTTPs_GetClient (NET_ADDR *addr, uint32_t addr_len) |
| Get IP address and port number of a connected remote HTTP client. [thread-safe]. More...
|
|
int32_t | netHTTPs_GetSession (void) |
| Get current session number of the HTTP server. [thread-safe]. More...
|
|
const char * | netHTTPs_GetLanguage (void) |
| Retrieve the preferred language setting from the browser. [thread-safe]. More...
|
|
const char * | netHTTPs_GetContentType (void) |
| Get Content-Type HTML header, received in XML post request. [thread-safe]. More...
|
|
bool | netHTTPs_AcceptClient (const NET_ADDR *addr) |
| Accept or deny a connection from a remote HTTP client. [user-provided]. More...
|
|
uint8_t | netHTTPs_CheckAccount (const char *username, const char *password) |
| Check if an user account exist in the user database. [user-provided]. More...
|
|
void | netHTTPs_GetUserSecret (uint8_t user_id, char *buf, uint32_t buf_len) |
| Retrieve the secret word for the selected user. [user-provided]. More...
|
|
bool | netHTTPs_FileAccess (uint8_t user_id, const char *fname) |
| Check if remote user is allowed to access a file on HTTP server. [user-provided]. More...
|
|
uint8_t | netHTTPs_GetUserId (void) |
| Retrieve the user identification. [thread-safe]. More...
|
|
netStatus | netHTTPs_CalcHashHA1 (const char *username, const char *password, char *buf, uint32_t buf_len) |
| Calculate HA1 hash value for the given credentials. [thread-safe]. More...
|
|
void * | netHTTPs_fopen (const char *fname) |
| Open a file for reading on HTTP server. [interface]. More...
|
|
void | netHTTPs_fclose (void *file) |
| Close a file previously open on HTTP server. [interface]. More...
|
|
uint32_t | netHTTPs_fread (void *file, uint8_t *buf, uint32_t len) |
| Read block of data from a file on HTTP server. [interface]. More...
|
|
char * | netHTTPs_fgets (void *file, char *buf, uint32_t size) |
| Read a string from a file on HTTP server. [interface]. More...
|
|
void | netHTTPs_fstat (const char *fname, uint32_t *fsize, uint32_t *ftime) |
| Retrieve file size and last modification time. [interface]. More...
|
|
void | netCGI_ProcessQuery (const char *qstr) |
| Process query string received by GET or POST request. [user-provided]. More...
|
|
void | netCGI_ProcessData (uint8_t code, const char *data, uint32_t len) |
| Process data received by POST request. [user-provided]. More...
|
|
uint32_t | netCGI_Script (const char *env, char *buf, uint32_t buf_len, uint32_t *pcgi) |
| Generate dynamic web data based on a CGI script. [user-provided]. More...
|
|
const char * | netCGI_GetEnvVar (const char *env, char *ansi, uint32_t max_len) |
| Process environment variables and convert to ANSI format. [thread-safe]. More...
|
|
const char * | netCGI_Charset (void) |
| Override default character encoding in HTML documents. [user-provided]. More...
|
|
const char * | netCGI_ContentType (const char *file_ext) |
| Add custom MIME type for unsupported file types. [user-provided]. More...
|
|
const char * | netCGI_Redirect (const char *file_name) |
| Redirect resource URL address to a new location. [user-provided]. More...
|
|
const char * | netCGX_ContentType (void) |
| Override default Content-Type for CGX script files. [user-provided]. More...
|
|
const char * | netCGI_CustomHeader (void) |
| Add custom HTTP response header. [user-provided]. More...
|
|
netStatus | netCGI_SetCookie (const char *cookie) |
| Set HTTP cookie to send to the client. [thread-safe]. More...
|
|
void | netCGI_ProcessRequest (const char *method, const char *uri, const char *header, uint32_t header_len) |
| Process HTTP request. [user-provided]. More...
|
|
void | netCGI_ProcessCookie (const char *method, const char *uri, const char *cookie, uint32_t cookie_len) |
| Process HTTP cookie. [user-provided]. More...
|
|
netStatus | netSMTPc_Connect (const NET_ADDR *addr) |
| Start SMTP client to send an email in legacy mode. [thread-safe]. More...
|
|
netStatus | netSMTPc_SendMail (const NET_SMTP_MAIL *mail, const NET_SMTP_MTA *mta) |
| Send an email in blocking mode. [thread-safe]. More...
|
|
uint32_t | netSMTPc_Process (netSMTPc_Request request, char *buf, uint32_t buf_len, uint32_t *pvar) |
| Request parameters for SMTP client session. [user-provided]. More...
|
|
void | netSMTPc_Notify (netSMTPc_Event event) |
| Notify the user application when SMTP client operation ends. [user-provided]. More...
|
|
bool | netSMTPc_AcceptAuthentication (const NET_ADDR *addr) |
| Accept or deny authentication requested by SMTP server. [user-provided]. More...
|
|
void * | netSMTPc_fopen (const char *fname) |
| Open a file for reading in SMTP client. [interface]. More...
|
|
void | netSMTPc_fclose (void *file) |
| Close a file previously open in SMTP client. [interface]. More...
|
|
uint32_t | netSMTPc_fread (void *file, uint8_t *buf, uint32_t len) |
| Read block of data from a file in SMTP client. [interface]. More...
|
|
netStatus | netSNTPc_SetMode (netSNTPc_Mode mode) |
| Set mode of operation for SNTP client. [thread-safe]. More...
|
|
netStatus | netSNTPc_GetTime (const NET_ADDR *addr, netSNTPc_cb_t cb_func) |
| Determine current time from NTP or SNTP time server. [thread-safe]. More...
|
|
netStatus | netSNTPc_GetTimeX (const char *server, uint32_t *seconds, uint32_t *seconds_fraction) |
| Determine current time from NTP or SNTP time server in blocking mode. [thread-safe]. More...
|
|
netStatus | netSNMP_Trap (const NET_ADDR *addr, uint8_t generic, uint8_t specific, const uint16_t *obj_list) |
| Send a trap message to the Trap Manager. [thread-safe]. More...
|
|
netStatus | netSNMP_SetCommunity (const char *community) |
| Change SNMP community to a new community. [thread-safe]. More...
|
|
netStatus | netSNMP_SetMIB_Table (const NET_SNMP_MIB_INFO *info, uint32_t size) |
| Register MIB table to SNMP Agent. [thread-safe]. More...
|
|
const char * | netIP_ntoa (int16_t addr_type, const uint8_t *ip_addr, char *string_buf, uint32_t buf_len) |
| Convert IP address from binary to text form. [thread-safe]. More...
|
|
bool | netIP_aton (const char *addr_string, int16_t addr_type, uint8_t *ip_addr) |
| Convert IP address from text to binary form. [thread-safe]. More...
|
|
const char * | netMAC_ntoa (const uint8_t *mac_addr, char *string_buf, uint32_t buf_len) |
| Convert MAC address from binary to text form. [thread-safe]. More...
|
|
bool | netMAC_aton (const char *mac_string, uint8_t *mac_addr) |
| Convert MAC address from text to binary form. [thread-safe]. More...
|
|
|
int32_t | netTCP_GetSocket (netTCP_cb_t cb_func) |
| Allocate a free TCP socket. [thread-safe]. More...
|
|
netStatus | netTCP_ReleaseSocket (int32_t socket) |
| Release TCP socket and free resources. [thread-safe]. More...
|
|
netStatus | netTCP_Listen (int32_t socket, uint16_t port) |
| Open TCP socket for incoming connection. [thread-safe]. More...
|
|
netStatus | netTCP_Connect (int32_t socket, const NET_ADDR *addr, uint16_t local_port) |
| Initiate a TCP connection to a remote node. [thread-safe]. More...
|
|
netStatus | netTCP_Close (int32_t socket) |
| Stop TCP communication and start closing procedure. [thread-safe]. More...
|
|
netStatus | netTCP_Abort (int32_t socket) |
| Instantly stop TCP communication. [thread-safe]. More...
|
|
uint32_t | netTCP_GetMaxSegmentSize (int32_t socket) |
| Determine maximum number of data bytes that can be sent in TCP packet. [thread-safe]. More...
|
|
uint8_t * | netTCP_GetBuffer (uint32_t size) |
| Allocate memory for TCP send buffer. [thread-safe]. More...
|
|
bool | netTCP_SendReady (int32_t socket) |
| Check if TCP socket can send data. [thread-safe]. More...
|
|
netStatus | netTCP_Send (int32_t socket, uint8_t *buf, uint32_t len) |
| Send a data packet to remote node. [thread-safe]. More...
|
|
netTCP_State | netTCP_GetState (int32_t socket) |
| Determine current state of a TCP socket. [thread-safe]. More...
|
|
netStatus | netTCP_ResetReceiveWindow (int32_t socket) |
| Reset TCP window size to a default value from the configuration. [thread-safe]. More...
|
|
netStatus | netTCP_SetOption (int32_t socket, netTCP_Option option, uint32_t val) |
| Set TCP socket IP option. [thread-safe]. More...
|
|
uint16_t | netTCP_GetLocalPort (int32_t socket) |
| Retrieve local port number of TCP socket. [thread-safe]. More...
|
|
netStatus | netTCP_GetPeer (int32_t socket, NET_ADDR *addr, uint32_t addr_len) |
| Retrieve IP address and port number of remote peer. [thread-safe]. More...
|
|
uint32_t | netTCP_GetTimer (int32_t socket) |
| Determine TCP socket connection timeout. [thread-safe]. More...
|
|