272 #ifndef LE_SMS_H_INCLUDE_GUARD
273 #define LE_SMS_H_INCLUDE_GUARD
285 const char* serviceInstanceName
307 #define LE_SMS_TIMESTAMP_MAX_LEN 21
316 #define LE_SMS_TEXT_MAX_LEN 161
325 #define LE_SMS_BINARY_MAX_LEN 140
334 #define LE_SMS_PDU_MAX_PAYLOAD 140
343 #define LE_SMS_PDU_MAX_LEN 176
558 const uint8_t* binPtr,
562 size_t binNumElements
587 const uint8_t* pduPtr,
591 size_t pduNumElements
681 size_t telNumElements
713 size_t timestampNumElements
760 size_t textNumElements
790 size_t* binNumElementsPtr
820 size_t* pduNumElementsPtr
982 #endif // LE_SMS_H_INCLUDE_GUARD
void le_sms_Delete(le_sms_MsgRef_t msgRef)
Unknown message status.
Definition: le_sms_interface.h:395
Message saved in the message storage has not been sent.
Definition: le_sms_interface.h:386
le_result_t
Definition: le_basics.h:34
struct le_sms_MsgList * le_sms_MsgListRef_t
Definition: le_sms_interface.h:414
struct le_sms_Msg * le_sms_MsgRef_t
Definition: le_sms_interface.h:406
void le_sms_MarkUnread(le_sms_MsgRef_t msgRef)
le_sms_MsgRef_t le_sms_Create(void)
void le_sms_StartClient(const char *serviceInstanceName)
le_result_t le_sms_GetTimeStamp(le_sms_MsgRef_t msgRef, char *timestamp, size_t timestampNumElements)
size_t le_sms_GetUserdataLen(le_sms_MsgRef_t msgRef)
void le_sms_RemoveRxMessageHandler(le_sms_RxMessageHandlerRef_t addHandlerRef)
Text message format.
Definition: le_sms_interface.h:357
le_sms_MsgRef_t le_sms_GetNext(le_sms_MsgListRef_t msgListRef)
le_sms_MsgListRef_t le_sms_CreateRxMsgList(void)
PDU message format.
Definition: le_sms_interface.h:354
le_sms_Format_t
Definition: le_sms_interface.h:352
le_sms_Status_t
Definition: le_sms_interface.h:375
le_result_t le_sms_GetBinary(le_sms_MsgRef_t msgRef, uint8_t *binPtr, size_t *binNumElementsPtr)
Message present in the message storage has not been read.
Definition: le_sms_interface.h:380
le_result_t le_sms_GetSenderTel(le_sms_MsgRef_t msgRef, char *tel, size_t telNumElements)
le_result_t le_sms_SetPDU(le_sms_MsgRef_t msgRef, const uint8_t *pduPtr, size_t pduNumElements)
le_result_t le_sms_DeleteFromStorage(le_sms_MsgRef_t msgRef)
le_sms_Status_t le_sms_GetStatus(le_sms_MsgRef_t msgRef)
le_result_t le_sms_GetPDU(le_sms_MsgRef_t msgRef, uint8_t *pduPtr, size_t *pduNumElementsPtr)
le_result_t le_sms_SetText(le_sms_MsgRef_t msgRef, const char *text)
size_t le_sms_GetPDULen(le_sms_MsgRef_t msgRef)
struct le_sms_RxMessageHandler * le_sms_RxMessageHandlerRef_t
Definition: le_sms_interface.h:422
le_sms_MsgRef_t le_sms_GetFirst(le_sms_MsgListRef_t msgListRef)
Unknown message format.
Definition: le_sms_interface.h:363
void(* le_sms_RxMessageHandlerFunc_t)(le_sms_MsgRef_t msgRef, void *contextPtr)
Definition: le_sms_interface.h:436
le_result_t le_sms_SetBinary(le_sms_MsgRef_t msgRef, const uint8_t *binPtr, size_t binNumElements)
Binary message format.
Definition: le_sms_interface.h:360
void le_sms_StopClient(void)
Message saved in the message storage has been sent.
Definition: le_sms_interface.h:383
Message has been sent.
Definition: le_sms_interface.h:389
le_result_t le_sms_SetDestination(le_sms_MsgRef_t msgRef, const char *dest)
le_sms_Format_t le_sms_GetFormat(le_sms_MsgRef_t msgRef)
Message has not been sent.
Definition: le_sms_interface.h:392
Message present in the message storage has been read.
Definition: le_sms_interface.h:377
le_result_t le_sms_Send(le_sms_MsgRef_t msgRef)
void le_sms_DeleteList(le_sms_MsgListRef_t msgListRef)
le_result_t le_sms_GetText(le_sms_MsgRef_t msgRef, char *text, size_t textNumElements)
le_sms_RxMessageHandlerRef_t le_sms_AddRxMessageHandler(le_sms_RxMessageHandlerFunc_t handlerPtr, void *contextPtr)
void le_sms_MarkRead(le_sms_MsgRef_t msgRef)