Linux LITE QMUX  MBPL_SDK_R25_ENG3
QmiTransaction.h
Go to the documentation of this file.
1 
6 #ifndef __QMI_TRANSACTION_H__
7 #define __QMI_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 
29 typedef void (*QMI_RESPONSE_CALLBACK)(
30  uint8_t* qmiPacket,
31  uint16_t qmiPacketSize,
32  void* pResponseCallbackContext
33  );
34 
35 
61 typedef struct QmiTransaction
62 {
63  bool inUse; // Currently allocated.
64  uint16_t transactionId;
65  uint16_t messageId;
66  QMI_RESPONSE_CALLBACK pResponseCallback;
67  void* pResponseCallbackContext;
69 
70 
85  QmiTransaction* pThis,
86  uint16_t transactionId,
87  uint16_t messageId,
88  QMI_RESPONSE_CALLBACK pResponseCallback,
89  void* pResponseCallbackContext
90 );
91 
92 #ifdef __cplusplus
93 } /* extern "C" { */
94 #endif
95 
96 #endif //__QMI_TRANSACTION_H__
Definition: QmiTransaction.h:61
void QmiTransaction_Initialize(QmiTransaction *pThis, uint16_t transactionId, uint16_t messageId, QMI_RESPONSE_CALLBACK pResponseCallback, void *pResponseCallbackContext)
void(* QMI_RESPONSE_CALLBACK)(uint8_t *qmiPacket, uint16_t qmiPacketSize, void *pResponseCallbackContext)
Definition: QmiTransaction.h:29
struct QmiTransaction QmiTransaction

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