Network Component  
MDK Middleware for IPv4 and IPv6 Networking
 
Loading...
Searching...
No Matches
net_modem.h File Reference
#include <stddef.h>
#include <stdint.h>
#include <stdbool.h>

Data Structures

struct  DRIVER_MODEM
 Access structure of the Modem Driver. More...
 

Typedefs

typedef void(* Modem_Request_t) (const char *command, const char *response, uint32_t timeout, uint32_t retries)
 

Enumerations

enum  MODEM_STATUS {
  MODEM_OK = 0 ,
  MODEM_ERROR = 1
}
 Modem Driver Status of executed operation. More...
 
enum  MODEM_EVENT {
  MODEM_EVENT_OK ,
  MODEM_EVENT_TIMEOUT ,
  MODEM_EVENT_RESPONSE ,
  MODEM_EVENT_ERROR
}
 Modem Driver Callback Events. More...
 

Typedef Documentation

◆ Modem_Request_t

typedef void(* Modem_Request_t) (const char *command, const char *response, uint32_t timeout, uint32_t retries)

Enumeration Type Documentation

◆ MODEM_EVENT

Modem Driver Callback Events.

Enumerator
MODEM_EVENT_OK 

Operation succeeded.

MODEM_EVENT_TIMEOUT 

Operation timeout.

MODEM_EVENT_RESPONSE 

Modem response returned.

MODEM_EVENT_ERROR 

Unspecified error.

◆ MODEM_STATUS

Modem Driver Status of executed operation.

Enumerator
MODEM_OK 

Operation succeeded.

MODEM_ERROR 

Unspecified error.