Snapdragon® Telematics Application Framework (TelAF) Interface Specification
taf_diagDataID_common.h
Go to the documentation of this file.
1 
2 /*
3  * ====================== WARNING ======================
4  *
5  * THE CONTENTS OF THIS FILE HAVE BEEN AUTO-GENERATED.
6  * DO NOT MODIFY IN ANY WAY.
7  *
8  * ====================== WARNING ======================
9  */
10 #ifndef TAF_DIAGDATAID_COMMON_H_INCLUDE_GUARD
11 #define TAF_DIAGDATAID_COMMON_H_INCLUDE_GUARD
12 
13 
14 #include "legato.h"
15 
16 // Interface specific includes
17 #include "taf_types_common.h"
18 
19 #define IFGEN_TAF_DIAGDATAID_PROTOCOL_ID "847204a3058eeb7f8f65a46a2fffc09e"
20 #define IFGEN_TAF_DIAGDATAID_MSG_SIZE 4114
21 
22 
23 
24 //--------------------------------------------------------------------------------------------------
28 //--------------------------------------------------------------------------------------------------
29 #define TAF_DIAGDATAID_MAX_READ_DID_PAYLOAD_SIZE 4094
30 
31 //--------------------------------------------------------------------------------------------------
35 //--------------------------------------------------------------------------------------------------
36 #define TAF_DIAGDATAID_MAX_READ_DID_SIZE 2046
37 
38 //--------------------------------------------------------------------------------------------------
42 //--------------------------------------------------------------------------------------------------
43 #define TAF_DIAGDATAID_MAX_DID_DATA_RECORD_SIZE 4092
44 
45 //--------------------------------------------------------------------------------------------------
49 //--------------------------------------------------------------------------------------------------
50 typedef enum
51 {
60 }
62 
63 
64 //--------------------------------------------------------------------------------------------------
68 //--------------------------------------------------------------------------------------------------
69 typedef enum
70 {
79 }
81 
82 
83 //--------------------------------------------------------------------------------------------------
87 //--------------------------------------------------------------------------------------------------
88 typedef struct taf_diagDataID_Service* taf_diagDataID_ServiceRef_t;
89 
90 
91 //--------------------------------------------------------------------------------------------------
95 //--------------------------------------------------------------------------------------------------
96 typedef struct taf_diagDataID_RxReadDIDMsg* taf_diagDataID_RxReadDIDMsgRef_t;
97 
98 
99 //--------------------------------------------------------------------------------------------------
103 //--------------------------------------------------------------------------------------------------
104 typedef struct taf_diagDataID_RxWriteDIDMsg* taf_diagDataID_RxWriteDIDMsgRef_t;
105 
106 
107 //--------------------------------------------------------------------------------------------------
111 //--------------------------------------------------------------------------------------------------
112 typedef struct taf_diagDataID_RxReadDIDMsgHandler* taf_diagDataID_RxReadDIDMsgHandlerRef_t;
113 
114 
115 //--------------------------------------------------------------------------------------------------
119 //--------------------------------------------------------------------------------------------------
120 typedef struct taf_diagDataID_RxWriteDIDMsgHandler* taf_diagDataID_RxWriteDIDMsgHandlerRef_t;
121 
122 
123 //--------------------------------------------------------------------------------------------------
127 //--------------------------------------------------------------------------------------------------
129 (
132  const uint16_t* dataIdPtr,
134  size_t dataIdSize,
136  void* contextPtr
138 );
139 
140 //--------------------------------------------------------------------------------------------------
144 //--------------------------------------------------------------------------------------------------
146 (
149  uint16_t dataId,
151  void* contextPtr
153 );
154 
155 
156 //--------------------------------------------------------------------------------------------------
160 //--------------------------------------------------------------------------------------------------
162 (
163  void
164 );
165 
166 
167 //--------------------------------------------------------------------------------------------------
171 //--------------------------------------------------------------------------------------------------
173 (
174  void
175 );
176 
177 
178 //--------------------------------------------------------------------------------------------------
182 //--------------------------------------------------------------------------------------------------
184 (
185  le_msg_SessionRef_t _ifgen_sessionRef
186 );
187 
188 
189 //--------------------------------------------------------------------------------------------------
193 //--------------------------------------------------------------------------------------------------
195 (
196  le_msg_SessionRef_t _ifgen_sessionRef,
197  bool isBlocking
198 );
199 
200 //--------------------------------------------------------------------------------------------------
210 //--------------------------------------------------------------------------------------------------
212 (
213  le_msg_SessionRef_t _ifgen_sessionRef
214 );
215 
216 //--------------------------------------------------------------------------------------------------
222 //--------------------------------------------------------------------------------------------------
224 (
225  le_msg_SessionRef_t _ifgen_sessionRef,
230  void* contextPtr
232 );
233 
234 //--------------------------------------------------------------------------------------------------
238 //--------------------------------------------------------------------------------------------------
240 (
241  le_msg_SessionRef_t _ifgen_sessionRef,
244 );
245 
246 //--------------------------------------------------------------------------------------------------
260 //--------------------------------------------------------------------------------------------------
262 (
263  le_msg_SessionRef_t _ifgen_sessionRef,
268  const uint8_t* dataPtr,
270  size_t dataSize
272 );
273 
274 //--------------------------------------------------------------------------------------------------
280 //--------------------------------------------------------------------------------------------------
282 (
283  le_msg_SessionRef_t _ifgen_sessionRef,
288  void* contextPtr
290 );
291 
292 //--------------------------------------------------------------------------------------------------
296 //--------------------------------------------------------------------------------------------------
298 (
299  le_msg_SessionRef_t _ifgen_sessionRef,
302 );
303 
304 //--------------------------------------------------------------------------------------------------
315 //--------------------------------------------------------------------------------------------------
317 (
318  le_msg_SessionRef_t _ifgen_sessionRef,
321  uint8_t* dataRecordPtr,
323  size_t* dataRecordSizePtr
325 );
326 
327 //--------------------------------------------------------------------------------------------------
341 //--------------------------------------------------------------------------------------------------
343 (
344  le_msg_SessionRef_t _ifgen_sessionRef,
349  uint16_t dataId
351 );
352 
353 //--------------------------------------------------------------------------------------------------
361 //--------------------------------------------------------------------------------------------------
363 (
364  le_msg_SessionRef_t _ifgen_sessionRef,
367 );
368 
369 #endif // TAF_DIAGDATAID_COMMON_H_INCLUDE_GUARD
LE_SHARED void ifgen_taf_diagDataID_CleanupCommonData(le_msg_SessionRef_t _ifgen_sessionRef)
taf_diagDataID_ReadDIDErrorCode_t
Definition: taf_diagDataID_common.h:50
LE_SHARED taf_diagDataID_RxWriteDIDMsgHandlerRef_t ifgen_taf_diagDataID_AddRxWriteDIDMsgHandler(le_msg_SessionRef_t _ifgen_sessionRef, taf_diagDataID_ServiceRef_t svcRef, taf_diagDataID_RxWriteDIDMsgHandlerFunc_t handlerPtr, void *contextPtr)
struct taf_diagDataID_RxWriteDIDMsgHandler * taf_diagDataID_RxWriteDIDMsgHandlerRef_t
Definition: taf_diagDataID_common.h:120
LE_SHARED taf_diagDataID_RxReadDIDMsgHandlerRef_t ifgen_taf_diagDataID_AddRxReadDIDMsgHandler(le_msg_SessionRef_t _ifgen_sessionRef, taf_diagDataID_ServiceRef_t svcRef, taf_diagDataID_RxReadDIDMsgHandlerFunc_t handlerPtr, void *contextPtr)
taf_diagDataID_WriteDIDErrorCode_t
Definition: taf_diagDataID_common.h:69
Definition: taf_diagDataID_common.h:77
LE_SHARED void ifgen_taf_diagDataID_RemoveRxReadDIDMsgHandler(le_msg_SessionRef_t _ifgen_sessionRef, taf_diagDataID_RxReadDIDMsgHandlerRef_t handlerRef)
Definition: taf_diagDataID_common.h:52
LE_SHARED le_result_t ifgen_taf_diagDataID_SendWriteDIDResp(le_msg_SessionRef_t _ifgen_sessionRef, taf_diagDataID_RxWriteDIDMsgRef_t rxMsgRef, taf_diagDataID_WriteDIDErrorCode_t errCode, uint16_t dataId)
LE_SHARED le_result_t ifgen_taf_diagDataID_SendReadDIDResp(le_msg_SessionRef_t _ifgen_sessionRef, taf_diagDataID_RxReadDIDMsgRef_t rxMsgRef, taf_diagDataID_ReadDIDErrorCode_t errCode, const uint8_t *dataPtr, size_t dataSize)
struct taf_diagDataID_RxReadDIDMsgHandler * taf_diagDataID_RxReadDIDMsgHandlerRef_t
Definition: taf_diagDataID_common.h:112
Definition: taf_diagDataID_common.h:56
Definition: taf_diagDataID_common.h:54
struct taf_diagDataID_Service * taf_diagDataID_ServiceRef_t
Definition: taf_diagDataID_common.h:88
LE_SHARED void ifgen_taf_diagDataID_InitCommonData(void)
LE_SHARED le_result_t ifgen_taf_diagDataID_GetWriteDataRecord(le_msg_SessionRef_t _ifgen_sessionRef, taf_diagDataID_RxWriteDIDMsgRef_t rxMsgRef, uint8_t *dataRecordPtr, size_t *dataRecordSizePtr)
Definition: taf_diagDataID_common.h:58
Definition: taf_diagDataID_common.h:75
struct taf_diagDataID_RxReadDIDMsg * taf_diagDataID_RxReadDIDMsgRef_t
Definition: taf_diagDataID_common.h:96
struct taf_diagDataID_RxWriteDIDMsg * taf_diagDataID_RxWriteDIDMsgRef_t
Definition: taf_diagDataID_common.h:104
void(* taf_diagDataID_RxReadDIDMsgHandlerFunc_t)(taf_diagDataID_RxReadDIDMsgRef_t rxMsgRef, const uint16_t *dataIdPtr, size_t dataIdSize, void *contextPtr)
Definition: taf_diagDataID_common.h:129
LE_SHARED le_result_t ifgen_taf_diagDataID_RemoveSvc(le_msg_SessionRef_t _ifgen_sessionRef, taf_diagDataID_ServiceRef_t svcRef)
Definition: taf_diagDataID_common.h:73
LE_SHARED bool ifgen_taf_diagDataID_HasLocalBinding(void)
LE_SHARED taf_diagDataID_ServiceRef_t ifgen_taf_diagDataID_GetService(le_msg_SessionRef_t _ifgen_sessionRef)
void(* taf_diagDataID_RxWriteDIDMsgHandlerFunc_t)(taf_diagDataID_RxWriteDIDMsgRef_t rxMsgRef, uint16_t dataId, void *contextPtr)
Definition: taf_diagDataID_common.h:146
le_result_t
Definition: le_basics.h:45
LE_SHARED le_result_t ifgen_taf_diagDataID_OpenSession(le_msg_SessionRef_t _ifgen_sessionRef, bool isBlocking)
struct le_msg_Session * le_msg_SessionRef_t
Definition: le_messaging.h:860
Definition: taf_diagDataID_common.h:71
LE_SHARED void ifgen_taf_diagDataID_RemoveRxWriteDIDMsgHandler(le_msg_SessionRef_t _ifgen_sessionRef, taf_diagDataID_RxWriteDIDMsgHandlerRef_t handlerRef)
#define LE_SHARED
Definition: le_basics.h:297