le_atServer_common.h File Reference

#include "legato.h"
#include "le_atDefs_common.h"

Go to the source code of this file.

Macros

#define LE_ATSERVER_TEXT_MAX_LEN   4096
 
#define LE_ATSERVER_CME_ERROR   "+CME ERROR: "
 
#define LE_ATSERVER_CMS_ERROR   "+CMS ERROR: "
 

Typedefs

typedef struct le_atServer_Cmd * le_atServer_CmdRef_t
 
typedef struct le_atServer_Device * le_atServer_DeviceRef_t
 
typedef struct le_atServer_Bridge * le_atServer_BridgeRef_t
 
typedef struct le_atServer_ErrorCode * le_atServer_ErrorCodeRef_t
 
typedef struct le_atServer_CmdRegistrationHandler * le_atServer_CmdRegistrationHandlerRef_t
 
typedef struct le_atServer_CommandHandler * le_atServer_CommandHandlerRef_t
 
typedef void(* le_atServer_CmdRegistrationHandlerFunc_t) (le_atServer_CmdRef_t commandRef, void *contextPtr)
 
typedef void(* le_atServer_CommandHandlerFunc_t) (le_atServer_CmdRef_t commandRef, le_atServer_Type_t type, uint32_t parametersNumber, void *contextPtr)
 
typedef void(* le_atServer_GetTextCallbackFunc_t) (le_atServer_CmdRef_t cmdRef, le_result_t result, const char *LE_NONNULL text, uint32_t len, void *contextPtr)
 

Enumerations

enum  le_atServer_Type_t { LE_ATSERVER_TYPE_ACT = 0, LE_ATSERVER_TYPE_PARA = 1, LE_ATSERVER_TYPE_TEST = 2, LE_ATSERVER_TYPE_READ = 3 }
 
enum  le_atServer_FinalRsp_t {
  LE_ATSERVER_OK = 0, LE_ATSERVER_NO_CARRIER = 1, LE_ATSERVER_ERROR = 2, LE_ATSERVER_NO_DIALTONE = 3,
  LE_ATSERVER_BUSY = 4
}
 
enum  le_atServer_AvailableDevice_t { LE_ATSERVER_ALL_DEVICES = 0, LE_ATSERVER_SPECIFIC_DEVICE = 1 }
 

Detailed Description

Type definitions for le_atServer.