CCAux  2.20.0.0
CCAux API reference
Telematics.h
Go to the documentation of this file.
1 
2 /*
3  * Copyright (C) 2023 CrossControl AB
4  *
5  * This program is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; with
8  * version 2.1 of the License.
9  */
10 /*
11  * File description:
12  * Power control and status functions for the optional telematics add-on card
13  *
14  * Use the function GetTelematics() to get a handle to pass on to the other functions.
15  * Use the method Telematics_release(TELEMATICSHANDLE) to return the handle.
16  *
17  * Example Usage:
18  * @include telematics_example.cpp
19  *
20  ************************************************/
21 
22 #ifndef CC_TELEMATICS_H
23 #define CC_TELEMATICS_H
24 
25 #include "CCAuxErrors.h"
26 #include "CCAuxTypes.h"
27 #include "CCPlatform.h"
28 
29 #ifdef __cplusplus
30 namespace CrossControl
31 {
32 #endif
33 
34 typedef void *TELEMATICSHANDLE;
35 
55 EXTERN_C
56 CCAUXDLL_API
58 CCAUXDLL_CALLING_CONV
60 
71 EXTERN_C
72 CCAUXDLL_API
73 void CCAUXDLL_CALLING_CONV Telematics_release(TELEMATICSHANDLE);
74 
87 EXTERN_C
88 CCAUXDLL_API
90 
103 EXTERN_C
104 CCAUXDLL_API
106 
119 EXTERN_C
120 CCAUXDLL_API
122 
135 EXTERN_C
136 CCAUXDLL_API
138 
151 EXTERN_C
152 CCAUXDLL_API
154 
167 EXTERN_C
168 CCAUXDLL_API
170 
183 EXTERN_C
184 CCAUXDLL_API
186 
200 EXTERN_C
201 CCAUXDLL_API
203 
216 EXTERN_C
217 CCAUXDLL_API
219 
234 EXTERN_C
235 CCAUXDLL_API
237 
247 EXTERN_C
248 CCAUXDLL_API
250 
260 EXTERN_C
261 CCAUXDLL_API
263 
273 EXTERN_C
274 CCAUXDLL_API
276 
286 EXTERN_C
287 CCAUXDLL_API
289 
299 EXTERN_C
300 CCAUXDLL_API
302 
312 EXTERN_C
313 CCAUXDLL_API
315 
325 EXTERN_C
326 CCAUXDLL_API
328 
338 EXTERN_C
339 CCAUXDLL_API
341 
343 #ifdef __cplusplus
344 } /* namespace CrossControl */
345 #endif
346 
347 #endif /* CC_TELEMATICS_H */
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV Telematics_setGPRSStartUpPowerStatus(TELEMATICSHANDLE, CCStatus status)
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV Telematics_setGPRSPowerStatus(TELEMATICSHANDLE, CCStatus status)
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV Telematics_setWLANPowerStatus(TELEMATICSHANDLE, CCStatus status)
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV Telematics_getGPSStartUpPowerStatus(TELEMATICSHANDLE, CCStatus *status)
EXTERN_C CCAUXDLL_API TELEMATICSHANDLE CCAUXDLL_CALLING_CONV GetTelematics(void)
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV Telematics_getBTPowerStatus(TELEMATICSHANDLE, CCStatus *status)
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV Telematics_setBTPowerStatus(TELEMATICSHANDLE, CCStatus status)
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV Telematics_setGPSPowerStatus(TELEMATICSHANDLE, CCStatus status)
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV Telematics_getGPRSStartUpPowerStatus(TELEMATICSHANDLE, CCStatus *status)
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV Telematics_setGPSStartUpPowerStatus(TELEMATICSHANDLE, CCStatus status)
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV Telematics_getGPRSPowerStatus(TELEMATICSHANDLE, CCStatus *status)
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV Telematics_getWLANPowerStatus(TELEMATICSHANDLE, CCStatus *status)
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV Telematics_getTelematicsAvailable(TELEMATICSHANDLE, CCStatus *status)
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV Telematics_setBTStartUpPowerStatus(TELEMATICSHANDLE, CCStatus status)
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV Telematics_setWLANStartUpPowerStatus(TELEMATICSHANDLE, CCStatus status)
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV Telematics_getBTStartUpPowerStatus(TELEMATICSHANDLE, CCStatus *status)
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV Telematics_getGPSAntennaStatus(TELEMATICSHANDLE, CCStatus *status)
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV Telematics_getGPSPowerStatus(TELEMATICSHANDLE, CCStatus *status)
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV Telematics_getWLANStartUpPowerStatus(TELEMATICSHANDLE, CCStatus *status)
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV Telematics_release(TELEMATICSHANDLE)
Definition: About.h:30
void * TELEMATICSHANDLE
Definition: Telematics.h:34
CCStatus
Definition: CCAuxTypes.h:153
eErr
Definition: CCAuxTypes.h:162