Linux LITE MBIM  MBPL_SDK_R25_ENG3
MbimTransaction.h
Go to the documentation of this file.
1 
6 #ifndef __MBIM_TRANSACTION_H__
7 #define __MBIM_TRANSACTION_H__
8 
9 #include <stdio.h>
10 #include <stdint.h>
11 #include <stdbool.h>
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
33 typedef void (*MBIM_DONE_CALLBACK)(
34  uint32_t status,
35  uint32_t transactionId,
36  uint8_t* informationBuffer,
37  uint32_t informationBufferLength,
38  void* pDoneCallbackContext
39  );
40 
41 
72 typedef struct MbimTransaction
73 {
74  struct MbimTransaction* pPrev;
75  struct MbimTransaction* pNext;
76 
77  uint32_t transactionId;
78  MBIM_DONE_CALLBACK pDoneCallback;
79  void* pDoneCallbackContext;
80 
81  uint32_t status;
82 
84 
85 
99  MbimTransaction* pThis,
100  uint32_t transactionId,
101  MBIM_DONE_CALLBACK pDoneCallback,
102  void* pDoneCallbackContext
103 );
104 
105 
106 #ifdef __cplusplus
107 } /* extern "C" { */
108 #endif
109 
110 #endif //__MBIM_TRANSACTION_H__
void MbimTransaction_Initialize(MbimTransaction *pThis, uint32_t transactionId, MBIM_DONE_CALLBACK pDoneCallback, void *pDoneCallbackContext)
void(* MBIM_DONE_CALLBACK)(uint32_t status, uint32_t transactionId, uint8_t *informationBuffer, uint32_t informationBufferLength, void *pDoneCallbackContext)
Definition: MbimTransaction.h:33
Definition: MbimTransaction.h:72
struct MbimTransaction MbimTransaction

Copyright (c) 2011-2020 Sierra Wireless, Inc. All rights reserved