![]() |
CCAux
2.7.2.0
CCAux API reference
|
Data Structures | |
struct | BatteryTimerType |
struct | received_video |
struct | video_dec_command |
struct | version_info |
struct | BuzzerSetup |
struct | LedTimingType |
struct | FpgaLedTimingType |
struct | LedColorMixType |
struct | TimerType |
struct | UpgradeStatus |
Typedefs | |
typedef void * | ABOUTHANDLE |
typedef void * | ADCHANDLE |
typedef void * | AUXVERSIONHANDLE |
typedef void * | BACKLIGHTHANDLE |
typedef void * | BATTERYHANDLE |
typedef void * | BUZZERHANDLE |
typedef void * | CANSETTINGHANDLE |
typedef struct version_info | VersionType |
typedef void * | CFGINHANDLE |
typedef void * | CONFIGHANDLE |
typedef void * | DIAGNOSTICHANDLE |
typedef void * | DIGIOHANDLE |
typedef void * | FIRMWAREUPGHANDLE |
typedef void * | FRONTLEDHANDLE |
typedef void * | LIGHTSENSORHANDLE |
typedef void * | POWERHANDLE |
typedef enum CrossControl::PowerMgrConf | _PowerMgrConf |
typedef enum CrossControl::PowerMgrStatus | _PowerMgrStatus |
typedef void * | POWERMGRHANDLE |
typedef void * | PWMOUTHANDLE |
typedef void * | SMARTHANDLE |
typedef void * | TELEMATICSHANDLE |
typedef void * | TOUCHSCREENHANDLE |
typedef void * | TOUCHSCREENCALIBHANDLE |
typedef void * | VIDEOHANDLE |
Functions | |
EXTERN_C CCAUXDLL_API ABOUTHANDLE CCAUXDLL_CALLING_CONV | GetAbout (void) |
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV | About_release (ABOUTHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getMainPCBSerial (ABOUTHANDLE, char *buff, int len) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getUnitSerial (ABOUTHANDLE, char *buff, int len) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getMainPCBArt (ABOUTHANDLE, char *buff, int length) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getMainManufacturingDate (ABOUTHANDLE, char *buff, int len) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getMainHWversion (ABOUTHANDLE, char *buff, int len) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getMainProdRev (ABOUTHANDLE, char *buff, int len) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getMainProdArtNr (ABOUTHANDLE, char *buff, int len) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getNrOfETHConnections (ABOUTHANDLE, unsigned char *NrOfConnections) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getNrOfCANConnections (ABOUTHANDLE, unsigned char *NrOfConnections) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getNrOfVideoConnections (ABOUTHANDLE, unsigned char *NrOfConnections) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getNrOfUSBConnections (ABOUTHANDLE, unsigned char *NrOfConnections) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getNrOfSerialConnections (ABOUTHANDLE, unsigned char *NrOfConnections) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getNrOfDigIOConnections (ABOUTHANDLE, unsigned char *NrOfConnections) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getIsDisplayAvailable (ABOUTHANDLE, bool *available) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getIsTouchScreenAvailable (ABOUTHANDLE, bool *available) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getDisplayResolution (ABOUTHANDLE, char *buff, int len) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getAddOnPCBSerial (ABOUTHANDLE, char *buff, int len) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getAddOnPCBArt (ABOUTHANDLE, char *buff, int length) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getAddOnManufacturingDate (ABOUTHANDLE, char *buff, int len) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getAddOnHWversion (ABOUTHANDLE, char *buff, int len) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getIsWLANMounted (ABOUTHANDLE, bool *mounted) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getIsGPSMounted (ABOUTHANDLE, bool *mounted) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getIsGPRSMounted (ABOUTHANDLE, bool *mounted) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getIsBTMounted (ABOUTHANDLE, bool *mounted) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getFrontPcbRev (ABOUTHANDLE, unsigned char *major, unsigned char *minor) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getIsIOExpanderMounted (ABOUTHANDLE, bool *mounted) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getIOExpanderValue (ABOUTHANDLE, unsigned short *value) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_hasOsBooted (ABOUTHANDLE, bool *bootComplete) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getIsAnybusMounted (ABOUTHANDLE, bool *mounted) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getNrOfCfgInConnections (ABOUTHANDLE, unsigned char *NrOfConnections) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getNrOfPWMOutConnections (ABOUTHANDLE, unsigned char *NrOfConnections) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getNrOfButtons (ABOUTHANDLE, int *numbuttons) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getUserEepromData (ABOUTHANDLE, char *buff, unsigned short length) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_setUserEepromData (ABOUTHANDLE, unsigned short startpos, const char *buff, unsigned short length) |
EXTERN_C CCAUXDLL_API ADCHANDLE CCAUXDLL_CALLING_CONV | GetAdc (void) |
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV | Adc_release (ADCHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Adc_getVoltage (ADCHANDLE, VoltageEnum selection, double *value) |
EXTERN_C CCAUXDLL_API AUXVERSIONHANDLE CCAUXDLL_CALLING_CONV | GetAuxVersion (void) |
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV | AuxVersion_release (AUXVERSIONHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | AuxVersion_getFPGAVersion (AUXVERSIONHANDLE, unsigned char *major, unsigned char *minor, unsigned char *release, unsigned char *build) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | AuxVersion_getSSVersion (AUXVERSIONHANDLE, unsigned char *major, unsigned char *minor, unsigned char *release, unsigned char *build) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | AuxVersion_getFrontVersion (AUXVERSIONHANDLE, unsigned char *major, unsigned char *minor, unsigned char *release, unsigned char *build) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | AuxVersion_getCCAuxVersion (AUXVERSIONHANDLE, unsigned char *major, unsigned char *minor, unsigned char *release, unsigned char *build) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | AuxVersion_getOSVersion (AUXVERSIONHANDLE, unsigned char *major, unsigned char *minor, unsigned char *release, unsigned char *build) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | AuxVersion_getCCAuxDrvVersion (AUXVERSIONHANDLE, unsigned char *major, unsigned char *minor, unsigned char *release, unsigned char *build) |
EXTERN_C CCAUXDLL_API BACKLIGHTHANDLE CCAUXDLL_CALLING_CONV | GetBacklight (void) |
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV | Backlight_release (BACKLIGHTHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Backlight_getIntensity (BACKLIGHTHANDLE, unsigned char *intensity) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Backlight_setIntensity (BACKLIGHTHANDLE, unsigned char intensity) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Backlight_getStatus (BACKLIGHTHANDLE, unsigned char *status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Backlight_getHWStatus (BACKLIGHTHANDLE, bool *status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Backlight_startAutomaticBL (BACKLIGHTHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Backlight_stopAutomaticBL (BACKLIGHTHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Backlight_getAutomaticBLStatus (BACKLIGHTHANDLE, unsigned char *status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Backlight_setAutomaticBLParams (BACKLIGHTHANDLE, bool bSoftTransitions) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Backlight_getAutomaticBLParams (BACKLIGHTHANDLE, bool *bSoftTransitions, double *k) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Backlight_setAutomaticBLFilter (BACKLIGHTHANDLE, unsigned long averageWndSize, unsigned long rejectWndSize, unsigned long rejectDeltaInLux, LightSensorSamplingMode mode) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Backlight_getAutomaticBLFilter (BACKLIGHTHANDLE, unsigned long *averageWndSize, unsigned long *rejectWndSize, unsigned long *rejectDeltaInLux, LightSensorSamplingMode *mode) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Backlight_getLedDimming (BACKLIGHTHANDLE, CCStatus *status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Backlight_setLedDimming (BACKLIGHTHANDLE, CCStatus status) |
EXTERN_C CCAUXDLL_API BATTERYHANDLE CCAUXDLL_CALLING_CONV | GetBattery (void) |
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV | Battery_release (BATTERYHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Battery_isBatteryPresent (BATTERYHANDLE, bool *batteryIsPresent) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Battery_getBatteryVoltageStatus (BATTERYHANDLE, unsigned char *batteryVoltagePercent) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Battery_getBatteryChargingStatus (BATTERYHANDLE, ChargingStatus *status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Battery_getPowerSource (BATTERYHANDLE, PowerSource *status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Battery_getBatteryTemp (BATTERYHANDLE, signed short *temperature) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Battery_getHwErrorStatus (BATTERYHANDLE, ErrorStatus *errorCode) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Battery_getTimer (BATTERYHANDLE, BatteryTimerType *times) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Battery_getMinMaxTemp (BATTERYHANDLE, signed short *minTemp, signed short *maxTemp) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Battery_getBatteryHWversion (BATTERYHANDLE, char *buff, int len) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Battery_getBatterySwVersion (BATTERYHANDLE, unsigned short *major, unsigned short *minor, unsigned short *release, unsigned short *build) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Battery_getBatterySerial (BATTERYHANDLE, char *buff, int len) |
EXTERN_C CCAUXDLL_API BUZZERHANDLE CCAUXDLL_CALLING_CONV | GetBuzzer (void) |
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV | Buzzer_release (BUZZERHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Buzzer_getFrequency (BUZZERHANDLE, unsigned short *frequency) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Buzzer_getVolume (BUZZERHANDLE, unsigned short *volume) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Buzzer_getTrigger (BUZZERHANDLE, bool *trigger) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Buzzer_setFrequency (BUZZERHANDLE, unsigned short frequency) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Buzzer_setVolume (BUZZERHANDLE, unsigned short volume) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Buzzer_setTrigger (BUZZERHANDLE, bool trigger) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Buzzer_buzze (BUZZERHANDLE, int time, bool blocking) |
EXTERN_C CCAUXDLL_API CANSETTINGHANDLE CCAUXDLL_CALLING_CONV | GetCanSetting (void) |
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV | CanSetting_release (CANSETTINGHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | CanSetting_getBaudrate (CANSETTINGHANDLE, unsigned char net, unsigned short *baudrate) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | CanSetting_getFrameType (CANSETTINGHANDLE, unsigned char net, CanFrameType *frameType) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | CanSetting_setBaudrate (CANSETTINGHANDLE, unsigned char net, unsigned short baudrate) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | CanSetting_setFrameType (CANSETTINGHANDLE, unsigned char net, CanFrameType frameType) |
EXTERN_C CCAUXDLL_API char const *CCAUXDLL_CALLING_CONV | GetErrorStringA (eErr errCode) |
EXTERN_C CCAUXDLL_API wchar_t const *CCAUXDLL_CALLING_CONV | GetErrorStringW (eErr errCode) |
EXTERN_C CCAUXDLL_API CFGINHANDLE CCAUXDLL_CALLING_CONV | GetCfgIn (void) |
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV | CfgIn_release (CFGINHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | CfgIn_setCfgInMode (CFGINHANDLE, unsigned char channel, CfgInModeEnum set_mode) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | CfgIn_getCfgInMode (CFGINHANDLE, unsigned char channel, CfgInModeEnum *get_mode) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | CfgIn_getValue (CFGINHANDLE, unsigned char channel, unsigned short *sample_value) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | CfgIn_getPwmValue (CFGINHANDLE, unsigned char channel, float *frequency, unsigned char *duty_cycle) |
EXTERN_C CCAUXDLL_API CONFIGHANDLE CCAUXDLL_CALLING_CONV | GetConfig () |
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV | Config_release (CONFIGHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_getStartupTriggerConfig (CONFIGHANDLE, TriggerConf *config) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_getShortButtonPressAction (CONFIGHANDLE, PowerAction *action) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_getLongButtonPressAction (CONFIGHANDLE, PowerAction *action) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_getOnOffSigAction (CONFIGHANDLE, PowerAction *action) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_getFrontBtnTrigTime (CONFIGHANDLE, unsigned short *triggertime) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_getExtOnOffSigTrigTime (CONFIGHANDLE, unsigned long *triggertime) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_getButtonFunction (CONFIGHANDLE, unsigned char button_number, ButtonConfigEnum *button_config) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_getSuspendMaxTime (CONFIGHANDLE, unsigned short *maxTime) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_getCanStartupPowerConfig (CONFIGHANDLE, CCStatus *status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_getVideoStartupPowerConfig (CONFIGHANDLE, unsigned char *config) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_getExtFanStartupPowerConfig (CONFIGHANDLE, CCStatus *status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_getStartupVoltageConfig (CONFIGHANDLE, double *voltage) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_getHeatingTempLimit (CONFIGHANDLE, signed short *temperature) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_getPowerOnStartup (CONFIGHANDLE, CCStatus *status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_setStartupTriggerConfig (CONFIGHANDLE, TriggerConf conf) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_setShortButtonPressAction (CONFIGHANDLE, PowerAction action) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_setLongButtonPressAction (CONFIGHANDLE, PowerAction action) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_setOnOffSigAction (CONFIGHANDLE, PowerAction action) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_setFrontBtnTrigTime (CONFIGHANDLE, unsigned short triggertime) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_setExtOnOffSigTrigTime (CONFIGHANDLE, unsigned long triggertime) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_setButtonFunction (CONFIGHANDLE, unsigned char button_number, ButtonConfigEnum button_config) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_setSuspendMaxTime (CONFIGHANDLE, unsigned short maxTime) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_setCanStartupPowerConfig (CONFIGHANDLE, CCStatus status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_setVideoStartupPowerConfig (CONFIGHANDLE, unsigned char config) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_setExtFanStartupPowerConfig (CONFIGHANDLE, CCStatus status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_setStartupVoltageConfig (CONFIGHANDLE, double voltage) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_setHeatingTempLimit (CONFIGHANDLE, signed short temperature) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_setPowerOnStartup (CONFIGHANDLE, CCStatus status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_setRS485Enabled (CONFIGHANDLE, RS4XXPort port, bool enabled) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Config_getRS485Enabled (CONFIGHANDLE, RS4XXPort port, bool *enabled) |
EXTERN_C CCAUXDLL_API DIAGNOSTICHANDLE CCAUXDLL_CALLING_CONV | GetDiagnostic (void) |
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV | Diagnostic_release (DIAGNOSTICHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Diagnostic_getSSTemp (DIAGNOSTICHANDLE, signed short *temperature) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Diagnostic_getPCBTemp (DIAGNOSTICHANDLE, signed short *temperature) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Diagnostic_getPMTemp (DIAGNOSTICHANDLE, unsigned char index, signed short *temperature, JidaSensorType *jst) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Diagnostic_getStartupReason (DIAGNOSTICHANDLE, unsigned short *reason) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Diagnostic_getShutDownReason (DIAGNOSTICHANDLE, unsigned short *reason) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Diagnostic_getHwErrorStatus (DIAGNOSTICHANDLE, unsigned short *errorCode) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Diagnostic_getTimer (DIAGNOSTICHANDLE, TimerType *times) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Diagnostic_getMinMaxTemp (DIAGNOSTICHANDLE, signed short *minTemp, signed short *maxTemp) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Diagnostic_getPowerCycles (DIAGNOSTICHANDLE, unsigned short *powerCycles) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Diagnostic_clearHwErrorStatus (DIAGNOSTICHANDLE) |
EXTERN_C CCAUXDLL_API char const *CCAUXDLL_CALLING_CONV | GetHwErrorStatusStringA (unsigned short errCode) |
EXTERN_C CCAUXDLL_API wchar_t const *CCAUXDLL_CALLING_CONV | GetHwErrorStatusStringW (unsigned short errCode) |
EXTERN_C CCAUXDLL_API char const *CCAUXDLL_CALLING_CONV | GetStartupReasonStringA (unsigned short code) |
EXTERN_C CCAUXDLL_API wchar_t const *CCAUXDLL_CALLING_CONV | GetStartupReasonStringW (unsigned short code) |
EXTERN_C CCAUXDLL_API DIGIOHANDLE CCAUXDLL_CALLING_CONV | GetDigIO (void) |
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV | DigIO_release (DIGIOHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | DigIO_getDigIO (DIGIOHANDLE, unsigned char *status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | DigIO_setDigIO (DIGIOHANDLE, unsigned char state) |
EXTERN_C CCAUXDLL_API FIRMWAREUPGHANDLE CCAUXDLL_CALLING_CONV | GetFirmwareUpgrade (void) |
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV | FirmwareUpgrade_release (FIRMWAREUPGHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FirmwareUpgrade_startFpgaUpgrade (FIRMWAREUPGHANDLE, const char *filename, bool blocking) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FirmwareUpgrade_startFpgaVerification (FIRMWAREUPGHANDLE, const char *filename, bool blocking) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FirmwareUpgrade_startSSUpgrade (FIRMWAREUPGHANDLE, const char *filename, bool blocking) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FirmwareUpgrade_startSSVerification (FIRMWAREUPGHANDLE, const char *filename, bool blocking) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FirmwareUpgrade_startFrontUpgrade (FIRMWAREUPGHANDLE, const char *filename, bool blocking) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FirmwareUpgrade_startFrontVerification (FIRMWAREUPGHANDLE, const char *filename, bool blocking) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FirmwareUpgrade_getUpgradeStatus (FIRMWAREUPGHANDLE, UpgradeStatus *status, bool blocking) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FirmwareUpgrade_shutDown (FIRMWAREUPGHANDLE) |
EXTERN_C CCAUXDLL_API FRONTLEDHANDLE CCAUXDLL_CALLING_CONV | GetFrontLED (void) |
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV | FrontLED_release (FRONTLEDHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FrontLED_getSignal (FRONTLEDHANDLE, double *frequency, unsigned char *dutyCycle) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FrontLED_getOnTime (FRONTLEDHANDLE, unsigned char *onTime) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FrontLED_getOffTime (FRONTLEDHANDLE, unsigned char *offTime) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FrontLED_getIdleTime (FRONTLEDHANDLE, unsigned char *idleTime) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FrontLED_getNrOfPulses (FRONTLEDHANDLE, unsigned char *nrOfPulses) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FrontLED_getColor (FRONTLEDHANDLE, unsigned char *red, unsigned char *green, unsigned char *blue) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FrontLED_getStandardColor (FRONTLEDHANDLE, CCAuxColor *color) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FrontLED_getEnabledDuringStartup (FRONTLEDHANDLE, CCStatus *status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FrontLED_setSignal (FRONTLEDHANDLE, double frequency, unsigned char dutyCycle) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FrontLED_setOnTime (FRONTLEDHANDLE, unsigned char onTime) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FrontLED_setOffTime (FRONTLEDHANDLE, unsigned char offTime) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FrontLED_setIdleTime (FRONTLEDHANDLE, unsigned char idleTime) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FrontLED_setNrOfPulses (FRONTLEDHANDLE, unsigned char nrOfPulses) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FrontLED_setColor (FRONTLEDHANDLE, unsigned char red, unsigned char green, unsigned char blue) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FrontLED_setStandardColor (FRONTLEDHANDLE, CCAuxColor color) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FrontLED_setOff (FRONTLEDHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | FrontLED_setEnabledDuringStartup (FRONTLEDHANDLE, CCStatus status) |
EXTERN_C CCAUXDLL_API LIGHTSENSORHANDLE CCAUXDLL_CALLING_CONV | GetLightsensor (void) |
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV | Lightsensor_release (LIGHTSENSORHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Lightsensor_getIlluminance (LIGHTSENSORHANDLE, unsigned short *value) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Lightsensor_getIlluminance2 (LIGHTSENSORHANDLE, unsigned short *value, unsigned char *ch0, unsigned char *ch1) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Lightsensor_getAverageIlluminance (LIGHTSENSORHANDLE, unsigned short *value) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Lightsensor_startAverageCalc (LIGHTSENSORHANDLE, unsigned long averageWndSize, unsigned long rejectWndSize, unsigned long rejectDeltaInLux, LightSensorSamplingMode mode) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Lightsensor_stopAverageCalc (LIGHTSENSORHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Lightsensor_getOperatingRange (LIGHTSENSORHANDLE, LightSensorOperationRange *range) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Lightsensor_setOperatingRange (LIGHTSENSORHANDLE, LightSensorOperationRange range) |
EXTERN_C CCAUXDLL_API POWERHANDLE CCAUXDLL_CALLING_CONV | GetPower (void) |
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV | Power_release (POWERHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Power_getBLPowerStatus (POWERHANDLE, CCStatus *status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Power_getCanPowerStatus (POWERHANDLE, CCStatus *status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Power_getVideoPowerStatus (POWERHANDLE, unsigned char *videoStatus) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Power_getExtFanPowerStatus (POWERHANDLE, CCStatus *status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Power_getButtonPowerTransitionStatus (POWERHANDLE, ButtonPowerTransitionStatus *status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Power_getVideoOCDStatus (POWERHANDLE, OCDStatus *status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Power_getCanOCDStatus (POWERHANDLE, OCDStatus *status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Power_setBLPowerStatus (POWERHANDLE, CCStatus status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Power_setCanPowerStatus (POWERHANDLE, CCStatus status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Power_setVideoPowerStatus (POWERHANDLE, unsigned char status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Power_setExtFanPowerStatus (POWERHANDLE, CCStatus status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Power_ackPowerRequest (POWERHANDLE) |
EXTERN_C CCAUXDLL_API POWERMGRHANDLE CCAUXDLL_CALLING_CONV | GetPowerMgr (void) |
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV | PowerMgr_release (POWERMGRHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | PowerMgr_registerControlledSuspendOrShutDown (POWERMGRHANDLE, PowerMgrConf conf) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | PowerMgr_getConfiguration (POWERMGRHANDLE, PowerMgrConf *conf) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | PowerMgr_getPowerMgrStatus (POWERMGRHANDLE, PowerMgrStatus *status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | PowerMgr_setAppReadyForSuspendOrShutdown (POWERMGRHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | PowerMgr_hasResumed (POWERMGRHANDLE, bool *resumed) |
EXTERN_C CCAUXDLL_API PWMOUTHANDLE CCAUXDLL_CALLING_CONV | GetPWMOut (void) |
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV | PWMOut_release (PWMOUTHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | PWMOut_setPWMOutputChannelDutyCycle (PWMOUTHANDLE, unsigned char channel, unsigned char duty_cycle) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | PWMOut_setPWMOutputChannelFrequency (PWMOUTHANDLE, unsigned char channel, float frequency) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | PWMOut_getPWMOutputChannelDutyCycle (PWMOUTHANDLE, unsigned char channel, unsigned char *duty_cycle) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | PWMOut_getPWMOutputChannelFrequency (PWMOUTHANDLE, unsigned char channel, float *frequency) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | PWMOut_getPWMOutputStatus (PWMOUTHANDLE, unsigned char *status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | PWMOut_setPWMOutOff (PWMOUTHANDLE, unsigned char channel) |
EXTERN_C CCAUXDLL_API SMARTHANDLE CCAUXDLL_CALLING_CONV | GetSmart (void) |
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV | Smart_release (SMARTHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Smart_getRemainingLifeTime (SMARTHANDLE, unsigned char *lifetimepercent) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Smart_getRemainingLifeTime2 (SMARTHANDLE, unsigned char *lifetimepercent) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Smart_getDeviceSerial (SMARTHANDLE, char *buff, int len) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Smart_getDeviceSerial2 (SMARTHANDLE, char *buff, int len) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Smart_getInitialTime (SMARTHANDLE, time_t *time) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Smart_getInitialTime2 (SMARTHANDLE, time_t *time) |
EXTERN_C CCAUXDLL_API TELEMATICSHANDLE CCAUXDLL_CALLING_CONV | GetTelematics (void) |
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV | Telematics_release (TELEMATICSHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Telematics_getTelematicsAvailable (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_getGPRSStartUpPowerStatus (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_getWLANStartUpPowerStatus (TELEMATICSHANDLE, CCStatus *status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Telematics_getBTPowerStatus (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_getGPSPowerStatus (TELEMATICSHANDLE, CCStatus *status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Telematics_getGPSStartUpPowerStatus (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_setGPRSPowerStatus (TELEMATICSHANDLE, CCStatus status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Telematics_setGPRSStartUpPowerStatus (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_setWLANStartUpPowerStatus (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_setBTStartUpPowerStatus (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_setGPSStartUpPowerStatus (TELEMATICSHANDLE, CCStatus status) |
EXTERN_C CCAUXDLL_API TOUCHSCREENHANDLE CCAUXDLL_CALLING_CONV | GetTouchScreen (void) |
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV | TouchScreen_release (TOUCHSCREENHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | TouchScreen_getMode (TOUCHSCREENHANDLE, TouchScreenModeSettings *config) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | TouchScreen_getMouseRightClickTime (TOUCHSCREENHANDLE, unsigned short *time) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | TouchScreen_setMode (TOUCHSCREENHANDLE, TouchScreenModeSettings config) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | TouchScreen_setMouseRightClickTime (TOUCHSCREENHANDLE, unsigned short time) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | TouchScreen_setAdvancedSetting (TOUCHSCREENHANDLE, TSAdvancedSettingsParameter param, unsigned short data) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | TouchScreen_getAdvancedSetting (TOUCHSCREENHANDLE, TSAdvancedSettingsParameter param, unsigned short *data) |
EXTERN_C CCAUXDLL_API TOUCHSCREENCALIBHANDLE CCAUXDLL_CALLING_CONV | GetTouchScreenCalib (void) |
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV | TouchScreenCalib_release (TOUCHSCREENCALIBHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | TouchScreenCalib_setMode (TOUCHSCREENCALIBHANDLE, CalibrationModeSettings mode) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | TouchScreenCalib_getMode (TOUCHSCREENCALIBHANDLE, CalibrationModeSettings *mode) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | TouchScreenCalib_setCalibrationPoint (TOUCHSCREENCALIBHANDLE, unsigned char pointNr) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | TouchScreenCalib_checkCalibrationPointFinished (TOUCHSCREENCALIBHANDLE, bool *finished, unsigned char pointNr) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | TouchScreenCalib_getConfigParam (TOUCHSCREENCALIBHANDLE, CalibrationConfigParam param, unsigned short *value) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | TouchScreenCalib_setConfigParam (TOUCHSCREENCALIBHANDLE, CalibrationConfigParam param, unsigned short value) |
EXTERN_C CCAUXDLL_API VIDEOHANDLE CCAUXDLL_CALLING_CONV | GetVideo (void) |
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV | Video_release (VIDEOHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_init (VIDEOHANDLE, unsigned char deviceNr) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_showVideo (VIDEOHANDLE, bool show) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_setDeInterlaceMode (VIDEOHANDLE, DeInterlaceMode mode) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_getDeInterlaceMode (VIDEOHANDLE, DeInterlaceMode *mode) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_setMirroring (VIDEOHANDLE, CCStatus mode) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_getMirroring (VIDEOHANDLE, CCStatus *mode) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_setRotation (VIDEOHANDLE, VideoRotation rotation) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_getRotation (VIDEOHANDLE, VideoRotation *rotation) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_setActiveChannel (VIDEOHANDLE, VideoChannel channel) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_getActiveChannel (VIDEOHANDLE, VideoChannel *channel) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_setColorKeys (VIDEOHANDLE, unsigned char rKey, unsigned char gKey, unsigned char bKey) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_getColorKeys (VIDEOHANDLE, unsigned char *rKey, unsigned char *gKey, unsigned char *bKey) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_setVideoArea (VIDEOHANDLE, unsigned short topLeftX, unsigned short topLeftY, unsigned short bottomRightX, unsigned short bottomRightY) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_getRawImage (VIDEOHANDLE, unsigned short *width, unsigned short *height, float *frameRate) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_getVideoArea (VIDEOHANDLE, unsigned short *topLeftX, unsigned short *topLeftY, unsigned short *bottomRigthX, unsigned short *bottomRigthY) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_getVideoStandard (VIDEOHANDLE, videoStandard *standard) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_getStatus (VIDEOHANDLE, unsigned char *status) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_setScaling (VIDEOHANDLE, float x, float y) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_getScaling (VIDEOHANDLE, float *x, float *y) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_activateSnapshot (VIDEOHANDLE, bool activate) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_takeSnapshot (VIDEOHANDLE, const char *path, bool bInterlaced) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_takeSnapshotRaw (VIDEOHANDLE, char *rawImgBuffer, unsigned long rawImgBuffSize, bool bInterlaced) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_takeSnapshotBmp (VIDEOHANDLE, char **bmpBuffer, unsigned long *bmpBufSize, bool bInterlaced, bool bNTSCFormat) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_createBitmap (VIDEOHANDLE, char **bmpBuffer, unsigned long *bmpBufSize, const char *rawImgBuffer, unsigned long rawImgBufSize, bool bInterlaced, bool bNTSCFormat) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_freeBmpBuffer (VIDEOHANDLE, char *bmpBuffer) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_minimize (VIDEOHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_restore (VIDEOHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_setDecoderReg (VIDEOHANDLE, unsigned char decoderRegister, unsigned char registerValue) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_getDecoderReg (VIDEOHANDLE, unsigned char decoderRegister, unsigned char *registerValue) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_setCropping (VIDEOHANDLE, unsigned char top, unsigned char left, unsigned char bottom, unsigned char right) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_getCropping (VIDEOHANDLE, unsigned char *top, unsigned char *left, unsigned char *bottom, unsigned char *right) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_showFrame (VIDEOHANDLE) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_setGraphicsOverlay (VIDEOHANDLE, CCStatus mode) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | Video_getGraphicsOverlay (VIDEOHANDLE, CCStatus *mode) |
Variables | |
const unsigned char | Video1Conf = (1 << 0) |
const unsigned char | Video2Conf = (1 << 1) |
const unsigned char | Video3Conf = (1 << 2) |
const unsigned char | Video4Conf = (1 << 3) |
const unsigned char | DigitalIn_1 = (1 << 0) |
const unsigned char | DigitalIn_2 = (1 << 1) |
const unsigned char | DigitalIn_3 = (1 << 2) |
const unsigned char | DigitalIn_4 = (1 << 3) |
typedef enum CrossControl::PowerMgrConf _PowerMgrConf |
Enumeration of the settings that can be used with the PowerMgr system.
typedef enum CrossControl::PowerMgrStatus _PowerMgrStatus |
typedef void* ABOUTHANDLE |
typedef void* ADCHANDLE |
typedef void* AUXVERSIONHANDLE |
typedef void* BACKLIGHTHANDLE |
typedef void* BATTERYHANDLE |
typedef void* BUZZERHANDLE |
typedef void* CANSETTINGHANDLE |
typedef void* CFGINHANDLE |
typedef void* CONFIGHANDLE |
typedef void* DIAGNOSTICHANDLE |
typedef void* DIGIOHANDLE |
typedef void* FIRMWAREUPGHANDLE |
typedef void* FRONTLEDHANDLE |
typedef void* LIGHTSENSORHANDLE |
typedef void* POWERHANDLE |
typedef void* POWERMGRHANDLE |
typedef void* PWMOUTHANDLE |
typedef void* SMARTHANDLE |
typedef void* TELEMATICSHANDLE |
typedef void* TOUCHSCREENCALIBHANDLE |
typedef void* TOUCHSCREENHANDLE |
typedef struct version_info VersionType |
typedef void* VIDEOHANDLE |
enum ButtonConfigEnum |
Enumeration of Buffon Configuration (bitfield representation)
Current status for front panel button and on/off signal. If any of them generate a suspend or shutdown event, it may also be read, briefly. When the button/signal is released, typically BPTS_Suspend or BPTS_ShutDown follows. Note: Do not rely on getting BPTS_ShutDown or BPTS_Suspend from user applications. The system is likely to start shutting down before the status can be read. Instead, use the PowerMgr class for handling system shutdown/suspend events.
Touch screen calibration parameters
enum CanFrameType |
enum CCAuxColor |
enum CCStatus |
enum CfgInModeEnum |
Enumeration of ConfigurableInput modes
enum ChargingStatus |
Current charging status of the battery.
enum DeInterlaceMode |
enum eErr |
Error code enumeration
enum ErrorStatus |
enum hwErrorStatusCodes |
enum JidaSensorType |
enum OCDStatus |
Overcurrent detection status.
enum PowerAction |
enum PowerMgrConf |
Enumeration of the settings that can be used with the PowerMgr system.
enum PowerMgrStatus |
enum PowerSource |
enum RS4XXPort |
enum shutDownReasonCodes |
enum startupReasonCodes |
The restart codes returned by getStartupReason.
enum TriggerConf |
Trigger configuration enumeration. Valid settings for enabling of front button and external on/off signal. For platforms XM, XL and XA platforms, front button and on/off (ignition) signal can be configured. For the VC platform, CI state activity and Can data reception can also be used as wakeup sources from suspend mode. bit 0 - enable wakeup by front button (from OFF and suspend mode) bit 1 - enable wakeup by on/off (ignition) signal (from OFF and suspend mode) bit 2 - enable wakeup by CAN activity (from suspend mode, VC only) bit 3 - enable wakeup by CI (Configurabe input) state change (from suspend mode, VC only)
Touch screen advanced settings parameters
enum UpgradeAction |
Upgrade Action enumeration
enum VideoChannel |
enum VideoRotation |
enum videoStandard |
enum VoltageEnum |
Voltage type enumeration
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getAddOnHWversion | ( | ABOUTHANDLE | , |
char * | buff, | ||
int | len | ||
) |
Get Add on hardware version.
Supported Platform(s): XL, XM, XS, XA
buff | Text output buffer. |
len | Maximum length of the output buffer. If the actual length of the data is greater, an error will be returned. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getAddOnManufacturingDate | ( | ABOUTHANDLE | , |
char * | buff, | ||
int | len | ||
) |
Get Add on manufacturing date.
Supported Platform(s): XL, XM, XS, XA
buff | Text output buffer. |
len | Maximum length of the output buffer. If the actual length of the data is greater, an error will be returned. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getAddOnPCBArt | ( | ABOUTHANDLE | , |
char * | buff, | ||
int | length | ||
) |
Get Add on PCB article number.
Supported Platform(s): XL, XM, XS, XA
buff | Text output buffer. |
length | Maximum length of the output buffer. If the actual length of the data is greater, an error will be returned. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getAddOnPCBSerial | ( | ABOUTHANDLE | , |
char * | buff, | ||
int | len | ||
) |
Get Add on PCB serial number.
Supported Platform(s): XL, XM, XS, XA
buff | Text output buffer. |
len | Maximum length of the output buffer. If the actual length of the data is greater, an error will be returned. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getDisplayResolution | ( | ABOUTHANDLE | , |
char * | buff, | ||
int | len | ||
) |
Get display resolution.
Supported Platform(s): XL, XM, XS, XA, VC
buff | Text output buffer. |
len | Maximum length of the output buffer. If the actual length of the data is greater, an error will be returned. The display resolution will be returned in the format "1024x768" |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getFrontPcbRev | ( | ABOUTHANDLE | , |
unsigned char * | major, | ||
unsigned char * | minor | ||
) |
Get the front hardware pcb revision in the format major.minor (e.g. 1.1).
Supported Platform(s): XA, XS
major | The major pcb revision. |
minor | The minor pcb revision. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getIOExpanderValue | ( | ABOUTHANDLE | , |
unsigned short * | value | ||
) |
Get Value for IO Expander
Supported Platform(s): XA, XS
value | IO Expander value. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getIsAnybusMounted | ( | ABOUTHANDLE | , |
bool * | mounted | ||
) |
Get Anybus mounting status.
Supported Platform(s): XA, XS
mounted | Is Anybus mounted? |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getIsBTMounted | ( | ABOUTHANDLE | , |
bool * | mounted | ||
) |
Get BlueTooth module mounting status.
Supported Platform(s): XL, XM, XS, XA
mounted | Is module mounted? |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getIsDisplayAvailable | ( | ABOUTHANDLE | , |
bool * | available | ||
) |
Get Display module status. (Some product variants does not have a display)
Supported Platform(s): XL, XM, XS, XA, VC
available | Is display available? |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getIsGPRSMounted | ( | ABOUTHANDLE | , |
bool * | mounted | ||
) |
Get GPRS module mounting status.
Supported Platform(s): XL, XM, XS, XA
mounted | Is module mounted? |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getIsGPSMounted | ( | ABOUTHANDLE | , |
bool * | mounted | ||
) |
Get GPS module mounting status.
Supported Platform(s): XL, XM, XS, XA
mounted | Is module mounted? |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getIsIOExpanderMounted | ( | ABOUTHANDLE | , |
bool * | mounted | ||
) |
Get IO Expander mounting status.
Supported Platform(s): XA, XS
mounted | Is IO Expander mounted? |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getIsTouchScreenAvailable | ( | ABOUTHANDLE | , |
bool * | available | ||
) |
Get Display TouchScreen status.
Supported Platform(s): XL, XM, XS, XA, VC
available | Is TouchScreen available? |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getIsWLANMounted | ( | ABOUTHANDLE | , |
bool * | mounted | ||
) |
Get WLAN module mounting status.
Supported Platform(s): XL, XM, XS, XA
mounted | Is module mounted? |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getMainHWversion | ( | ABOUTHANDLE | , |
char * | buff, | ||
int | len | ||
) |
Get main hardware version (PCB revision).
Supported Platform(s): XL, XM, XS, XA, VC
buff | Text output buffer. |
len | Maximum length of the output buffer. If the actual length of the data is greater, an error will be returned. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getMainManufacturingDate | ( | ABOUTHANDLE | , |
char * | buff, | ||
int | len | ||
) |
Get main manufacturing date.
Supported Platform(s): XL, XM, XS, XA, VC
buff | Text output buffer. |
len | Maximum length of the output buffer. If the actual length of the data is greater, an error will be returned. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getMainPCBArt | ( | ABOUTHANDLE | , |
char * | buff, | ||
int | length | ||
) |
Get main PCB article number.
Supported Platform(s): XL, XM, XS, XA, VC
buff | Text output buffer. |
length | Maximum length of the output buffer. If the actual length of the data is greater, an error will be returned. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getMainPCBSerial | ( | ABOUTHANDLE | , |
char * | buff, | ||
int | len | ||
) |
Get main PCB serial number.
Supported Platform(s): XL, XM, XS, XA, VC
buff | Text output buffer. |
len | Maximum length of the output buffer. If the actual length of the data is greater, an error will be returned. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getMainProdArtNr | ( | ABOUTHANDLE | , |
char * | buff, | ||
int | len | ||
) |
Get main product article number.
Supported Platform(s): XL, XM, XS, XA, VC
buff | Text output buffer. |
len | Maximum length of the output buffer. If the actual length of the data is greater, an error will be returned. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getMainProdRev | ( | ABOUTHANDLE | , |
char * | buff, | ||
int | len | ||
) |
Get main product revision.
Supported Platform(s): XL, XM, XS, XA, VC
buff | Text output buffer. |
len | Maximum length of the output buffer. If the actual length of the data is greater, an error will be returned. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getNrOfButtons | ( | ABOUTHANDLE | , |
int * | numbuttons | ||
) |
Get number of configurable buttons.
Supported Platform(s): VC
numbuttons | Number of configurable buttons. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getNrOfCANConnections | ( | ABOUTHANDLE | , |
unsigned char * | NrOfConnections | ||
) |
Get number of CAN connections present.
Supported Platform(s): XL, XM, XS, XA, VC
NrOfConnections | Returns the number of connections. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getNrOfCfgInConnections | ( | ABOUTHANDLE | , |
unsigned char * | NrOfConnections | ||
) |
Get number of configurable input connections present.
Supported Platform(s): VC
NrOfConnections | Returns the number of inputs. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getNrOfDigIOConnections | ( | ABOUTHANDLE | , |
unsigned char * | NrOfConnections | ||
) |
Get number of digital I/O connections present.
Supported Platform(s): XL, XM, XS, XA
NrOfConnections | Returns the number of input or input/output connections. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getNrOfETHConnections | ( | ABOUTHANDLE | , |
unsigned char * | NrOfConnections | ||
) |
Get number of ethernet connections present.
Supported Platform(s): XL, XM, XS, XA, VC
NrOfConnections | Returns the number of connections. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getNrOfPWMOutConnections | ( | ABOUTHANDLE | , |
unsigned char * | NrOfConnections | ||
) |
Get number of PWM Output connections present.
Supported Platform(s): VC
NrOfConnections | Returns the number of outputs. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getNrOfSerialConnections | ( | ABOUTHANDLE | , |
unsigned char * | NrOfConnections | ||
) |
Get number of serial port (RS232) connections present.
Supported Platform(s): XL, XM, XS, XA, VC
NrOfConnections | Returns the number of connections. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getNrOfUSBConnections | ( | ABOUTHANDLE | , |
unsigned char * | NrOfConnections | ||
) |
Get number of USB connections present.
Supported Platform(s): XL, XM, XS, XA, VC
NrOfConnections | Returns the number of connections. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getNrOfVideoConnections | ( | ABOUTHANDLE | , |
unsigned char * | NrOfConnections | ||
) |
Get number of Video connections present.
Supported Platform(s): XL, XM, XS, XA, VC
NrOfConnections | Returns the number of connections. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getUnitSerial | ( | ABOUTHANDLE | , |
char * | buff, | ||
int | len | ||
) |
Get unit serial number.
Supported Platform(s): XL, XM, XS, XA, VC
buff | Text output buffer. |
len | Maximum length of the output buffer. If the actual length of the data is greater, an error will be returned. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getUserEepromData | ( | ABOUTHANDLE | , |
char * | buff, | ||
unsigned short | length | ||
) |
Get User Eeprom data. The user eeprom holds 4096 bytes of data which are fully accessible. Data is always read from position 0.
Supported Platform(s): XL, XM, XS, XA
buff | data buffer. |
length | data buffer length or number of data bytes to read. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_hasOsBooted | ( | ABOUTHANDLE | , |
bool * | bootComplete | ||
) |
Get the status of the OS boot process. In Linux, drivers may be delay-loaded at start-up. If the application is started early in the boot-process, this function can be used to determine when full functionality can be obtained from the API/drivers.
Supported Platform(s): XA, XS
bootComplete | Is the OS fully booted? |
Example Usage:
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV CrossControl::About_release | ( | ABOUTHANDLE | ) |
Delete the About object.
Supported Platform(s): XL, XM, XS, XA, VC
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_setUserEepromData | ( | ABOUTHANDLE | , |
unsigned short | startpos, | ||
const char * | buff, | ||
unsigned short | length | ||
) |
Set User Eeprom data. The user eeprom holds 4096 bytes of data which are fully accessible.
Supported Platform(s): XL, XM, XS, XA
startpos | eeprom write start position. |
buff | data buffer. |
length | buffer length to write. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Adc_getVoltage | ( | ADCHANDLE | , |
VoltageEnum | selection, | ||
double * | value | ||
) |
Read measured voltage.
Supported Platform(s): XL, XM, XS, XA, VC
selection | The type of voltage to get. |
value | Voltage value in Volt. Can be undefined if return value is error code. Not all values are supported on all platforms, ERR_NOT_SUPPORTED will indicate that. |
Example Usage:
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV CrossControl::Adc_release | ( | ADCHANDLE | ) |
Delete the ADC object.
Supported Platform(s): XL, XM, XS, XA, VC
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::AuxVersion_getCCAuxDrvVersion | ( | AUXVERSIONHANDLE | , |
unsigned char * | major, | ||
unsigned char * | minor, | ||
unsigned char * | release, | ||
unsigned char * | build | ||
) |
Get the CrossControl CCAux CCAuxDrv version. Can be used to check that the correct driver is loaded.
Supported Platform(s): XL, XM
major | Major version number |
minor | Minor version number |
release | Release version number |
build | Build version number |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::AuxVersion_getCCAuxVersion | ( | AUXVERSIONHANDLE | , |
unsigned char * | major, | ||
unsigned char * | minor, | ||
unsigned char * | release, | ||
unsigned char * | build | ||
) |
Get the CrossControl CCAux API version. CCAux includes: CCAuxService/ccauxd - Windows Service/Linux daemon. CCAux2.dll/libccaux2 - The implementation of this API.
Supported Platform(s): XL, XM, XS, XA, VC
major | Major version number |
minor | Minor version number |
release | Release version number |
build | Build version number |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::AuxVersion_getFPGAVersion | ( | AUXVERSIONHANDLE | , |
unsigned char * | major, | ||
unsigned char * | minor, | ||
unsigned char * | release, | ||
unsigned char * | build | ||
) |
Get the FPGA software version
Supported Platform(s): XL, XM, XS, XA
major | Major version number |
minor | Minor version number |
release | Release version number |
build | Build version number |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::AuxVersion_getFrontVersion | ( | AUXVERSIONHANDLE | , |
unsigned char * | major, | ||
unsigned char * | minor, | ||
unsigned char * | release, | ||
unsigned char * | build | ||
) |
Get the front microcontroller software version
Supported Platform(s): XL, XM, XS, XA
major | Major version number |
minor | Minor version number |
release | Release version number |
build | Build version number |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::AuxVersion_getOSVersion | ( | AUXVERSIONHANDLE | , |
unsigned char * | major, | ||
unsigned char * | minor, | ||
unsigned char * | release, | ||
unsigned char * | build | ||
) |
Get the CrossControl Operating System version.
Supported Platform(s): XL, XM, XS, XA, VC
major | Major version number |
minor | Minor version number |
release | Release version number |
build | Build version number |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::AuxVersion_getSSVersion | ( | AUXVERSIONHANDLE | , |
unsigned char * | major, | ||
unsigned char * | minor, | ||
unsigned char * | release, | ||
unsigned char * | build | ||
) |
Get the System Supervisor software version
Supported Platform(s): XL, XM, XS, XA, VC
major | Major version number |
minor | Minor version number |
release | Release version number |
build | Build version number |
Example Usage:
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV CrossControl::AuxVersion_release | ( | AUXVERSIONHANDLE | ) |
Delete the AuxVersion object.
Supported Platform(s): XL, XM, XS, XA, VC
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Backlight_getAutomaticBLFilter | ( | BACKLIGHTHANDLE | , |
unsigned long * | averageWndSize, | ||
unsigned long * | rejectWndSize, | ||
unsigned long * | rejectDeltaInLux, | ||
LightSensorSamplingMode * | mode | ||
) |
Get light sensor filter parameters for automatic backlight control.
Supported Platform(s): XL, XM, XS, XA, VC
averageWndSize | The average window size in nr of samples. |
rejectWndSize | The reject window size in nr of samples. |
rejectDeltaInLux | The reject delta in lux. |
mode | The configured sampling mode. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Backlight_getAutomaticBLParams | ( | BACKLIGHTHANDLE | , |
bool * | bSoftTransitions, | ||
double * | k | ||
) |
Get parameters for automatic backlight control.
Supported Platform(s): XL, XM, XS, XA, VC
bSoftTransitions | Soft transitions used? |
k | K value. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Backlight_getAutomaticBLStatus | ( | BACKLIGHTHANDLE | , |
unsigned char * | status | ||
) |
Get status from automatic backlight control.
Supported Platform(s): XL, XM, XS, XA, VC
status | 1=running, 0=stopped. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Backlight_getHWStatus | ( | BACKLIGHTHANDLE | , |
bool * | status | ||
) |
Get backlight hardware status.
status | Backlight controller status. true: All backlight drivers works ok, false: one or more backlight drivers are faulty. |
Supported Platform(s): XL, XM, XS, XA
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Backlight_getIntensity | ( | BACKLIGHTHANDLE | , |
unsigned char * | intensity | ||
) |
Get backlight intensity. Note that there might be hardware limitations, limiting the minimum and/or maximum value to other than (1..255).
Supported Platform(s): XL, XM, XS, XA, VC
intensity | The current backlight intensity (1..255). |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Backlight_getLedDimming | ( | BACKLIGHTHANDLE | , |
CCStatus * | status | ||
) |
Get the current setting for Led dimming. If enabled, the function automatically dimms the LED according to the current backlight setting; Low backlight gives less bright LED. This works with manual backlight setting and automatic backlight, but only if the led is set to pure red, green or blue color. If another color is being used, this functionality must be implemented separately.
Supported Platform(s): XL, XM, XS, XA, VC
status | Enabled/Disabled |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Backlight_getStatus | ( | BACKLIGHTHANDLE | , |
unsigned char * | status | ||
) |
Get backlight controller status. Deprecated, use Backlight_getHWStatus instead.
Supported Platform(s): XL, XM
status | Backlight controller status. Bit 0: status controller 1. Bit 1: status controller 2. Bit 2: status controller 3. Bit 3: status controller 4. 1=normal, 0=fault. |
Example Usage:
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV CrossControl::Backlight_release | ( | BACKLIGHTHANDLE | ) |
Delete the backlight object.
Supported Platform(s): XL, XM, XS, XA, VC
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Backlight_setAutomaticBLFilter | ( | BACKLIGHTHANDLE | , |
unsigned long | averageWndSize, | ||
unsigned long | rejectWndSize, | ||
unsigned long | rejectDeltaInLux, | ||
LightSensorSamplingMode | mode | ||
) |
Set light sensor filter parameters for automatic backlight control.
Supported Platform(s): XL, XM, XS, XA, VC
averageWndSize | The average window size in nr of samples. |
rejectWndSize | The reject window size in nr of samples. |
rejectDeltaInLux | The reject delta in lux. |
mode | The configured sampling mode. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Backlight_setAutomaticBLParams | ( | BACKLIGHTHANDLE | , |
bool | bSoftTransitions | ||
) |
Set parameters for automatic backlight control.
Supported Platform(s): XL, XM, XS, XA, VC
bSoftTransitions | Use soft transitions? |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Backlight_setIntensity | ( | BACKLIGHTHANDLE | , |
unsigned char | intensity | ||
) |
Set backlight intensity. Note that there might be hardware limitations, limiting the minimum and/or maximum value to other than (1..255).
Supported Platform(s): XL, XM, XS, XA, VC
intensity | The backlight intensity to set (1..255). |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Backlight_setLedDimming | ( | BACKLIGHTHANDLE | , |
CCStatus | status | ||
) |
Enable/disable Led dimming. If enabled, the function automatically dimms the LED according to the current backlight setting; Low backlight gives less bright LED. This works with manual backlight setting and automatic backlight, but only if the led is set to pure red, green or blue color. If another color is being used, this functionality must be implemented separately.
Supported Platform(s): XL, XM, XS, XA, VC
status | Enabled/Disabled |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Backlight_startAutomaticBL | ( | BACKLIGHTHANDLE | ) |
Start automatic backlight control. Note that reading the light sensor at the same time as running the automatic backlight control is not supported.
Supported Platform(s): XL, XM, XS, XA, VC
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Backlight_stopAutomaticBL | ( | BACKLIGHTHANDLE | ) |
Stop automatic backlight control.
Supported Platform(s): XL, XM, XS, XA, VC
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Battery_getBatteryChargingStatus | ( | BATTERYHANDLE | , |
ChargingStatus * | status | ||
) |
Get battery charging status.
Supported Platform(s): XM
status | the current charging mode of the battery. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Battery_getBatteryHWversion | ( | BATTERYHANDLE | , |
char * | buff, | ||
int | len | ||
) |
Get battery hardware version (PCB revision).
Supported Platform(s): XM
buff | Text output buffer. |
len | Maximum length of the output buffer. If the actual length of the data is greater, an error will be returned. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Battery_getBatterySerial | ( | BATTERYHANDLE | , |
char * | buff, | ||
int | len | ||
) |
Get battery serial number.
Supported Platform(s): XM
buff | Text output buffer. |
len | Maximum length of the output buffer. If the actual length of the data is greater, an error will be returned. The serial number is 10 characters plus terminating zero, in total 11 bytes in size. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Battery_getBatterySwVersion | ( | BATTERYHANDLE | , |
unsigned short * | major, | ||
unsigned short * | minor, | ||
unsigned short * | release, | ||
unsigned short * | build | ||
) |
Get the battery software version
Supported Platform(s): XM
major | Major version number |
minor | Minor version number |
release | Release version number |
build | Build version number |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Battery_getBatteryTemp | ( | BATTERYHANDLE | , |
signed short * | temperature | ||
) |
Get battery temperature.
Supported Platform(s): XM
temperature | PCB Temperature in degrees Celsius. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Battery_getBatteryVoltageStatus | ( | BATTERYHANDLE | , |
unsigned char * | batteryVoltagePercent | ||
) |
Get battery voltage status.
Supported Platform(s): XM
batteryVoltagePercent | the current voltage level of the battery, in percent [0..100]. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Battery_getHwErrorStatus | ( | BATTERYHANDLE | , |
ErrorStatus * | errorCode | ||
) |
Get hardware error code. If hardware errors are found or other problems are discovered by the battery pack, they are reported here.
Supported Platform(s): XM
errorCode | Error code. Zero means no error. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Battery_getMinMaxTemp | ( | BATTERYHANDLE | , |
signed short * | minTemp, | ||
signed short * | maxTemp | ||
) |
Get temperature interval of the battery.
Supported Platform(s): XM
minTemp | Minimum measured temperature. |
maxTemp | Maximum measured temperature. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Battery_getPowerSource | ( | BATTERYHANDLE | , |
PowerSource * | status | ||
) |
Get the currently used power source.
Supported Platform(s): XM
status | the current power source, external power or battery. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Battery_getTimer | ( | BATTERYHANDLE | , |
BatteryTimerType * | times | ||
) |
Get battery diagnostic timer.
Supported Platform(s): XM
times | Get a struct with the current diagnostic times. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Battery_isBatteryPresent | ( | BATTERYHANDLE | , |
bool * | batteryIsPresent | ||
) |
Is an external battery connected?
Supported Platform(s): XM
batteryIsPresent | true if a battery is connected, otherwise false. |
Example Usage:
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV CrossControl::Battery_release | ( | BATTERYHANDLE | ) |
Delete the Battery object
Supported Platform(s): XM.
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Buzzer_buzze | ( | BUZZERHANDLE | , |
int | time, | ||
bool | blocking | ||
) |
Buzzes for a specified time.
Supported Platform(s): XL, XM, XS, XA, VC
time | Time (ms) to buzz. |
blocking | Blocking or non-blocking function. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Buzzer_getFrequency | ( | BUZZERHANDLE | , |
unsigned short * | frequency | ||
) |
Get buzzer frequency.
Supported Platform(s): XL, XM, XS, XA, VC
frequency | Current frequency (700-10000 Hz). |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Buzzer_getTrigger | ( | BUZZERHANDLE | , |
bool * | trigger | ||
) |
Get buzzer trigger. The Buzzer is enabled when the trigger is enabled.
Supported Platform(s): XL, XM, XS, XA, VC
trigger | Current trigger status. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Buzzer_getVolume | ( | BUZZERHANDLE | , |
unsigned short * | volume | ||
) |
Get buzzer volume.
Supported Platform(s): XL, XM, XS, XA, VC
volume | Current volume (0-51). |
Example Usage:
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV CrossControl::Buzzer_release | ( | BUZZERHANDLE | ) |
Delete the Buzzer object.
Supported Platform(s): XL, XM, XS, XA, VC
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Buzzer_setFrequency | ( | BUZZERHANDLE | , |
unsigned short | frequency | ||
) |
Set buzzer frequency.
Supported Platform(s): XL, XM, XS, XA, VC
frequency | Frequency to set (700-10000 Hz). |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Buzzer_setTrigger | ( | BUZZERHANDLE | , |
bool | trigger | ||
) |
Set buzzer trigger. The Buzzer is enabled when the trigger is enabled.
Supported Platform(s): XL, XM, XS, XA, VC
trigger | Status to set. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Buzzer_setVolume | ( | BUZZERHANDLE | , |
unsigned short | volume | ||
) |
Set buzzer volume.
Supported Platform(s): XL, XM, XS, XA, VC
volume | Volume to set (0-51). |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::CanSetting_getBaudrate | ( | CANSETTINGHANDLE | , |
unsigned char | net, | ||
unsigned short * | baudrate | ||
) |
Get Baud rate
Supported Platform(s): XL, XM, XS, XA, VC
net | CAN net (1-4) to get settings for. |
baudrate | CAN baud rate (kbit/s). |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::CanSetting_getFrameType | ( | CANSETTINGHANDLE | , |
unsigned char | net, | ||
CanFrameType * | frameType | ||
) |
Get frame type
Supported Platform(s): XL, XM
net | CAN net (1-4) to get settings for. |
frameType | CAN frame type |
Example Usage:
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV CrossControl::CanSetting_release | ( | CANSETTINGHANDLE | ) |
Delete the CanSetting object.
Supported Platform(s): XL, XM, XS, XA, VC
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::CanSetting_setBaudrate | ( | CANSETTINGHANDLE | , |
unsigned char | net, | ||
unsigned short | baudrate | ||
) |
Set Baud rate. The changes will take effect after a restart.
Supported Platform(s): XL, XM, XS, XA, VC
net | CAN net (1-4). |
baudrate | CAN baud rate (kbit/s). The driver will calculate the best supported baud rate if it does not support the given baud rate. The maximum baud rate is 1000 kbit/s. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::CanSetting_setFrameType | ( | CANSETTINGHANDLE | , |
unsigned char | net, | ||
CanFrameType | frameType | ||
) |
Set frame type. The changes will take effect after a restart.
Supported Platform(s): XL, XM
net | CAN net (1-4). |
frameType | CAN frameType |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::CfgIn_getCfgInMode | ( | CFGINHANDLE | , |
unsigned char | channel, | ||
CfgInModeEnum * | get_mode | ||
) |
Get Configurable Input mode
Supported Platform(s): VC
channel | Which configurable input channel to use, 1 or 2, corresponding to physical input channel |
get_mode | Storage container for retreived mode Configurable input can be set to different measurement modes, this reads the setting back |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::CfgIn_getPwmValue | ( | CFGINHANDLE | , |
unsigned char | channel, | ||
float * | frequency, | ||
unsigned char * | duty_cycle | ||
) |
Read the sampled value from configurable input, when in frequency measurement mode (CFGIN_FREQ_FLOATING, CFGIN_FREQ_PULLUP, CFGIN_FREQ_PULLDOWN).
Supported Platform(s): VC
channel | Which configurable input channel to use, 1 or 2, corresponding to physical input channel |
frequency | Read signal frequency, 0.0 - 50000.0 Hz |
duty_cycle | Read signal duty cycle, 0-100% |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::CfgIn_getValue | ( | CFGINHANDLE | , |
unsigned char | channel, | ||
unsigned short * | sample_value | ||
) |
Read the sampled value from configurable input, when in modes other than frequency mode: CFGIN_HI_SWITCH - sample_value is 0-1 CFGIN_LOW_SWITCH - sample_value is 0-1 CFGIN_VOLTAGE_3V3 - sample_value is 0-33000 (0.1mV steps) CFGIN_VOLTAGE_5VPD - sample_value is 0-50000 (0.1mV steps) CFGIN_RESISTANCE - sample_value is 0-65535 Ohm
Supported Platform(s): VC
channel | Which configurable input channel to use, 1 or 2, corresponding to physical input channel |
sample_value | Read value which is relevant to actual mode setting The actual value is dependent on the mode setting |
Example Usage:
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV CrossControl::CfgIn_release | ( | CFGINHANDLE | ) |
Delete the CfgIn object.
Supported Platform(s): VC
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::CfgIn_setCfgInMode | ( | CFGINHANDLE | , |
unsigned char | channel, | ||
CfgInModeEnum | set_mode | ||
) |
Set Configurable Input mode
Supported Platform(s): VC
channel | Which configurable input channel to use, 1 or 2, corresponding to physical input channel |
set_mode | Which mode to set Configurable input can be set to different measurement modes |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_getButtonFunction | ( | CONFIGHANDLE | , |
unsigned char | button_number, | ||
ButtonConfigEnum * | button_config | ||
) |
Get Button Function Configuration
Supported Platform(s): VC
button_number | Which button to configure (1-MAX_BUTTONS) |
button_config | Bitfield for button configuration, see enum ButtonConfigEnum for details. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_getCanStartupPowerConfig | ( | CONFIGHANDLE | , |
CCStatus * | status | ||
) |
Get Can power at startup configuration. The status of Can power at startup and at resume from suspended mode. At resume from suspend, this setting overrides the setting of the setCanPowerStatus function.
Supported Platform(s): XL, XM, XS, XA
status | Enabled/Disabled |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_getExtFanStartupPowerConfig | ( | CONFIGHANDLE | , |
CCStatus * | status | ||
) |
Get External fan power at startup configuration. The status at startup and at resume from suspended mode. At resume from suspend, this setting overrides the setting of the setExtFanPowerStatus function.
Supported Platform(s): XL, XM
status | Enabled/Disabled |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_getExtOnOffSigTrigTime | ( | CONFIGHANDLE | , |
unsigned long * | triggertime | ||
) |
Get external on/off signal trigger time.
Supported Platform(s): XL, XM, XS, XA, VC
triggertime | Time in seconds that the external signal has to be low for the unit to enter suspend mode or shut down (trigger an action). This time can be set from one second up to several years, if needed. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_getFrontBtnTrigTime | ( | CONFIGHANDLE | , |
unsigned short * | triggertime | ||
) |
Get front button trigger time for long press.
Supported Platform(s): XL, XM, XS, XA, VC
triggertime | Time in milliseconds that the button has to be pressed for the press to count as a long button press. A button press twice this time will generate a hard shut down. If this time is set under 4000ms, the hard shut down minimum time of 8s is used instead. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_getHeatingTempLimit | ( | CONFIGHANDLE | , |
signed short * | temperature | ||
) |
Get the temperature limit for heating. When temperature is below this limit, the system is internally heated until the temperature rises above the limit. The default and minimum value is -25 degrees Celsius. The maximum value is +5 degrees Celsius.
Supported Platform(s): XL, XM, XS, XA, VC
temperature | The current heating limit, in degrees Celsius (-25 to +5) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_getLongButtonPressAction | ( | CONFIGHANDLE | , |
PowerAction * | action | ||
) |
Get long button press action. Gets the configured action for a long button press: NoAction, ActionSuspend or ActionShutDown. A long button press is determined by the FrontBtnTrigTime.
Supported Platform(s): XL, XM, XS, XA, VC
action | The configured action. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_getOnOffSigAction | ( | CONFIGHANDLE | , |
PowerAction * | action | ||
) |
Get On/Off signal action. Gets the configured action for an On/Off signal event: NoAction, ActionSuspend or ActionShutDown. An On/Off signal event is determined by the ExtOnOffSigTrigTime.
Supported Platform(s): XL, XM, XS, XA, VC
action | The configured action. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_getPowerOnStartup | ( | CONFIGHANDLE | , |
CCStatus * | status | ||
) |
Get power on start-up behavior. If enabled, the unit always starts when power is turned on, disregarding the setting for StartupTriggerConfig at that time. The StartupTriggerConfig still applies if the unit is shut down or suspended, without removing the power supply.
Supported Platform(s): XL, XM, XS, XA, VC
status | Enabled/Disabled |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_getRS485Enabled | ( | CONFIGHANDLE | , |
RS4XXPort | port, | ||
bool * | enabled | ||
) |
Get RS485 mode configuration for RS4XX port.
Supported Platform(s): XA, XS
port | RS4XX port (RS4XXPort1-4) |
enabled | Is the RS485 port enabled (true/false) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_getShortButtonPressAction | ( | CONFIGHANDLE | , |
PowerAction * | action | ||
) |
Get short button press action. Gets the configured action for a short button press: NoAction, ActionSuspend or ActionShutDown.
Supported Platform(s): XL, XM, XS, XA, VC
action | The configured action. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_getStartupTriggerConfig | ( | CONFIGHANDLE | , |
TriggerConf * | config | ||
) |
Get Start-up trigger configuration. Is the front button and/or the external on/off (ignition) signal enabled as triggers for startup and wake up from suspended mode? VC platform: CI state change and Can activity also available as wakeup triggers from suspend mode.
Supported Platform(s): XL, XM, XS, XA, VC
config | See enum TriggerConf. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_getStartupVoltageConfig | ( | CONFIGHANDLE | , |
double * | voltage | ||
) |
Get the voltage threshold required for startup. The external voltage must be stable above this value for the unit to start up. The default and minimum value is 9V. It could be set to a higher value for a 24V system.
Supported Platform(s): XL, XM
voltage | The current voltage setting. (9V .. 28V) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_getSuspendMaxTime | ( | CONFIGHANDLE | , |
unsigned short * | maxTime | ||
) |
Get suspend mode maximum time.
Supported Platform(s): XL, XM, VC
maxTime | Maximum suspend time in minutes. After this time in suspended mode, the unit will shut down to save power. A value of 0 means that the automatic shut down function is not used. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_getVideoStartupPowerConfig | ( | CONFIGHANDLE | , |
unsigned char * | config | ||
) |
Get Video power at startup configuration. The status of Video power at startup and at resume from suspended mode. At resume from suspend, this setting overrides the setting of the setVideoPowerStatus function.
Supported Platform(s): XL, XM, XS, XA
config | Bitwise representation of the four video channels. See the VideoXConf defines. if the bit is 1, the power is enabled, else disabled. |
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV CrossControl::Config_release | ( | CONFIGHANDLE | ) |
Delete the Config object.
Supported Platform(s): XL, XM, XS, XA, VC
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_setButtonFunction | ( | CONFIGHANDLE | , |
unsigned char | button_number, | ||
ButtonConfigEnum | button_config | ||
) |
Set button function configuration
Supported Platform(s): VC
button_number | Which button to configure (1-MAX_BUTTONS) |
button_config | Bitfield for button configuration, see enum ButtonConfigEnum for details. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_setCanStartupPowerConfig | ( | CONFIGHANDLE | , |
CCStatus | status | ||
) |
Set Can power at startup configuration. The status of Can power at startup and at resume from suspended mode. At resume from suspend, this setting overrides the setting of the setCanPowerStatus function.
Supported Platform(s): XL, XM, XS, XA
status | Enabled/Disabled |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_setExtFanStartupPowerConfig | ( | CONFIGHANDLE | , |
CCStatus | status | ||
) |
Set External fan power at startup configuration. The status at startup and at resume from suspended mode. At resume from suspend, this setting overrides the setting of the setExtFanPowerStatus function.
Supported Platform(s): XL, XM
status | Enabled/Disabled |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_setExtOnOffSigTrigTime | ( | CONFIGHANDLE | , |
unsigned long | triggertime | ||
) |
Set external on/off signal trigger time.
Supported Platform(s): XL, XM, XS, XA, VC
triggertime | Time in seconds that the external signal has to be low for the unit to enter suspend mode or shut down (trigger an action). This time can be set from one second up to several years, if needed. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_setFrontBtnTrigTime | ( | CONFIGHANDLE | , |
unsigned short | triggertime | ||
) |
Set front button trigger time for long press.
Supported Platform(s): XL, XM, XS, XA, VC
triggertime | Time in milliseconds that the button has to be pressed for the press to count as a long button press. A button press twice this time will generate a hard shut down. If this time is set under 4000ms, the hard shut down minimum time of 8s is used instead. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_setHeatingTempLimit | ( | CONFIGHANDLE | , |
signed short | temperature | ||
) |
Set the temperature limit for heating. When temperature is below this limit, the system is internally heated until the temperature rises above the limit. The default and minimum value is -25 degrees Celsius. The maximum value is +5 degrees Celsius.
Supported Platform(s): XL, XM, XS, XA, VC
temperature | The heating limit, in degrees Celsius (-25 to +5) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_setLongButtonPressAction | ( | CONFIGHANDLE | , |
PowerAction | action | ||
) |
Set long button press action. Sets the configured action for a long button press: NoAction, ActionSuspend or ActionShutDown. A long button press is determined by the FrontBtnTrigTime.
Supported Platform(s): XL, XM, XS, XA, VC
action | The action to set. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_setOnOffSigAction | ( | CONFIGHANDLE | , |
PowerAction | action | ||
) |
Set On/Off signal action. Sets the configured action for an On/Off signal event: NoAction, ActionSuspend or ActionShutDown. An On/Off signal event is determined by the ExtOnOffSigTrigTime.
Supported Platform(s): XL, XM, XS, XA, VC
action | The action to set. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_setPowerOnStartup | ( | CONFIGHANDLE | , |
CCStatus | status | ||
) |
Set power on start-up behavior. If enabled, the unit always starts when power is turned on, disregarding the setting for StartupTriggerConfig at that time. The StartupTriggerConfig still applies if the unit is shut down or suspended, without removing the power supply.
Supported Platform(s): XL, XM, XS, XA, VC
status | Enabled/Disabled |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_setRS485Enabled | ( | CONFIGHANDLE | , |
RS4XXPort | port, | ||
bool | enabled | ||
) |
Set RS485 mode enabled or disabled for RS4XX port.
Supported Platform(s): XA, XS
port | RS4XX port (RS4XXPort1-4) |
enabled | RS485 enabled (true/false) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_setShortButtonPressAction | ( | CONFIGHANDLE | , |
PowerAction | action | ||
) |
Set short button press action. Sets the configured action for a short button press: NoAction, ActionSuspend or ActionShutDown.
Supported Platform(s): XL, XM, XS, XA, VC
action | The action to set. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_setStartupTriggerConfig | ( | CONFIGHANDLE | , |
TriggerConf | conf | ||
) |
Set Start-up trigger configuration. Should the front button and/or the external on/off (ignition) signal be enabled as triggers for startup and wake up from suspended mode? VC platform: CI state change and Can activity also available as wakeup triggers from suspend mode.
Supported Platform(s): XL, XM, XS, XA, VC
conf | See enum TriggerConf. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_setStartupVoltageConfig | ( | CONFIGHANDLE | , |
double | voltage | ||
) |
Set the voltage threshold required for startup. The external voltage must be stable above this value for the unit to start up. The default and minimum value is 9V. It could be set to a higher value for a 24V system.
Supported Platform(s): XL, XM
voltage | The voltage to set (9V .. 28V). |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_setSuspendMaxTime | ( | CONFIGHANDLE | , |
unsigned short | maxTime | ||
) |
Set suspend mode maximum time.
Supported Platform(s): XL, XM, VC
maxTime | Maximum suspend time in minutes. After this time in suspended mode, the unit will shut down to save power. A value of 0 means that this function is not used. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Config_setVideoStartupPowerConfig | ( | CONFIGHANDLE | , |
unsigned char | config | ||
) |
Set Video power at startup configuration. The status of Video power at startup and at resume from suspended mode. At resume from suspend, this setting overrides the setting of the setVideoPowerStatus function.
Supported Platform(s): XL, XM, XS, XA
config | Bitwise representation of the four video channels. See the VideoXConf defines. if the bit is 1, the power is enabled, else disabled. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Diagnostic_clearHwErrorStatus | ( | DIAGNOSTICHANDLE | ) |
Clear the HW error status (this function is used by the CrossControl service/daemon to log any hardware errors)
Supported Platform(s): XL, XM, XS, XA, VC
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Diagnostic_getHwErrorStatus | ( | DIAGNOSTICHANDLE | , |
unsigned short * | errorCode | ||
) |
Get hardware error code. If hardware errors are found or other problems are discovered by the SS, they are reported here. See DiagnosticCodes.h for error codes.
Supported Platform(s): XL, XM, XS, XA, VC
errorCode | Error code. Zero means no error. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Diagnostic_getMinMaxTemp | ( | DIAGNOSTICHANDLE | , |
signed short * | minTemp, | ||
signed short * | maxTemp | ||
) |
Get diagnostic temperature interval of the unit.
Supported Platform(s): XL, XM, XS, XA, VC
minTemp | Minimum measured PCB temperature. |
maxTemp | Maximum measured PCB temperature. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Diagnostic_getPCBTemp | ( | DIAGNOSTICHANDLE | , |
signed short * | temperature | ||
) |
Get PCB temperature.
Supported Platform(s): XL, XM, XS, XA, VC
temperature | PCB Temperature in degrees Celsius. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Diagnostic_getPMTemp | ( | DIAGNOSTICHANDLE | , |
unsigned char | index, | ||
signed short * | temperature, | ||
JidaSensorType * | jst | ||
) |
Get Processor Module temperature. This temperature is read from the Kontron JIDA API or Congatec CGOS API. These API's also has a number of other functions, please see the JIDA/CGOS documentation for how to use them separately.
index | Zero-based index of the temperature sensor. Different boards may have different number of sensors. CCpilot XM and XL currently has 2 sensors, board and cpu. An error is returned if the index is not supported. CCpliot XM 2.0 supports only one sensor, CPU temperature. |
Supported Platform(s): XL, XM
temperature | Temperature in degrees Celsius. |
jst | The type of sensor that is being read. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Diagnostic_getPowerCycles | ( | DIAGNOSTICHANDLE | , |
unsigned short * | powerCycles | ||
) |
Get number of power cycles.
Supported Platform(s): XL, XM, XS, XA, VC
powerCycles | Total number of power cycles. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Diagnostic_getShutDownReason | ( | DIAGNOSTICHANDLE | , |
unsigned short * | reason | ||
) |
Get shutdown reason.
Supported Platform(s): XL, XM
reason | See DiagnosticCodes.h for shutdown codes. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Diagnostic_getSSTemp | ( | DIAGNOSTICHANDLE | , |
signed short * | temperature | ||
) |
Get System Supervisor temperature.
Supported Platform(s): XL, XM, XS, XA, VC
temperature | System Supervisor temperature in degrees Celsius. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Diagnostic_getStartupReason | ( | DIAGNOSTICHANDLE | , |
unsigned short * | reason | ||
) |
Get startup reason.
Supported Platform(s): XL, XM, XS, XA, VC
reason | See DiagnosticCodes.h for startup codes. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Diagnostic_getTimer | ( | DIAGNOSTICHANDLE | , |
TimerType * | times | ||
) |
Get diagnostic timer.
Supported Platform(s): XL, XM, XS, XA, VC
times | Get a struct with the current diagnostic times. |
Example Usage:
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV CrossControl::Diagnostic_release | ( | DIAGNOSTICHANDLE | ) |
Delete the Diagnostic object.
Supported Platform(s): XL, XM, XS, XA, VC
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::DigIO_getDigIO | ( | DIGIOHANDLE | , |
unsigned char * | status | ||
) |
Get Digital inputs.
Supported Platform(s): XL, XM, XS, XA
status | Status of the four digital input pins. Bit0: Digital input 1. Bit1: Digital input 2. Bit2: Digital input 3. Bit3: Digital input 4. Bit 4..7 are always zero. |
Example Usage:
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV CrossControl::DigIO_release | ( | DIGIOHANDLE | ) |
Delete the DigIO object.
Supported Platform(s): XL, XM, XS, XA
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::DigIO_setDigIO | ( | DIGIOHANDLE | , |
unsigned char | state | ||
) |
Set Digital outputs.
Supported Platform(s): XA, XS
state | State of the four digital output pins. Bit0: Digital output 1. Bit1: Digital output 2. Bit2: Digital output 3. Bit3: Digital output 4. Bit 4..7 not used. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FirmwareUpgrade_getUpgradeStatus | ( | FIRMWAREUPGHANDLE | , |
UpgradeStatus * | status, | ||
bool | blocking | ||
) |
Gets the status of an upgrade operation. The upgrade status is common for all upgrade and verification methods.
Supported Platform(s): XL, XM, XS, XA, VC
status | The current status of the upgrade operation. |
blocking | Whether or not the function should wait until a new status event has been reported. If blocking is set to false, the function will return immediately with the current status. |
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV CrossControl::FirmwareUpgrade_release | ( | FIRMWAREUPGHANDLE | ) |
Delete the FirmwareUpgrade object.
Supported Platform(s): XL, XM, XS, XA, VC
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FirmwareUpgrade_shutDown | ( | FIRMWAREUPGHANDLE | ) |
Shut down the operating system.
Supported Platform(s): XL, XM, XS, XA, VC
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FirmwareUpgrade_startFpgaUpgrade | ( | FIRMWAREUPGHANDLE | , |
const char * | filename, | ||
bool | blocking | ||
) |
Start an upgrade of the FPGA. After a FPGA upgrade, the system should be shut down. Full functionality of the system cannot be guaranteed until a fresh startup has been performed.
Supported Platform(s): XL, XM, XS, XA
filename | Path and filename to the .mcs file to program. |
blocking | Whether or not the function should wait until completion. If blocking is set to false, the function will return immediately. One must then call getUpgradeStatus to get the status of the upgrade operation. If blocking is set to true, the function will return when the operation is complete. This might take a few minutes. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FirmwareUpgrade_startFpgaVerification | ( | FIRMWAREUPGHANDLE | , |
const char * | filename, | ||
bool | blocking | ||
) |
Start a verification of the FPGA. Verifies the FPGA against the file to program. This could be useful if verification during programming fails.
Supported Platform(s): XL, XM, XS, XA
filename | Path and filename to the .mcs file to verify against. |
blocking | Whether or not the function should wait until completion. If blocking is set to false, the function will return immediately. One must then call getUpgradeStatus to get the status of the operation. If blocking is set to true, the function will return when the operation is complete. This might take a few minutes. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FirmwareUpgrade_startFrontUpgrade | ( | FIRMWAREUPGHANDLE | , |
const char * | filename, | ||
bool | blocking | ||
) |
Start an upgrade of the front microprocessor. After a front upgrade, the system should be shut down. The front will not work until a fresh startup has been performed.
Supported Platform(s): XL, XM, XS, XA
filename | Path and filename to the .hex file to program. |
blocking | Whether or not the function should wait until completion. If blocking is set to false, the function will return immediately. One must then call fpgaUpgradeStatus to get the status of the upgrade operation. If blocking is set to true, the function will return when the operation is complete. This might take a few minutes. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FirmwareUpgrade_startFrontVerification | ( | FIRMWAREUPGHANDLE | , |
const char * | filename, | ||
bool | blocking | ||
) |
Start a verification of the front microprocessor. Verifies the front microprocessor against the file to program. This could be useful if verification during programming fails.
Supported Platform(s): XL, XM, XS, XA
filename | Path and filename to the .hex file to verify against. |
blocking | Whether or not the function should wait until completion. If blocking is set to false, the function will return immediately. One must then call getUpgradeStatus to get the status of the operation. If blocking is set to true, the function will return when the operation is complete. This might take a few minutes. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FirmwareUpgrade_startSSUpgrade | ( | FIRMWAREUPGHANDLE | , |
const char * | filename, | ||
bool | blocking | ||
) |
Start an upgrade of the System Supervisor microprocessor (SS). After an SS upgrade, the system must be shut down. The SS handles functions for shutting down of the computer. In order to shut down after an upgrade, shut down the OS and then toggle the power. The backlight will still be on after the OS has shut down.
Supported Platform(s): XL, XM, XS, XA, VC
filename | Path and filename to the .hex file to program. |
blocking | Whether or not the function should wait until completion. If blocking is set to false, the function will return immediately. One must then call fpgaUpgradeStatus to get the status of the upgrade operation. If blocking is set to true, the function will return when the operation is complete. This might take a few minutes. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FirmwareUpgrade_startSSVerification | ( | FIRMWAREUPGHANDLE | , |
const char * | filename, | ||
bool | blocking | ||
) |
Start a verification of the System Supervisor microprocessor (SS). Verifies the SS against the file to program. This could be useful if verification during programming fails.
Supported Platform(s): XL, XM, XS, XA, VC
filename | Path and filename to the .hex file to verify against. |
blocking | Whether or not the function should wait until completion. If blocking is set to false, the function will return immediately. One must then call getUpgradeStatus to get the status of the operation. If blocking is set to true, the function will return when the operation is complete. This might take a few minutes. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FrontLED_getColor | ( | FRONTLEDHANDLE | , |
unsigned char * | red, | ||
unsigned char * | green, | ||
unsigned char * | blue | ||
) |
Get front LED color mix.
Supported Platform(s): XL, XM, XS, XA, VC On the VC platform - the blue parameter gets the button backlight intensity (0-15)
red | Red color intensity 0-0x0F. |
green | Green color intensity 0-0x0F. |
blue | Blue color intensity 0-0x0F. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FrontLED_getEnabledDuringStartup | ( | FRONTLEDHANDLE | , |
CCStatus * | status | ||
) |
Is the front LED enabled during startup? If enabled, the LED will blink yellow to indicate startup progress. It will turn green once the OS has started.
Supported Platform(s): XL, XM, XS, XA, VC
status | LED Enabled or Disabled during startup. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FrontLED_getIdleTime | ( | FRONTLEDHANDLE | , |
unsigned char * | idleTime | ||
) |
Get front LED idle time.
Supported Platform(s): XL, XM, XS, XA, VC
idleTime | Time in 100ms increments. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FrontLED_getNrOfPulses | ( | FRONTLEDHANDLE | , |
unsigned char * | nrOfPulses | ||
) |
Get number of pulses during a blink sequence.
Supported Platform(s): XL, XM, XS, XA, VC
nrOfPulses | Number of pulses. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FrontLED_getOffTime | ( | FRONTLEDHANDLE | , |
unsigned char * | offTime | ||
) |
Get front LED off time.
Supported Platform(s): XL, XM, XS, XA, VC
offTime | Time in 10ms increments. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FrontLED_getOnTime | ( | FRONTLEDHANDLE | , |
unsigned char * | onTime | ||
) |
Get front LED on time.
Supported Platform(s): XL, XM, XS, XA, VC
onTime | Time in 10ms increments. 0 = off |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FrontLED_getSignal | ( | FRONTLEDHANDLE | , |
double * | frequency, | ||
unsigned char * | dutyCycle | ||
) |
Get front LED signal. Note, the values may vary from previously set values with setSignal. This is due to precision-loss in approximations.
Supported Platform(s): XL, XM, XS, XA, VC
frequency | LED blink frequency (0.2-50 Hz). |
dutyCycle | LED on duty cycle (0-100%). |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FrontLED_getStandardColor | ( | FRONTLEDHANDLE | , |
CCAuxColor * | color | ||
) |
Get front LED color from a set of standard colors. If the color is not one of the predefined colors, UNDEFINED_COLOR will be returned. It is not recommended to use this function on the VC platform.
Supported Platform(s): XL, XM, XS, XA, VC
color | Color from CCAuxColor enum. |
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV CrossControl::FrontLED_release | ( | FRONTLEDHANDLE | ) |
Delete the FrontLED object.
Supported Platform(s): XL, XM, XS, XA, VC
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FrontLED_setColor | ( | FRONTLEDHANDLE | , |
unsigned char | red, | ||
unsigned char | green, | ||
unsigned char | blue | ||
) |
Set front LED color mix.
Supported Platform(s): XL, XM, XS, XA, VC On the VC platform - use the blue parameter to set the button backlight intensity (0-15)
red | Red color intensity 0-0x0F. |
green | Green color intensity 0-0x0F. |
blue | Blue color intensity 0-0x0F. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FrontLED_setEnabledDuringStartup | ( | FRONTLEDHANDLE | , |
CCStatus | status | ||
) |
Should the front LED be enabled during startup? If enabled, the LED will blink yellow to indicate startup progress. It will turn green once the OS has started.
Supported Platform(s): XL, XM, XS, XA, VC
status | Enable or Disable the LED during startup. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FrontLED_setIdleTime | ( | FRONTLEDHANDLE | , |
unsigned char | idleTime | ||
) |
Get front LED idle time.
Supported Platform(s): XL, XM, XS, XA, VC
idleTime | Time in 100ms. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FrontLED_setNrOfPulses | ( | FRONTLEDHANDLE | , |
unsigned char | nrOfPulses | ||
) |
Set front LED number of pulses during a blink sequence.
Supported Platform(s): XL, XM, XS, XA, VC
nrOfPulses | Number of pulses. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FrontLED_setOff | ( | FRONTLEDHANDLE | ) |
Set front LED off.
Supported Platform(s): XL, XM, XS, XA, VC
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FrontLED_setOffTime | ( | FRONTLEDHANDLE | , |
unsigned char | offTime | ||
) |
Set front LED off time.
Supported Platform(s): XL, XM, XS, XA, VC
offTime | Time in 10ms increments. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FrontLED_setOnTime | ( | FRONTLEDHANDLE | , |
unsigned char | onTime | ||
) |
Set front LED on time.
Supported Platform(s): XL, XM, XS, XA, VC
onTime | Time in 10ms increments. 0 = off |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FrontLED_setSignal | ( | FRONTLEDHANDLE | , |
double | frequency, | ||
unsigned char | dutyCycle | ||
) |
Set front LED signal.
Supported Platform(s): XL, XM, XS, XA, VC
frequency | LED blink frequency (0.2-50 Hz). |
dutyCycle | LED on duty cycle (0-100%). |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::FrontLED_setStandardColor | ( | FRONTLEDHANDLE | , |
CCAuxColor | color | ||
) |
Set one of the front LED standard colors. It is not recommended to use this function on the VC platform.
Supported Platform(s): XL, XM, XS, XA, VC
color | Color from CCAuxColor enum. |
Example Usage:
EXTERN_C CCAUXDLL_API ABOUTHANDLE CCAUXDLL_CALLING_CONV CrossControl::GetAbout | ( | void | ) |
Factory function that creates instances of the About object.
Supported Platform(s): XL, XM, XS, XA, VC
Returns NULL if it fails to allocate memory.
Example Usage:
EXTERN_C CCAUXDLL_API ADCHANDLE CCAUXDLL_CALLING_CONV CrossControl::GetAdc | ( | void | ) |
Factory function that creates instances of the Adc object.
Supported Platform(s): XL, XM, XS, XA, VC
Returns NULL if it fails to allocate memory.
Example Usage:
EXTERN_C CCAUXDLL_API AUXVERSIONHANDLE CCAUXDLL_CALLING_CONV CrossControl::GetAuxVersion | ( | void | ) |
Factory function that creates instances of the AuxVersion object.
Supported Platform(s): XL, XM, XS, XA, VC
Example Usage:
EXTERN_C CCAUXDLL_API BACKLIGHTHANDLE CCAUXDLL_CALLING_CONV CrossControl::GetBacklight | ( | void | ) |
Factory function that creates instances of the Backlight object.
Supported Platform(s): XL, XM, XS, XA, VC
Example Usage:
EXTERN_C CCAUXDLL_API BATTERYHANDLE CCAUXDLL_CALLING_CONV CrossControl::GetBattery | ( | void | ) |
Factory function that creates instances of the Battery object.
Supported Platform(s): XM
Example Usage:
EXTERN_C CCAUXDLL_API BUZZERHANDLE CCAUXDLL_CALLING_CONV CrossControl::GetBuzzer | ( | void | ) |
Factory function that creates instances of the Buzzer object.
Supported Platform(s): XL, XM, XS, XA, VC
Example Usage:
EXTERN_C CCAUXDLL_API CANSETTINGHANDLE CCAUXDLL_CALLING_CONV CrossControl::GetCanSetting | ( | void | ) |
Factory function that creates instances of the CanSetting object.
Supported Platform(s): XL, XM, XS, XA, VC
Example Usage:
EXTERN_C CCAUXDLL_API CFGINHANDLE CCAUXDLL_CALLING_CONV CrossControl::GetCfgIn | ( | void | ) |
Factory function that creates instances of the CfgIn object.
Supported Platform(s): VC
Example Usage:
EXTERN_C CCAUXDLL_API CONFIGHANDLE CCAUXDLL_CALLING_CONV CrossControl::GetConfig | ( | ) |
Video channel 4 config
Factory function that creates instances of the Config object.
Supported Platform(s): XL, XM, XS, XA, VC
Example Usage:
EXTERN_C CCAUXDLL_API DIAGNOSTICHANDLE CCAUXDLL_CALLING_CONV CrossControl::GetDiagnostic | ( | void | ) |
Factory function that creates instances of the Diagnostic object.
Supported Platform(s): XL, XM, XS, XA, VC
Example Usage:
EXTERN_C CCAUXDLL_API DIGIOHANDLE CCAUXDLL_CALLING_CONV CrossControl::GetDigIO | ( | void | ) |
Factory function that creates instances of the DigIO object.
Supported Platform(s): XL, XM, XS, XA
Example Usage:
EXTERN_C CCAUXDLL_API char const* CCAUXDLL_CALLING_CONV CrossControl::GetErrorStringA | ( | eErr | errCode | ) |
to get a string description.
Get a string description of an error code.
Supported Platform(s): XL, XM, XS, XA
errCode | An error code for which to get a string description. |
EXTERN_C CCAUXDLL_API wchar_t const* CCAUXDLL_CALLING_CONV CrossControl::GetErrorStringW | ( | eErr | errCode | ) |
Get a string description of an error code.
Supported Platform(s): XL, XM, XS, XA
errCode | An error code for which |
EXTERN_C CCAUXDLL_API FIRMWAREUPGHANDLE CCAUXDLL_CALLING_CONV CrossControl::GetFirmwareUpgrade | ( | void | ) |
Factory function that creates instances of the FirmwareUpgrade object.
Supported Platform(s): XL, XM, XS, XA, VC
Example Usage:
EXTERN_C CCAUXDLL_API FRONTLEDHANDLE CCAUXDLL_CALLING_CONV CrossControl::GetFrontLED | ( | void | ) |
Factory function that creates instances of the FrontLED object.
Supported Platform(s): XL, XM, XS, XA, VC
Example Usage:
EXTERN_C CCAUXDLL_API char const* CCAUXDLL_CALLING_CONV CrossControl::GetHwErrorStatusStringA | ( | unsigned short | errCode | ) |
Get a string description of an error code returned from getHwErrorStatus.
errCode | An error code for which to get a string description. |
EXTERN_C CCAUXDLL_API wchar_t const* CCAUXDLL_CALLING_CONV CrossControl::GetHwErrorStatusStringW | ( | unsigned short | errCode | ) |
Get a string description of an error code returned from getHwErrorStatus.
errCode | An error code for which to get a string description. |
EXTERN_C CCAUXDLL_API LIGHTSENSORHANDLE CCAUXDLL_CALLING_CONV CrossControl::GetLightsensor | ( | void | ) |
Factory function that creates instances of the Lightsensor object.
Supported Platform(s): XL, XM, XS, XA, VC
Example Usage:
EXTERN_C CCAUXDLL_API POWERHANDLE CCAUXDLL_CALLING_CONV CrossControl::GetPower | ( | void | ) |
Factory function that creates instances of the Power object.
Supported Platform(s): XL, XM, XS, XA, VC
Example Usage:
EXTERN_C CCAUXDLL_API POWERMGRHANDLE CCAUXDLL_CALLING_CONV CrossControl::GetPowerMgr | ( | void | ) |
Factory function that creates instances of the PowerMgr object.
Supported Platform(s): XL, XM, XS, XA, VC
Example Usage:
EXTERN_C CCAUXDLL_API PWMOUTHANDLE CCAUXDLL_CALLING_CONV CrossControl::GetPWMOut | ( | void | ) |
Factory function that creates instances of the PWMOut object.
Supported Platform(s): VC
Example Usage:
EXTERN_C CCAUXDLL_API SMARTHANDLE CCAUXDLL_CALLING_CONV CrossControl::GetSmart | ( | void | ) |
Factory function that creates instances of the Smart object.
Supported Platform(s): XL, XM
Example Usage:
EXTERN_C CCAUXDLL_API char const* CCAUXDLL_CALLING_CONV CrossControl::GetStartupReasonStringA | ( | unsigned short | code | ) |
Get a string description of a startup reason code returned from getStartupReason.
code | A code for which to get a string description. |
EXTERN_C CCAUXDLL_API wchar_t const* CCAUXDLL_CALLING_CONV CrossControl::GetStartupReasonStringW | ( | unsigned short | code | ) |
Get a string description of a startup reason code returned from getStartupReason.
code | A code for which to get a string description. |
EXTERN_C CCAUXDLL_API TELEMATICSHANDLE CCAUXDLL_CALLING_CONV CrossControl::GetTelematics | ( | void | ) |
Factory function that creates instances of the Telematics object.
Supported Platform(s): XM, XA, XS
Example Usage:
EXTERN_C CCAUXDLL_API TOUCHSCREENHANDLE CCAUXDLL_CALLING_CONV CrossControl::GetTouchScreen | ( | void | ) |
Factory function that creates instances of the TouchScreen object.
Supported Platform(s): XL, XM, XS, XA
Example Usage:
EXTERN_C CCAUXDLL_API TOUCHSCREENCALIBHANDLE CCAUXDLL_CALLING_CONV CrossControl::GetTouchScreenCalib | ( | void | ) |
Factory function that creates instances of the TouchScreenCalib object.
Supported Platform(s): XL, XM, XS, XA
EXTERN_C CCAUXDLL_API VIDEOHANDLE CCAUXDLL_CALLING_CONV CrossControl::GetVideo | ( | void | ) |
Factory function that creates instances of the Video object.
Supported Platform(s): XL, XM, XS, XA, VC
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Lightsensor_getAverageIlluminance | ( | LIGHTSENSORHANDLE | , |
unsigned short * | value | ||
) |
Get average illuminance (light) value from light sensor.
Supported Platform(s): XL, XM, XS, XA, VC
value | Illuminance value (Lux). |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Lightsensor_getIlluminance | ( | LIGHTSENSORHANDLE | , |
unsigned short * | value | ||
) |
Get illuminance (light) value from light sensor.
Supported Platform(s): XL, XM, XS, XA, VC
value | Illuminace value (Lux). |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Lightsensor_getIlluminance2 | ( | LIGHTSENSORHANDLE | , |
unsigned short * | value, | ||
unsigned char * | ch0, | ||
unsigned char * | ch1 | ||
) |
Get illuminance (light) value from light sensor. The parameters cho and ch1 are raw ADC values read from a TAOS TSL2550 lightsensor.
Supported Platform(s): XL, XM, XS, XA, VC
value | Illuminance value (Lux). |
ch0 | Channel0 value. (Not applicable on VC platform - always 0) |
ch1 | Channel1 value. (Not applicable on VC platform - always 0) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Lightsensor_getOperatingRange | ( | LIGHTSENSORHANDLE | , |
LightSensorOperationRange * | range | ||
) |
Get operating range. The light sensor can operate in two ranges. Standard and extended range. In standard range, the range is smaller but resolution higher. See the TSL2550 data sheet for more information. On the VC platform, the ranges correspond to 1000 and 4000 lux maximum value.
Supported Platform(s): XL, XM, XS, XA, VC
range | Operating range. RangeStandard or RangeExtended. |
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV CrossControl::Lightsensor_release | ( | LIGHTSENSORHANDLE | ) |
Delete the Lightsensor object.
Supported Platform(s): XL, XM, XS, XA, VC
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Lightsensor_setOperatingRange | ( | LIGHTSENSORHANDLE | , |
LightSensorOperationRange | range | ||
) |
Set operating range. The light sensor can operate in two ranges. Standard and extended range. In standard range, the range is smaller but resolution higher. See the TSL2550 data sheet for more information. On the VC platform, the ranges correspond to 1000 and 4000 lux maximum value.
Supported Platform(s): XL, XM, XS, XA, VC
range | Operating range to set. RangeStandard or RangeExtended. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Lightsensor_startAverageCalc | ( | LIGHTSENSORHANDLE | , |
unsigned long | averageWndSize, | ||
unsigned long | rejectWndSize, | ||
unsigned long | rejectDeltaInLux, | ||
LightSensorSamplingMode | mode | ||
) |
Start average calculation.
Supported Platform(s): XL, XM, XS, XA, VC
averageWndSize | The average window size in nr of samples. |
rejectWndSize | The reject window size in nr of samples. |
rejectDeltaInLux | The reject delta in lux. |
mode | The configured sampling mode. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Lightsensor_stopAverageCalc | ( | LIGHTSENSORHANDLE | ) |
Stop average calculation.
Supported Platform(s): XL, XM, XS, XA, VC
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Power_ackPowerRequest | ( | POWERHANDLE | ) |
Acknowledge a power request from the system supervisor. This is handled by the service/daemon and should normally not be used by applications unless the CrossControl service/daemon is not being run on the system. If that is the case, the following requests (read by getButtonPowerTransitionStatus) should be acknowledged: BPTS_ShutDown, BPTS_Suspend and BPTS_Restart
Supported Platform(s): XL, XM, XS, XA, VC
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Power_getBLPowerStatus | ( | POWERHANDLE | , |
CCStatus * | status | ||
) |
Get backlight power status.
Supported Platform(s): XL, XM
status | Backlight power status. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Power_getButtonPowerTransitionStatus | ( | POWERHANDLE | , |
ButtonPowerTransitionStatus * | status | ||
) |
Get the current status for front panel button and on/off signal.
Supported Platform(s): XL, XM, XS, XA, VC
status | The current status. See the definition of ButtonPowerTransitionStatus for details. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Power_getCanOCDStatus | ( | POWERHANDLE | , |
OCDStatus * | status | ||
) |
Get Can power overcurrent detection status. Find out if the Can power supervision has detected overcurrent, likely caused by short circuit problems. The overcurrent detection system will immediately turn of the power if such a condition occurs. If the overcurrent remains, Can power is turned off permanently until the unit is restarted. Up to 5 consecutive over-current conditions needed until power is turned off completely. If application software turns off and on the power, the failure counter will be reset.
Supported Platform(s): XL, XM, XS, XA
status | The current overcurrent detection status |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Power_getCanPowerStatus | ( | POWERHANDLE | , |
CCStatus * | status | ||
) |
Get can power status.
Supported Platform(s): XL, XM, XS, XA
status | Can power status. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Power_getExtFanPowerStatus | ( | POWERHANDLE | , |
CCStatus * | status | ||
) |
Get external fan power status.
Supported Platform(s): XL, XM
status | Fan power status. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Power_getVideoOCDStatus | ( | POWERHANDLE | , |
OCDStatus * | status | ||
) |
Get Video power overcurrent detection status. Find out if the video power supervision has detected overcurrent, likely caused by short circuit problems. The overcurrent detection system will immediately turn of the power if such a condition occurs. If the overcurrent remains, video power is turned off permanently until the unit is restarted. Up to 5 consecutive over-current conditions needed until power is turned off completely. If application software turns off and on the power, the failure counter will be reset.
Supported Platform(s): XL, XM, XS, XA
status | The current overcurrent detection status |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Power_getVideoPowerStatus | ( | POWERHANDLE | , |
unsigned char * | videoStatus | ||
) |
Get Video power status.
Supported Platform(s): XL, XM, XS, XA
videoStatus | Video power status. Bit0: Video 1. Bit1: Video 2. Bit2: Video 3. Bit3: Video 4. (1=on, 0=off) |
Example Usage:
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV CrossControl::Power_release | ( | POWERHANDLE | ) |
Delete the Power object.
Supported Platform(s): XL, XM, XS, XA, VC
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Power_setBLPowerStatus | ( | POWERHANDLE | , |
CCStatus | status | ||
) |
Set backlight power status.
Supported Platform(s): XL, XM
status | Backlight power status. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Power_setCanPowerStatus | ( | POWERHANDLE | , |
CCStatus | status | ||
) |
Set can power status.
Supported Platform(s): XL, XM, XS, XA
status | Can power status. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Power_setExtFanPowerStatus | ( | POWERHANDLE | , |
CCStatus | status | ||
) |
Set external fan power status.
Supported Platform(s): XL, XM
status | Fan power status. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Power_setVideoPowerStatus | ( | POWERHANDLE | , |
unsigned char | status | ||
) |
Set Video power status.
Supported Platform(s): XL, XM, XS, XA
status | Video power status. Bit0: Video 1. Bit1: Video 2. Bit2: Video 3. Bit3: Video 4. (1=on, 0=off) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::PowerMgr_getConfiguration | ( | POWERMGRHANDLE | , |
PowerMgrConf * | conf | ||
) |
Get the configuration that is in use.
Supported Platform(s): XL, XM, XS, XA, VC
conf | The configuration in use. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::PowerMgr_getPowerMgrStatus | ( | POWERMGRHANDLE | , |
PowerMgrStatus * | status | ||
) |
Get the current status of the PowerMgr. This functions should be called periodically, to detect when suspend or shutdown requests arrive.
Supported Platform(s): XL, XM, XS, XA, VC
status | The current status. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::PowerMgr_hasResumed | ( | POWERMGRHANDLE | , |
bool * | resumed | ||
) |
This function can be used in a suspend-resume scenario. After the application has used setAppReadyForSuspendOrShutdown() to init the suspend, this function may be polled in order to detect when the system is up and running again. Calling this function before calling setAppReadyForSuspendOrShutdown will return resumed = true.
Supported Platform(s): XL, XM, XS, XA, VC
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::PowerMgr_registerControlledSuspendOrShutDown | ( | POWERMGRHANDLE | , |
PowerMgrConf | conf | ||
) |
Configure the PowerMgr. Call this function once initially to turn on the functionality.
Supported Platform(s): XL, XM, XS, XA, VC
conf | The configuration to use. |
Example Usage:
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV CrossControl::PowerMgr_release | ( | POWERMGRHANDLE | ) |
Delete the PowerMgr object.
Supported Platform(s): XL, XM, XS, XA, VC
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::PowerMgr_setAppReadyForSuspendOrShutdown | ( | POWERMGRHANDLE | ) |
Acknowledge that the application is ready for suspend/shutdown. Should be called after a request has been received in order to execute the request. The application must acknowledge a request within 20s from when it arrives.
Supported Platform(s): XL, XM, XS, XA, VC
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::PWMOut_getPWMOutputChannelDutyCycle | ( | PWMOUTHANDLE | , |
unsigned char | channel, | ||
unsigned char * | duty_cycle | ||
) |
Get PWM Output channel duty cycle
Supported Platform(s): VC
channel | Which channel to get value from There are two output channels, 1 or 2. |
duty_cycle | The read back duty cycle value |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::PWMOut_getPWMOutputChannelFrequency | ( | PWMOUTHANDLE | , |
unsigned char | channel, | ||
float * | frequency | ||
) |
Get PWM Output frequency for a channel
Supported Platform(s): VC
channel | Which channel to set There are two output channels, 1 or 2. |
frequency | 0.0 - 5000.0 Hz frequency value |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::PWMOut_getPWMOutputStatus | ( | PWMOUTHANDLE | , |
unsigned char * | status | ||
) |
Get PWM Output status
Supported Platform(s): VC
status | Read back status value Bit 0 represents PWM Output channel 1. Bit 1 represents PWM Output channel 2. If bit is set, it means short to ground or over temperature detected. |
Example Usage:
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV CrossControl::PWMOut_release | ( | PWMOUTHANDLE | ) |
Delete the PWMOut object.
Supported Platform(s): VC
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::PWMOut_setPWMOutOff | ( | PWMOUTHANDLE | , |
unsigned char | channel | ||
) |
Turn off a PWM Output channel. This function sets both frequency and duty cycle to 0.
Supported Platform(s): VC
channel | Which channel to set |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::PWMOut_setPWMOutputChannelDutyCycle | ( | PWMOUTHANDLE | , |
unsigned char | channel, | ||
unsigned char | duty_cycle | ||
) |
Set PWM Output Duty cycle for a channel
Supported Platform(s): VC
channel | Which channel to set There are two output channels, 1 or 2. |
duty_cycle | Which duty cycle (0-100 %) to use |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::PWMOut_setPWMOutputChannelFrequency | ( | PWMOUTHANDLE | , |
unsigned char | channel, | ||
float | frequency | ||
) |
Set PWM Output frequency for a channel
Supported Platform(s): VC
channel | Which channel to set There are two output channels, 1 or 2. |
frequency | 0.0 - 5000.0 Hz frequency value |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Smart_getDeviceSerial | ( | SMARTHANDLE | , |
char * | buff, | ||
int | len | ||
) |
Get serial number of the secondary storage device.
Supported Platform(s): XL, XM
buff | Text output buffer. |
len | Maximum length of the output buffer. If the actual length of the data is greater, an error will be returned. At least an 21 bytes buffer size must be used since the serial number can be 20 bytes + trailing zero. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Smart_getDeviceSerial2 | ( | SMARTHANDLE | , |
char * | buff, | ||
int | len | ||
) |
Get serial number of the second secondary storage device. Use this function to access the second card if the the device uses two cards.
Supported Platform(s): XL
buff | Text output buffer. |
len | Maximum length of the output buffer. If the actual length of the data is greater, an error will be returned. At least an 21 bytes buffer size must be used since the serial number can be 20 bytes + trailing zero. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Smart_getInitialTime | ( | SMARTHANDLE | , |
time_t * | time | ||
) |
Get the date/time when the SMART monitoring began for this storage device. This time is either when the card first was used or when the system software was updated to support S.M.A.R.T. monitoring for the first time. Logging of time is based on the local time of the computer at the time of logging and may therefore not always be accurate.
Supported Platform(s): XL, XM
time | A 32bit time_t value representing the number of seconds elapsed since 00:00 hours, Jan 1, 1970 UTC. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Smart_getInitialTime2 | ( | SMARTHANDLE | , |
time_t * | time | ||
) |
Get the date/time when the SMART monitoring began for this storage device. This time is either when the card first was used or when the system software was updated to support S.M.A.R.T. monitoring for the first time. Logging of time is based on the local time of the computer at the time of logging and may therefore not always be accurate.
Use this function to access the second card if the the device uses two cards.
Supported Platform(s): XL
time | A 32bit time_t value representing the number of seconds elapsed since 00:00 hours, Jan 1, 1970 UTC. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Smart_getRemainingLifeTime | ( | SMARTHANDLE | , |
unsigned char * | lifetimepercent | ||
) |
Get remaining lifetime of the secondary storage device.
Supported Platform(s): XL, XM
lifetimepercent | The expected remaining lifetime (0..100%). |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Smart_getRemainingLifeTime2 | ( | SMARTHANDLE | , |
unsigned char * | lifetimepercent | ||
) |
Get remaining lifetime of the second secondary storage device. Use this function to access the second card if the the device uses two cards.
Supported Platform(s): XL
lifetimepercent | The expected remaining lifetime (0..100%). |
Example Usage:
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV CrossControl::Smart_release | ( | SMARTHANDLE | ) |
Delete the Smart object.
Supported Platform(s): XL, XM
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Telematics_getBTPowerStatus | ( | TELEMATICSHANDLE | , |
CCStatus * | status | ||
) |
Get Bluetooth power status.
Supported Platform(s): XM, XA, XS
status | Bluetooth power status. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Telematics_getBTStartUpPowerStatus | ( | TELEMATICSHANDLE | , |
CCStatus * | status | ||
) |
Get Bluetooth power status at startup and at resume from suspended mode.
Supported Platform(s): XM, XA, XS
status | Bluetooth power status. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Telematics_getGPRSPowerStatus | ( | TELEMATICSHANDLE | , |
CCStatus * | status | ||
) |
Get GPRS power status.
Supported Platform(s): XM, XA, XS
status | GPRS power status. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Telematics_getGPRSStartUpPowerStatus | ( | TELEMATICSHANDLE | , |
CCStatus * | status | ||
) |
Get GPRS power status at startup and at resume from suspended mode.
Supported Platform(s): XM, XA, XS
status | GPRS power status. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Telematics_getGPSAntennaStatus | ( | TELEMATICSHANDLE | , |
CCStatus * | status | ||
) |
Get GPS antenna status. Antenna open/short detection. The status is set to disabled if no antenna is present or a short is detected.
Supported Platform(s): XM, XA, XS
status | GPS antenna power status. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Telematics_getGPSPowerStatus | ( | TELEMATICSHANDLE | , |
CCStatus * | status | ||
) |
Get GPS power status. Note that it can take some time after calling setGPSPowerStatus before the status is reported correctly.
Supported Platform(s): XM, XA, XS
status | GPS power status. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Telematics_getGPSStartUpPowerStatus | ( | TELEMATICSHANDLE | , |
CCStatus * | status | ||
) |
Get GPS power status at startup and at resume from suspended mode.
Supported Platform(s): XM, XA, XS
status | GPS power status. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Telematics_getTelematicsAvailable | ( | TELEMATICSHANDLE | , |
CCStatus * | status | ||
) |
Is a telematics add-on card installed?
Supported Platform(s): XM, XA, XS
status | Enabled if a telematics add-on card is installed, otherwise Disabled. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Telematics_getWLANPowerStatus | ( | TELEMATICSHANDLE | , |
CCStatus * | status | ||
) |
Get WLAN power status.
Supported Platform(s): XM, XA, XS
status | WLAN power status. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Telematics_getWLANStartUpPowerStatus | ( | TELEMATICSHANDLE | , |
CCStatus * | status | ||
) |
Get WLAN power status at startup and at resume from suspended mode.
Supported Platform(s): XM, XA, XS
status | WLAN power status. |
Example Usage:
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV CrossControl::Telematics_release | ( | TELEMATICSHANDLE | ) |
Delete the Telematics object.
Supported Platform(s): XM, XA, XS
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Telematics_setBTPowerStatus | ( | TELEMATICSHANDLE | , |
CCStatus | status | ||
) |
Set Bluetooth power status.
Supported Platform(s): XM, XA, XS
status | Bluetooth power status. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Telematics_setBTStartUpPowerStatus | ( | TELEMATICSHANDLE | , |
CCStatus | status | ||
) |
Set Bluetooth power status at startup and at resume from suspended mode.
Supported Platform(s): XM, XA, XS
status | Bluetooth power status. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Telematics_setGPRSPowerStatus | ( | TELEMATICSHANDLE | , |
CCStatus | status | ||
) |
Set GPRS modem power status.
Supported Platform(s): XM, XA, XS
status | GPRS modem power status. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Telematics_setGPRSStartUpPowerStatus | ( | TELEMATICSHANDLE | , |
CCStatus | status | ||
) |
Set GPRS power status at startup and at resume from suspended mode.
Supported Platform(s): XM, XA, XS
status | GPRS power status. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Telematics_setGPSPowerStatus | ( | TELEMATICSHANDLE | , |
CCStatus | status | ||
) |
Set GPS power status.
Supported Platform(s): XM, XA, XS
status | GPS power status. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Telematics_setGPSStartUpPowerStatus | ( | TELEMATICSHANDLE | , |
CCStatus | status | ||
) |
Set GPS power status at startup and at resume from suspended mode.
Supported Platform(s): XM, XA, XS
status | GPS power status. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Telematics_setWLANPowerStatus | ( | TELEMATICSHANDLE | , |
CCStatus | status | ||
) |
Set WLAN power status.
Supported Platform(s): XM, XA, XS
status | WLAN power status. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Telematics_setWLANStartUpPowerStatus | ( | TELEMATICSHANDLE | , |
CCStatus | status | ||
) |
Set WLAN power status at startup and at resume from suspended mode.
Supported Platform(s): XM, XA, XS
status | WLAN power status. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::TouchScreen_getAdvancedSetting | ( | TOUCHSCREENHANDLE | , |
TSAdvancedSettingsParameter | param, | ||
unsigned short * | data | ||
) |
Get advanced touch screen settings. See the description of TSAdvancedSettingsParameter for a description of the parameters.
Supported Platform(s): XL, XM, XS, XA
param | The setting to get. |
data | The current data for the setting. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::TouchScreen_getMode | ( | TOUCHSCREENHANDLE | , |
TouchScreenModeSettings * | config | ||
) |
Get Touch Screen mode. Gets the current mode of the USB profile.
Supported Platform(s): XL, XM, XS, XA
config | The current mode. |
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::TouchScreen_getMouseRightClickTime | ( | TOUCHSCREENHANDLE | , |
unsigned short * | time | ||
) |
Get mouse right click time. Applies only to the mouse profile. Use the OS settings for the touch profile.
Supported Platform(s): XL, XM, XS, XA
time | The right click time, in milliseconds. |
Example Usage:
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV CrossControl::TouchScreen_release | ( | TOUCHSCREENHANDLE | ) |
Delete the TouchScreen object.
Supported Platform(s): XL, XM, XS, XA
Example Usage:
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::TouchScreen_setAdvancedSetting | ( | TOUCHSCREENHANDLE | , |
TSAdvancedSettingsParameter | param, | ||
unsigned short | data | ||
) |
Set advanced touch screen settings. See the description of TSAdvancedSettingsParameter for a description of the parameters.
Supported Platform(s): XL, XM, XS, XA
param | The setting to set. |
data | The data value to set. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::TouchScreen_setMode | ( | TOUCHSCREENHANDLE | , |
TouchScreenModeSettings | config | ||
) |
Set Touch Screen mode. Sets the mode of the USB profile.
Supported Platform(s): XL, XM, XS, XA
config | The mode to set. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::TouchScreen_setMouseRightClickTime | ( | TOUCHSCREENHANDLE | , |
unsigned short | time | ||
) |
Set mouse right click time. Applies only to the mouse profile. Use the OS settings for the touch profile.
Supported Platform(s): XL, XM, XS, XA
time | The right click time, in milliseconds. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::TouchScreenCalib_checkCalibrationPointFinished | ( | TOUCHSCREENCALIBHANDLE | , |
bool * | finished, | ||
unsigned char | pointNr | ||
) |
Check if a calibration point is finished
Supported Platform(s): XL, XM, XS, XA
finished | Is current point finished? |
pointNr | Calibration point number (1 to total number of points) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::TouchScreenCalib_getConfigParam | ( | TOUCHSCREENCALIBHANDLE | , |
CalibrationConfigParam | param, | ||
unsigned short * | value | ||
) |
Get calibration config parameters
Supported Platform(s): XL, XM, XS, XA
param | Config parameter |
value | Parameter value |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::TouchScreenCalib_getMode | ( | TOUCHSCREENCALIBHANDLE | , |
CalibrationModeSettings * | mode | ||
) |
Get mode of front controller.
Supported Platform(s): XL, XM, XS, XA
mode | Current calibration mode |
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV CrossControl::TouchScreenCalib_release | ( | TOUCHSCREENCALIBHANDLE | ) |
Delete the TouchScreenCalib object.
Supported Platform(s): XL, XM, XS, XA
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::TouchScreenCalib_setCalibrationPoint | ( | TOUCHSCREENCALIBHANDLE | , |
unsigned char | pointNr | ||
) |
Set calibration point
Supported Platform(s): XL, XM, XS, XA
pointNr | Calibartion point number (1 to total number of points) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::TouchScreenCalib_setConfigParam | ( | TOUCHSCREENCALIBHANDLE | , |
CalibrationConfigParam | param, | ||
unsigned short | value | ||
) |
Set calibration config parameters
Supported Platform(s): XL, XM, XS, XA
param | Config parameter |
value | parameter value |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::TouchScreenCalib_setMode | ( | TOUCHSCREENCALIBHANDLE | , |
CalibrationModeSettings | mode | ||
) |
Set mode of front controller.
Supported Platform(s): XL, XM, XS, XA
mode | Selected calibration mode |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_activateSnapshot | ( | VIDEOHANDLE | , |
bool | activate | ||
) |
To be able to take snapshot the snapshot function has to be active. After activation it takes 120ms before first snapshot can be taken. The Snapshot function can be active all the time. If power consumption and heat is an issue, snapshot may be turned off.
Supported Platform(s): XL, XM (Windows)
activate | Set to true if the snapshot function shall be active. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_createBitmap | ( | VIDEOHANDLE | , |
char ** | bmpBuffer, | ||
unsigned long * | bmpBufSize, | ||
const char * | rawImgBuffer, | ||
unsigned long | rawImgBufSize, | ||
bool | bInterlaced, | ||
bool | bNTSCFormat | ||
) |
Create a bitmap from a raw image buffer. The bmp buffer is allocated in the function and has to be deallocated by the application.
Supported Platform(s): XL, XM (Windows)
bmpBuffer | Bitmap ram buffer allocated by the API, has to be deallocated with freeBmpBuffer() by the application. |
bmpBufSize | Size of the returned bitmap buffer. |
rawImgBuffer | Raw image buffer from takeSnapShotRaw. |
rawImgBufSize | Size of the raw image buffer. |
bInterlaced | Interlaced, if true the bitmap only contains every second line in the image, to save bandwidth. |
bNTSCFormat | True if the video format in rawImageBuffer is NTSC format. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_freeBmpBuffer | ( | VIDEOHANDLE | , |
char * | bmpBuffer | ||
) |
Free the memory allocated for BMP buffer.
Supported Platform(s): XL, XM (Windows)
bmpBuffer | The bmp buffer to free. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_getActiveChannel | ( | VIDEOHANDLE | , |
VideoChannel * | channel | ||
) |
Get the current video channel.
Supported Platform(s): XL, XM, XS, XA, VC
channel | Enum defining available channels. (VC platform ha sonly 1 channel, Analog_Channel_1) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_getColorKeys | ( | VIDEOHANDLE | , |
unsigned char * | rKey, | ||
unsigned char * | gKey, | ||
unsigned char * | bKey | ||
) |
Get color key values. Note that the system uses 18 bit colors, so the two least significant bits are not used.
Supported Platform(s): XL, XM
rKey | Red value. |
gKey | Green value. |
bKey | Blue value. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_getCropping | ( | VIDEOHANDLE | , |
unsigned char * | top, | ||
unsigned char * | left, | ||
unsigned char * | bottom, | ||
unsigned char * | right | ||
) |
Get Crop parameters.
Supported Platform(s): XL, XM, XS, XA, VC
top | Crop top (lines). |
left | Crop left (lines). |
bottom | Crop bottom (lines). |
right | Crop right (lines). |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_getDecoderReg | ( | VIDEOHANDLE | , |
unsigned char | decoderRegister, | ||
unsigned char * | registerValue | ||
) |
Get Video decoder bus register. Advanced function for direct access to the video decoder TVP5150AM1 registers.
Supported Platform(s): XL, XM, XS, XA, VC
decoderRegister | Decoder Register Address. |
registerValue | register value. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_getDeInterlaceMode | ( | VIDEOHANDLE | , |
DeInterlaceMode * | mode | ||
) |
Get the deinterlace mode used when decoding the interlaced video stream.
Supported Platform(s): XL, XM
mode | The current mode. See enum DeInterlaceMode for descriptions of the modes. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_getGraphicsOverlay | ( | VIDEOHANDLE | , |
CCStatus * | mode | ||
) |
Get the current graphics overlaying mode.
Supported Platform(s): XA, XS, VC
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_getMirroring | ( | VIDEOHANDLE | , |
CCStatus * | mode | ||
) |
Get the current mirroring mode of the video image.
Supported Platform(s): XL, XM, XS, XA, VC
mode | The current mode. Enabled or Disabled. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_getRawImage | ( | VIDEOHANDLE | , |
unsigned short * | width, | ||
unsigned short * | height, | ||
float * | frameRate | ||
) |
Get the raw image size of moving image before any scaling and frame rate. For snapshot the height is 4 row less.
Supported Platform(s): XL, XM, XS, XA, VC
width | Width of raw image. |
height | Height of raw moving image, snapshot are 4 bytes less. |
frameRate | Received video frame rate. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_getRotation | ( | VIDEOHANDLE | , |
VideoRotation * | rotation | ||
) |
Get the current rotation of the video image.
Supported Platform(s): XA, XS, VC
rotation | Enum defining the current rotation. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_getScaling | ( | VIDEOHANDLE | , |
float * | x, | ||
float * | y | ||
) |
Get Video Scaling (image size). If the deinterlace mode is set to DeInterlace_Even or DeInterlace_Odd, this function divides the actual vertical scaling by a factor of two, to get the same scaling factor as set with setScaling.
Supported Platform(s): XL, XM
x | Horizontal scaling (0.25-4). |
y | Vertical scaling (0.25-4 DeInterlace_BOB) (0.125-2 DeInterlace_Even, DeInterlace_Odd). |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_getStatus | ( | VIDEOHANDLE | , |
unsigned char * | status | ||
) |
Video status byte.
Supported Platform(s): XL, XM, XS, XA, VC
status | Status byte Bit 0: video on/off 0 = Off, 1 = On. Bit 2-1: De-interlacing method, 0 = Only even rows, 1 = Only odd rows, 2 = BOB, 3 = invalid. Bit 3: Mirroring mode, 0 = Off, 1 = On Bit 4: Read or write operation to analogue video decoder in progress. Bit 5: Analogue video decoder ready bit. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_getVideoArea | ( | VIDEOHANDLE | , |
unsigned short * | topLeftX, | ||
unsigned short * | topLeftY, | ||
unsigned short * | bottomRigthX, | ||
unsigned short * | bottomRigthY | ||
) |
Get the area where video is shown.
Supported Platform(s): XL, XM, XS, XA, VC
topLeftX | Top left X coordinate on screen. |
topLeftY | Top left Y coordinate on screen. |
bottomRigthX | Bottom right X coordinate on screen. |
bottomRigthY | Bottom right Y coordinate on screen. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_getVideoStandard | ( | VIDEOHANDLE | , |
videoStandard * | standard | ||
) |
Get video standard. The video decoder auto detects the video standard of the source.
Supported Platform(s): XL, XM, XS, XA, VC
standard | Video standard. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_init | ( | VIDEOHANDLE | , |
unsigned char | deviceNr | ||
) |
Initialize a video device. The video device will initially use the following settings: DeInterlace_BOB and mirroring disabled.
Supported Platform(s): XL, XM, XS, XA, VC
deviceNr | Device to connect to (1,2). Select one of 2 devices to connect to. (VC platform has only 1 device) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_minimize | ( | VIDEOHANDLE | ) |
Minimizes the video area. Restore with restore() call.
Supported Platform(s): XL, XM, XS, XA, VC
EXTERN_C CCAUXDLL_API void CCAUXDLL_CALLING_CONV CrossControl::Video_release | ( | VIDEOHANDLE | ) |
Delete the Video object.
Supported Platform(s): XL, XM, XS, XA, VC
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_restore | ( | VIDEOHANDLE | ) |
Restores the video area to the size it was before a minimize() call. Don't use restore if minimize has not been used first.
Supported Platform(s): XL, XM, XS, XA, VC
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_setActiveChannel | ( | VIDEOHANDLE | , |
VideoChannel | channel | ||
) |
Sets the active video channel.
Supported Platform(s): XL, XM, XS, XA, VC
channel | Enum defining available channels. (VC platform ha sonly 1 channel, Analog_Channel_1) |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_setColorKeys | ( | VIDEOHANDLE | , |
unsigned char | rKey, | ||
unsigned char | gKey, | ||
unsigned char | bKey | ||
) |
Set color keys. Writes RGB color key values. Note that the system uses 18 bit colors, so the two least significant bits are not used.
Supported Platform(s): XL, XM
rKey | Red key value. |
gKey | Green key value. |
bKey | Blue key value. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_setCropping | ( | VIDEOHANDLE | , |
unsigned char | top, | ||
unsigned char | left, | ||
unsigned char | bottom, | ||
unsigned char | right | ||
) |
Crop video image. Note that the video chip manual says the following about horisontal cropping: The number of pixels of active video must be an even number. The parameters top and bottom are internally converted to an even number. This is due to the input video being interlaced, a pair of odd/even lines are allways cropped together. On XA/XS platforms, cropping from top/bottom on device 2 (channels 3 and 4) is not supported.
Supported Platform(s): XL, XM, XS, XA, VC
top | Crop top (0-255 lines). |
left | Crop left (0-127 lines). |
bottom | Crop bottom (0-255 lines). |
right | Crop right (0-127 lines). |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_setDecoderReg | ( | VIDEOHANDLE | , |
unsigned char | decoderRegister, | ||
unsigned char | registerValue | ||
) |
Set Video decoder bus register. Advanced function for direct access to the video decoder TVP5150AM1 registers.
Supported Platform(s): XL, XM, XS, XA, VC
decoderRegister | Decoder Register Address. |
registerValue | register value. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_setDeInterlaceMode | ( | VIDEOHANDLE | , |
DeInterlaceMode | mode | ||
) |
Set the deinterlace mode used when decoding the interlaced video stream.
Supported Platform(s): XL, XM
mode | The mode to set. See enum DeInterlaceMode for descriptions of the modes. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_setGraphicsOverlay | ( | VIDEOHANDLE | , |
CCStatus | mode | ||
) |
Enable or disable overlaying of graphics on top of video.
Supported Platform(s): XA, XS, VC
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_setMirroring | ( | VIDEOHANDLE | , |
CCStatus | mode | ||
) |
Enable or disable mirroring of the video image.
Supported Platform(s): XL, XM, XS, XA, VC
mode | The mode to set. Enabled or Disabled. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_setRotation | ( | VIDEOHANDLE | , |
VideoRotation | rotation | ||
) |
Set the current rotation of the video image.
Supported Platform(s): XA, XS, VC
rotation | Enum defining the rotation to set. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_setScaling | ( | VIDEOHANDLE | , |
float | x, | ||
float | y | ||
) |
Set Video Scaling (image size). If the deinterlace mode is set to DeInterlace_Even or DeInterlace_Odd, this function multiplies the vertical scaling by a factor of two, to get the correct image proportions.
Supported Platform(s): XL, XM
x | Horizontal scaling (0.25-4). |
y | Vertical scaling (0.25-4 DeInterlace_BOB) (0.125-2 DeInterlace_Even, DeInterlace_Odd). |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_setVideoArea | ( | VIDEOHANDLE | , |
unsigned short | topLeftX, | ||
unsigned short | topLeftY, | ||
unsigned short | bottomRightX, | ||
unsigned short | bottomRightY | ||
) |
Set the area where video is shown.
Supported Platform(s): XL, XM, XS, XA, VC
topLeftX | Top left X coordinate on screen. |
topLeftY | Top left Y coordinate on screen. |
bottomRightX | Bottom right X coordinate on screen. |
bottomRightY | Bottom right Y coordinate on screen. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_showFrame | ( | VIDEOHANDLE | ) |
Copy one frame from camera to the display.
Supported Platform(s): XA, XS, VC
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_showVideo | ( | VIDEOHANDLE | , |
bool | show | ||
) |
Show or hide the video image. Note that it may take some time before the video is shown and correct input info can be read by getRawImage.
Supported Platform(s): XL, XM, XS, XA, VC
show | True shows the video image. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_takeSnapshot | ( | VIDEOHANDLE | , |
const char * | path, | ||
bool | bInterlaced | ||
) |
Takes a snapshot of the current video image and stores it to a bitmap file. This is a combination of takeSnapShotRaw, getVideoStandard and createBitMap and then storing of the bmpBuffer to file. To be able to take a snapshot, the snapshot function has to be active.
Supported Platform(s): XL, XM (Windows)
path | The file path to where the image should be stored. |
bInterlaced | If true the bitmap only contains every second line in the image, to save bandwidth. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_takeSnapshotBmp | ( | VIDEOHANDLE | , |
char ** | bmpBuffer, | ||
unsigned long * | bmpBufSize, | ||
bool | bInterlaced, | ||
bool | bNTSCFormat | ||
) |
Takes a snapshot of the current video image and return a data buffer with a bitmap image. The bmp buffer is allocated in the function and has to be deallocated with freeBmpBuffer() by the application. This is a combination of the function takeSnapShotRaw and createBitMap. To be able to take a snapshot, the snapshot function has to be active.
Supported Platform(s): XL, XM (Windows)
bmpBuffer | Bitmap ram buffer allocated by the API, has to be deallocated with freeBmpBuffer() by the application. |
bmpBufSize | Size of the returned bitmap buffer. |
bInterlaced | If true the bitmap only contains every second line in the image, to save bandwidth. |
bNTSCFormat | True if the video format in rawImageBuffer is NTSC format. |
EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::Video_takeSnapshotRaw | ( | VIDEOHANDLE | , |
char * | rawImgBuffer, | ||
unsigned long | rawImgBuffSize, | ||
bool | bInterlaced | ||
) |
Takes a snapshot of the current video image and return raw image data. The size of the raw image is when interlaced = false 0x100 + line count * row count * 4. The size of the raw image is when interlaced = true 0x100 + line count * row count * 2. To be able to take a snapshot, the snapshot function has to be active. This function is blocking until a new frame is available from the decoder. An error will be returned if the decoder doesn't return any frames before a timeout.
Supported Platform(s): XL, XM (Windows)
rawImgBuffer | Buffer for image to be stored in. |
rawImgBuffSize | Size of the buffer. |
bInterlaced | If true the bitmap only contains every second line in the image, to save bandwidth. |
const unsigned char DigitalIn_1 = (1 << 0) |
Bit defines for getDigIO
const unsigned char DigitalIn_2 = (1 << 1) |
const unsigned char DigitalIn_3 = (1 << 2) |
const unsigned char DigitalIn_4 = (1 << 3) |
const unsigned char Video1Conf = (1 << 0) |
Bit defines for getVideoStartupPowerConfig and setVideoStartupPowerConfig
const unsigned char Video2Conf = (1 << 1) |
Video channel 1 config
const unsigned char Video3Conf = (1 << 2) |
Video channel 2 config
const unsigned char Video4Conf = (1 << 3) |
Video channel 3 config