Network Component  Version 7.8.0
MDK Middleware for IPv4 and IPv6 Networking
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
NetSLIP: SLIP Interface

Events generated by the Network - SLIP Interface functions. More...

Functions

__STATIC_INLINE void EvrNetSLIP_InitInterface (void)
 Event on SLIP interface initialize (Op) More...
 
__STATIC_INLINE void EvrNetSLIP_Ip4ConfigError (void)
 Event on SLIP interface IPv4 configuration error (Error) More...
 
__STATIC_INLINE void EvrNetSLIP_ThreadCreateFailed (void)
 Event on SLIP interface thread create failed (Error) More...
 
__STATIC_INLINE void EvrNetSLIP_GetOptionInvalidParameter (void)
 Event on SLIP get-option invalid parameter (Error) More...
 
__STATIC_INLINE void EvrNetSLIP_SetOptionInvalidParameter (void)
 Event on SLIP set-option invalid parameter (Error) More...
 
__STATIC_INLINE void EvrNetSLIP_SetIp4Address (const uint8_t *ip4_addr)
 Event on SLIP set interface IPv4 address (Op) More...
 
__STATIC_INLINE void EvrNetSLIP_SetIp4PrimaryDNS (const uint8_t *ip4_addr)
 Event on SLIP set interface primary DNS server (Op) More...
 
__STATIC_INLINE void EvrNetSLIP_SetIp4SecondaryDNS (const uint8_t *ip4_addr)
 Event on SLIP set interface secondary DNS server (Op) More...
 
__STATIC_INLINE void EvrNetSLIP_SetIp4Mtu (uint16_t mtu)
 Event on SLIP set interface MTU (Op) More...
 
__STATIC_INLINE void EvrNetSLIP_Connect (const char *dial_number, uint32_t length)
 Event on SLIP interface netSLIP_Connect start (API) More...
 
__STATIC_INLINE void EvrNetSLIP_Listen (void)
 Event on SLIP interface netSLIP_Listen start (API) More...
 
__STATIC_INLINE void EvrNetSLIP_Close (void)
 Event on SLIP interface netSLIP_Close start (API) More...
 
__STATIC_INLINE void EvrNetSLIP_SendFrame (uint32_t length, uint8_t ip_version)
 Event on SLIP interface send frame (Op) More...
 
__STATIC_INLINE void EvrNetSLIP_InvalidIpVersion (uint8_t ip_version)
 Event on SLIP interface invalid IP version (Error) More...
 
__STATIC_INLINE void EvrNetSLIP_SendDataTooLarge (uint32_t length, uint32_t max_length)
 Event on SLIP interface send payload too large error (Error) More...
 
__STATIC_INLINE void EvrNetSLIP_NoMemoryError (void)
 Event on SLIP interface out of memory error (Error) More...
 
__STATIC_INLINE void EvrNetSLIP_QueueAddTransmit (void)
 Event on SLIP interface add frame to transmit queue (Op) More...
 
__STATIC_INLINE void EvrNetSLIP_ModemOffline (void)
 Event on SLIP interface modem offline (Op) More...
 
__STATIC_INLINE void EvrNetSLIP_ReceiveFrame (uint32_t length)
 Event on SLIP interface receive frame (Op) More...
 
__STATIC_INLINE void EvrNetSLIP_UninitInterface (void)
 Event on SLIP interface de-initialize (Op) More...
 

Description

Events generated by the Network - SLIP Interface functions.

Function Documentation

__STATIC_INLINE void EvrNetSLIP_Close ( void  )

Event on SLIP interface netSLIP_Close start (API)

__STATIC_INLINE void EvrNetSLIP_Connect ( const char *  dial_number,
uint32_t  length 
)

Event on SLIP interface netSLIP_Connect start (API)

Parameters
dial_numberpointer to a number to dial string
lengthlength of the dial_number string
__STATIC_INLINE void EvrNetSLIP_GetOptionInvalidParameter ( void  )

Event on SLIP get-option invalid parameter (Error)

__STATIC_INLINE void EvrNetSLIP_InitInterface ( void  )

Event on SLIP interface initialize (Op)

__STATIC_INLINE void EvrNetSLIP_InvalidIpVersion ( uint8_t  ip_version)

Event on SLIP interface invalid IP version (Error)

Parameters
ip_versioninvalid IP protocol version value
__STATIC_INLINE void EvrNetSLIP_Ip4ConfigError ( void  )

Event on SLIP interface IPv4 configuration error (Error)

__STATIC_INLINE void EvrNetSLIP_Listen ( void  )

Event on SLIP interface netSLIP_Listen start (API)

__STATIC_INLINE void EvrNetSLIP_ModemOffline ( void  )

Event on SLIP interface modem offline (Op)

__STATIC_INLINE void EvrNetSLIP_NoMemoryError ( void  )

Event on SLIP interface out of memory error (Error)

__STATIC_INLINE void EvrNetSLIP_QueueAddTransmit ( void  )

Event on SLIP interface add frame to transmit queue (Op)

__STATIC_INLINE void EvrNetSLIP_ReceiveFrame ( uint32_t  length)

Event on SLIP interface receive frame (Op)

Parameters
lengthframe length in bytes
__STATIC_INLINE void EvrNetSLIP_SendDataTooLarge ( uint32_t  length,
uint32_t  max_length 
)

Event on SLIP interface send payload too large error (Error)

Parameters
lengthdata length in bytes
max_lengthmaximum length of data in bytes
__STATIC_INLINE void EvrNetSLIP_SendFrame ( uint32_t  length,
uint8_t  ip_version 
)

Event on SLIP interface send frame (Op)

Parameters
lengthframe length in bytes
ip_versioninternet protocol version
  • 0: IPv4
  • 1: IPv6
__STATIC_INLINE void EvrNetSLIP_SetIp4Address ( const uint8_t *  ip4_addr)

Event on SLIP set interface IPv4 address (Op)

Parameters
ip4_addrpointer to IPv4 address
__STATIC_INLINE void EvrNetSLIP_SetIp4Mtu ( uint16_t  mtu)

Event on SLIP set interface MTU (Op)

Parameters
mtumaximum transmission unit
  • 0: fragmentation disabled
Note
MTU is limited in the range from 296 to 1500 bytes.
__STATIC_INLINE void EvrNetSLIP_SetIp4PrimaryDNS ( const uint8_t *  ip4_addr)

Event on SLIP set interface primary DNS server (Op)

Parameters
ip4_addrpointer to IPv4 address of a DNS server
__STATIC_INLINE void EvrNetSLIP_SetIp4SecondaryDNS ( const uint8_t *  ip4_addr)

Event on SLIP set interface secondary DNS server (Op)

Parameters
ip4_addrpointer to IPv4 address of a DNS server
__STATIC_INLINE void EvrNetSLIP_SetOptionInvalidParameter ( void  )

Event on SLIP set-option invalid parameter (Error)

__STATIC_INLINE void EvrNetSLIP_ThreadCreateFailed ( void  )

Event on SLIP interface thread create failed (Error)

__STATIC_INLINE void EvrNetSLIP_UninitInterface ( void  )

Event on SLIP interface de-initialize (Op)