Linux LITE QMUX  MBPL_SDK_R25_ENG3
CtlService.h
Go to the documentation of this file.
1 
6 #ifndef __CTL_SERVICE_H__
7 #define __CTL_SERVICE_H__
8 
9 #include "QmiService.h"
10 
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14 
15 // Forward decl.
16 struct QmuxTransport;
17 
18 
31 typedef struct CtlService
32 {
33  QmiService service;
34 } CtlService;
35 
48 int CtlService_Initialize_Ex(CtlService* pThis, struct QmuxTransport* pTransport, uint8_t nWaitDelay);
49 
60 int CtlService_Initialize(CtlService* pThis, struct QmuxTransport* pTransport);
61 
68 void CtlService_ShutDown(CtlService* pThis);
69 
80 int CtlService_GetClientId(CtlService* pThis, uint8_t serviceType, uint8_t* clientId);
81 
94 int CtlService_ReleaseClientId(CtlService* pThis, uint8_t serviceType, uint8_t clientId);
95 
111  CtlService* pThis,
112  QmiService* pRegularService,
113  uint8_t serviceType,
114  QMI_INDICATION_CALLBACK pIndicationCallback,
115  void* pIndicationCallbackContext
116 );
117 
129  CtlService* pThis,
130  QmiService* pRegularService
131 );
132 
133 
134 #ifdef __cplusplus
135 } /* extern "C" { */
136 #endif
137 
138 
139 #endif //__CTL_SERVICE_H__
void(* QMI_INDICATION_CALLBACK)(uint8_t *qmiPacket, uint16_t qmiPacketSize, void *pIndicationCallbackContext)
Definition: QmiService.h:29
int CtlService_Initialize_Ex(CtlService *pThis, struct QmuxTransport *pTransport, uint8_t nWaitDelay)
Definition: CtlService.h:31
int CtlService_GetClientId(CtlService *pThis, uint8_t serviceType, uint8_t *clientId)
int CtlService_Initialize(CtlService *pThis, struct QmuxTransport *pTransport)
void CtlService_ShutDown(CtlService *pThis)
int CtlService_ShutDownRegularService(CtlService *pThis, QmiService *pRegularService)
struct CtlService CtlService
int CtlService_InitializeRegularService(CtlService *pThis, QmiService *pRegularService, uint8_t serviceType, QMI_INDICATION_CALLBACK pIndicationCallback, void *pIndicationCallbackContext)
int CtlService_ReleaseClientId(CtlService *pThis, uint8_t serviceType, uint8_t clientId)
Definition: QmiService.h:86
Definition: QmuxTransport.h:111

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