le_atClient_interface.h File Reference

#include "legato.h"
#include "le_atDefs_interface.h"
#include "le_atClient_common.h"

Go to the source code of this file.

Typedefs

typedef void(* le_atClient_DisconnectHandler_t) (void *)
 

Functions

void le_atClient_ConnectService (void)
 
le_result_t le_atClient_TryConnectService (void)
 
LE_FULL_API void le_atClient_SetServerDisconnectHandler (le_atClient_DisconnectHandler_t disconnectHandler, void *contextPtr)
 
void le_atClient_DisconnectService (void)
 
le_atClient_DeviceRef_t le_atClient_Start (int fd)
 
le_result_t le_atClient_Stop (le_atClient_DeviceRef_t device)
 
le_atClient_CmdRef_t le_atClient_Create (void)
 
le_result_t le_atClient_Delete (le_atClient_CmdRef_t cmdRef)
 
le_result_t le_atClient_SetCommand (le_atClient_CmdRef_t cmdRef, const char *LE_NONNULL command)
 
le_result_t le_atClient_SetIntermediateResponse (le_atClient_CmdRef_t cmdRef, const char *LE_NONNULL intermediate)
 
le_result_t le_atClient_SetFinalResponse (le_atClient_CmdRef_t cmdRef, const char *LE_NONNULL response)
 
le_result_t le_atClient_SetText (le_atClient_CmdRef_t cmdRef, const char *LE_NONNULL text)
 
le_result_t le_atClient_SetTimeout (le_atClient_CmdRef_t cmdRef, uint32_t timer)
 
le_result_t le_atClient_SetDevice (le_atClient_CmdRef_t cmdRef, le_atClient_DeviceRef_t devRef)
 
le_result_t le_atClient_Send (le_atClient_CmdRef_t cmdRef)
 
le_result_t le_atClient_GetFirstIntermediateResponse (le_atClient_CmdRef_t cmdRef, char *intermediateRsp, size_t intermediateRspSize)
 
le_result_t le_atClient_GetNextIntermediateResponse (le_atClient_CmdRef_t cmdRef, char *intermediateRsp, size_t intermediateRspSize)
 
le_result_t le_atClient_GetFinalResponse (le_atClient_CmdRef_t cmdRef, char *finalRsp, size_t finalRspSize)
 
le_result_t le_atClient_SetCommandAndSend (le_atClient_CmdRef_t *cmdRefPtr, le_atClient_DeviceRef_t devRef, const char *LE_NONNULL command, const char *LE_NONNULL interResp, const char *LE_NONNULL finalResp, uint32_t timeout)
 
le_atClient_UnsolicitedResponseHandlerRef_t le_atClient_AddUnsolicitedResponseHandler (const char *LE_NONNULL unsolRsp, le_atClient_DeviceRef_t devRef, le_atClient_UnsolicitedResponseHandlerFunc_t handlerPtr, void *contextPtr, uint32_t lineCount)
 
void le_atClient_RemoveUnsolicitedResponseHandler (le_atClient_UnsolicitedResponseHandlerRef_t handlerRef)
 

Detailed Description

Legato AT Commands Client include file.