1.3.3 Net System Service Interface
Data Types and Constants Summary
Name | Description |
---|---|
SYS_NET_INTF_WIFI | Net Socket Intf - Wifi |
SYS_NET_INTF_ETHERNET | Net Socket Intf - Ethernet |
SYS_NET_MODE_CLIENT | Net Socket Mode - Client |
SYS_NET_MODE_SERVER | Net Socket Mode - Server |
SYS_NET_MAX_HOSTNAME_LEN | Max Host Name Length |
SYS_NET_IP_PROT_UDP | Ip Protocol Mode - UDP |
SYS_NET_IP_PROT_TCP | Ip Protocol Mode - TCP |
SYS_NET_MAX_NUM_OF_SOCKETS | Number of Instances Supported by the NET System Service |
SYS_NET_DEFAULT_TLS_ENABLE | Default Values for TLS - False |
SYS_NET_DEFAULT_AUTO_RECONNECT | Default Values for Auto Reconnect - True |
SYS_NET_DEFAULT_NET_INTF | Default Values for Interface - 0 (Wifi) |
NET_CFG | AppDebug Flow for the Logs - Configuration |
NET_DATA | AppDebug Flow for the Logs - Data |
SYS_NET_Config | Used for passing on the configuration related to the Net Socket that needs |
SYS_NET_STATUS | Identifies the current status of the Sys Net Instance. |
SYS_NET_EVENT | Identifies the event type for which the User Callback is called. |
SYS_NET_CTRL_MSG | Identifies the control message for which the User has called the SYS_NET_CtrlMsg(). |
SYS_NET_RESULT | Identifies the return values for the Sys Net APIs. |
Initialization functions Summary
Name | Description |
---|---|
SYS_NET_Initialize | Returns success/ failure for initialization of data structures of the NET service |
SYS_NET_Deinitialize | Deinitialization of data structures of the NET service |
Status functions Summary
Name | Description |
---|---|
SYS_NET_GetStatus | Returns System NET instance status. |
Setup functions Summary
Name | Description |
---|---|
SYS_NET_Open | Opens a new NET System Service instance. |
SYS_NET_Close | Deinitializes the specific instance of the NET System service |
SYS_NET_Task | Executes the SYS NET service state machine for the instance |
SYS_NET_CtrlMsg | Returns success/ failure for the disconnect/ reconnect operation asked by the user. |
SYS_NET_SetConfigParam | Returns success on setting a configuration parameter for Net System Service. |
Data Exchange functions Summary
Name | Description |
---|---|
SYS_NET_SendMsg | Returns No of Bytes sent to peer using the System NET instance. |
SYS_NET_RecvMsg | Returns No of Bytes received from peer using the System NET instance. |
SYS_NET_CALLBACK | Pointer to a Net system service callback function. |