le_smsInbox1_interface.h
Go to the documentation of this file.
1 /*
2  * ====================== WARNING ======================
3  *
4  * THE CONTENTS OF THIS FILE HAVE BEEN AUTO-GENERATED.
5  * DO NOT MODIFY IN ANY WAY.
6  *
7  * ====================== WARNING ======================
8  */
9 
174 #ifndef LE_SMSINBOX1_INTERFACE_H_INCLUDE_GUARD
175 #define LE_SMSINBOX1_INTERFACE_H_INCLUDE_GUARD
176 
177 
178 #include "legato.h"
179 
180 // Interface specific includes
181 #include "le_mdmDefs_interface.h"
182 #include "le_sim_interface.h"
183 #include "le_sms_interface.h"
184 
185 
186 //--------------------------------------------------------------------------------------------------
190 //--------------------------------------------------------------------------------------------------
192 (
193  void
194 );
195 
196 //--------------------------------------------------------------------------------------------------
200 //--------------------------------------------------------------------------------------------------
202 (
203  void
204 );
205 
206 
207 //--------------------------------------------------------------------------------------------------
211 //--------------------------------------------------------------------------------------------------
212 typedef struct le_smsInbox1_Session* le_smsInbox1_SessionRef_t;
213 
214 
215 //--------------------------------------------------------------------------------------------------
219 //--------------------------------------------------------------------------------------------------
220 #define LE_SMSINBOX1_FORMAT_UNKNOWN -1
221 
222 
223 //--------------------------------------------------------------------------------------------------
227 //--------------------------------------------------------------------------------------------------
228 #define LE_SMSINBOX1_MAX_MBOX_NAME_LEN 12
229 
230 
231 //--------------------------------------------------------------------------------------------------
235 //--------------------------------------------------------------------------------------------------
236 typedef struct le_smsInbox1_RxMessageHandler* le_smsInbox1_RxMessageHandlerRef_t;
237 
238 
239 //--------------------------------------------------------------------------------------------------
248 //--------------------------------------------------------------------------------------------------
250 (
251  uint32_t msgId,
252  void* contextPtr
253 );
254 
255 //--------------------------------------------------------------------------------------------------
262 //--------------------------------------------------------------------------------------------------
264 (
265  void
266 );
267 
268 //--------------------------------------------------------------------------------------------------
273 //--------------------------------------------------------------------------------------------------
275 (
276  le_smsInbox1_SessionRef_t sessionRef
279 );
280 
281 //--------------------------------------------------------------------------------------------------
287 //--------------------------------------------------------------------------------------------------
289 (
292 
293  void* contextPtr
295 );
296 
297 //--------------------------------------------------------------------------------------------------
301 //--------------------------------------------------------------------------------------------------
303 (
306 );
307 
308 //--------------------------------------------------------------------------------------------------
314 //--------------------------------------------------------------------------------------------------
316 (
317  uint32_t msgId
320 );
321 
322 //--------------------------------------------------------------------------------------------------
334 //--------------------------------------------------------------------------------------------------
336 (
337  uint32_t msgId,
340 
341  char* imsi,
344 
345  size_t imsiNumElements
347 );
348 
349 //--------------------------------------------------------------------------------------------------
360 //--------------------------------------------------------------------------------------------------
362 (
363  uint32_t msgId
366 );
367 
368 //--------------------------------------------------------------------------------------------------
377 //--------------------------------------------------------------------------------------------------
379 (
380  uint32_t msgId,
383 
384  char* tel,
387 
388  size_t telNumElements
390 );
391 
392 //--------------------------------------------------------------------------------------------------
402 //--------------------------------------------------------------------------------------------------
404 (
405  uint32_t msgId,
408 
409  char* timestamp,
415 
416  size_t timestampNumElements
418 );
419 
420 //--------------------------------------------------------------------------------------------------
427 //--------------------------------------------------------------------------------------------------
429 (
430  uint32_t msgId
433 );
434 
435 //--------------------------------------------------------------------------------------------------
446 //--------------------------------------------------------------------------------------------------
448 (
449  uint32_t msgId,
452 
453  char* text,
456 
457  size_t textNumElements
459 );
460 
461 //--------------------------------------------------------------------------------------------------
472 //--------------------------------------------------------------------------------------------------
474 (
475  uint32_t msgId,
478 
479  uint8_t* binPtr,
482 
483  size_t* binNumElementsPtr
485 );
486 
487 //--------------------------------------------------------------------------------------------------
500 //--------------------------------------------------------------------------------------------------
502 (
503  uint32_t msgId,
506 
507  uint8_t* pduPtr,
510 
511  size_t* pduNumElementsPtr
513 );
514 
515 //--------------------------------------------------------------------------------------------------
523 //--------------------------------------------------------------------------------------------------
524 uint32_t le_smsInbox1_GetFirst
525 (
526  le_smsInbox1_SessionRef_t sessionRef
529 );
530 
531 //--------------------------------------------------------------------------------------------------
539 //--------------------------------------------------------------------------------------------------
540 uint32_t le_smsInbox1_GetNext
541 (
542  le_smsInbox1_SessionRef_t sessionRef
545 );
546 
547 //--------------------------------------------------------------------------------------------------
557 //--------------------------------------------------------------------------------------------------
559 (
560  uint32_t msgId
563 );
564 
565 //--------------------------------------------------------------------------------------------------
572 //--------------------------------------------------------------------------------------------------
574 (
575  uint32_t msgId
578 );
579 
580 //--------------------------------------------------------------------------------------------------
587 //--------------------------------------------------------------------------------------------------
589 (
590  uint32_t msgId
593 );
594 
595 
596 #endif // LE_SMSINBOX1_INTERFACE_H_INCLUDE_GUARD
597 
void le_smsInbox1_RemoveRxMessageHandler(le_smsInbox1_RxMessageHandlerRef_t addHandlerRef)
uint32_t le_smsInbox1_GetFirst(le_smsInbox1_SessionRef_t sessionRef)
le_result_t
Definition: le_basics.h:35
le_smsInbox1_SessionRef_t le_smsInbox1_Open(void)
size_t le_smsInbox1_GetMsgLen(uint32_t msgId)
le_result_t le_smsInbox1_GetPdu(uint32_t msgId, uint8_t *pduPtr, size_t *pduNumElementsPtr)
uint32_t le_smsInbox1_GetNext(le_smsInbox1_SessionRef_t sessionRef)
void le_smsInbox1_DeleteMsg(uint32_t msgId)
le_smsInbox1_RxMessageHandlerRef_t le_smsInbox1_AddRxMessageHandler(le_smsInbox1_RxMessageHandlerFunc_t handlerPtr, void *contextPtr)
le_sms_Format_t
Definition: le_sms_interface.h:527
void le_smsInbox1_ConnectService(void)
void(* le_smsInbox1_RxMessageHandlerFunc_t)(uint32_t msgId, void *contextPtr)
Definition: le_smsInbox1_interface.h:250
le_sms_Format_t le_smsInbox1_GetFormat(uint32_t msgId)
bool le_smsInbox1_IsUnread(uint32_t msgId)
le_result_t le_smsInbox1_GetTimeStamp(uint32_t msgId, char *timestamp, size_t timestampNumElements)
void le_smsInbox1_MarkUnread(uint32_t msgId)
le_result_t le_smsInbox1_GetBinary(uint32_t msgId, uint8_t *binPtr, size_t *binNumElementsPtr)
struct le_smsInbox1_Session * le_smsInbox1_SessionRef_t
Definition: le_smsInbox1_interface.h:212
void le_smsInbox1_DisconnectService(void)
le_result_t le_smsInbox1_GetSenderTel(uint32_t msgId, char *tel, size_t telNumElements)
void le_smsInbox1_MarkRead(uint32_t msgId)
le_result_t le_smsInbox1_GetImsi(uint32_t msgId, char *imsi, size_t imsiNumElements)
le_result_t le_smsInbox1_GetText(uint32_t msgId, char *text, size_t textNumElements)
void le_smsInbox1_Close(le_smsInbox1_SessionRef_t sessionRef)
struct le_smsInbox1_RxMessageHandler * le_smsInbox1_RxMessageHandlerRef_t
Definition: le_smsInbox1_interface.h:236