![]() |
CCAux
2.17.0.0
CCAux API reference
|
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_t *buff, int32_t len) |
| EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getUnitSerial (ABOUTHANDLE, char_t *buff, int32_t len) |
| EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getMainPCBArt (ABOUTHANDLE, char_t *buff, int32_t length) |
| EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getMainManufacturingDate (ABOUTHANDLE, char_t *buff, int32_t len) |
| EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getMainHWversion (ABOUTHANDLE, char_t *buff, int32_t len) |
| EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getMainProdRev (ABOUTHANDLE, char_t *buff, int32_t len) |
| EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getMainProdArtNr (ABOUTHANDLE, char_t *buff, int32_t len) |
| EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getNrOfETHConnections (ABOUTHANDLE, uint8_t *NrOfConnections) |
| EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getNrOfCANConnections (ABOUTHANDLE, uint8_t *NrOfConnections) |
| EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getNrOfVideoConnections (ABOUTHANDLE, uint8_t *NrOfConnections) |
| EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getNrOfUSBConnections (ABOUTHANDLE, uint8_t *NrOfConnections) |
| EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getNrOfSerialConnections (ABOUTHANDLE, uint8_t *NrOfConnections) |
| EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getNrOfDigIOConnections (ABOUTHANDLE, uint8_t *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_getIsPCBBluetoothAvailable (ABOUTHANDLE, bool *available) |
| EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getDisplayResolution (ABOUTHANDLE, char_t *buff, int32_t len) |
| EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getAddOnPCBSerial (ABOUTHANDLE, char_t *buff, int32_t len) |
| EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getAddOnPCBArt (ABOUTHANDLE, char_t *buff, int32_t length) |
| EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getAddOnManufacturingDate (ABOUTHANDLE, char_t *buff, int32_t len) |
| EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getAddOnHWversion (ABOUTHANDLE, char_t *buff, int32_t 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, uint8_t *major, uint8_t *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, uint16_t *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, uint8_t *NrOfConnections) |
| EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getNrOfPWMOutConnections (ABOUTHANDLE, uint8_t *NrOfConnections) |
| EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getNrOfButtons (ABOUTHANDLE, int32_t *numbuttons) |
| EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getNrOfAnalogInputs (ABOUTHANDLE, int32_t *numanalogins) |
| EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_getUserEepromData (ABOUTHANDLE, char_t *buff, uint16_t length) |
| EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV | About_setUserEepromData (ABOUTHANDLE, uint16_t startpos, const char_t *buff, uint16_t length) |
Functions in the About class
| EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getAddOnHWversion | ( | ABOUTHANDLE | , |
| char_t * | buff, | ||
| int32_t | 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_t * | buff, | ||
| int32_t | 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_t * | buff, | ||
| int32_t | 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_t * | buff, | ||
| int32_t | 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_t * | buff, | ||
| int32_t | len | ||
| ) |
Get display resolution.
Supported Platform(s): XL, XM, XM9, XS, XA, VC, VS, VI2
| 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 | , |
| uint8_t * | major, | ||
| uint8_t * | 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 | , |
| uint16_t * | 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, XM9, XS, XA, VC, VS, VI2
| 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_getIsPCBBluetoothAvailable | ( | ABOUTHANDLE | , |
| bool * | available | ||
| ) |
Get PCB mounted bluetooth status. Not to be confused with the bluetooth module mounted on the telematics add on board
Supported Platform(s): VI2
| available | Is bluetooth available? |
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, XM9, XS, XA, VC, VS, VI2
| 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_t * | buff, | ||
| int32_t | len | ||
| ) |
Get main hardware version (PCB revision).
Supported Platform(s): XL, XM, XM9, XS, XA, VC, VS, VI2
| 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_t * | buff, | ||
| int32_t | len | ||
| ) |
Get main manufacturing date.
Supported Platform(s): XL, XM, XM9, XS, XA, VC, VS, VI2
| 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_t * | buff, | ||
| int32_t | length | ||
| ) |
Get main PCB article number.
Supported Platform(s): XL, XM, XM9, XS, XA, VC, VS, VI2
| 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_t * | buff, | ||
| int32_t | len | ||
| ) |
Get main PCB serial number.
Supported Platform(s): XL, XM, XM9, XS, XA, VC, VS, VI2
| 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_t * | buff, | ||
| int32_t | len | ||
| ) |
Get main product article number.
Supported Platform(s): XL, XM, XM9, XS, XA, VC, VS, VI2
| 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_t * | buff, | ||
| int32_t | len | ||
| ) |
Get main product revision.
Supported Platform(s): XL, XM, XM9, XS, XA, VC, VS, VI2
| 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_getNrOfAnalogInputs | ( | ABOUTHANDLE | , |
| int32_t * | numanalogins | ||
| ) |
Get number of external analog inputs.
Supported Platform(s): VI2
| numanalogins | Number of external analog inputs. |
Example Usage:
| EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getNrOfButtons | ( | ABOUTHANDLE | , |
| int32_t * | numbuttons | ||
| ) |
Get number of configurable buttons.
Supported Platform(s): VC, VA, VS, VI2
| numbuttons | Number of configurable buttons. |
Example Usage:
| EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getNrOfCANConnections | ( | ABOUTHANDLE | , |
| uint8_t * | NrOfConnections | ||
| ) |
Get number of CAN connections present.
Supported Platform(s): XL, XM, XM9, XS, XA, VC, VS, VI2
| NrOfConnections | Returns the number of connections. |
Example Usage:
| EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getNrOfCfgInConnections | ( | ABOUTHANDLE | , |
| uint8_t * | NrOfConnections | ||
| ) |
Get number of configurable input connections present.
Supported Platform(s): VC, VA, VS, VI2
| NrOfConnections | Returns the number of inputs. |
Example Usage:
| EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getNrOfDigIOConnections | ( | ABOUTHANDLE | , |
| uint8_t * | 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 | , |
| uint8_t * | NrOfConnections | ||
| ) |
Get number of Ethernet connections present.
Supported Platform(s): XL, XM, XM9, XS, XA, VC, VS, VI2
| NrOfConnections | Returns the number of connections. |
Example Usage:
| EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getNrOfPWMOutConnections | ( | ABOUTHANDLE | , |
| uint8_t * | NrOfConnections | ||
| ) |
Get number of PWM Output connections present.
Supported Platform(s): VC, VA, VI2
| NrOfConnections | Returns the number of outputs. |
Example Usage:
| EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getNrOfSerialConnections | ( | ABOUTHANDLE | , |
| uint8_t * | NrOfConnections | ||
| ) |
Get number of serial port (RS232) connections present.
Supported Platform(s): XL, XM, XM9, XS, XA, VC, VS, VI2
| NrOfConnections | Returns the number of connections. |
Example Usage:
| EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getNrOfUSBConnections | ( | ABOUTHANDLE | , |
| uint8_t * | NrOfConnections | ||
| ) |
Get number of USB connections present.
Supported Platform(s): XL, XM, XM9, XS, XA, VC, VS, VI2
| NrOfConnections | Returns the number of connections. |
Example Usage:
| EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getNrOfVideoConnections | ( | ABOUTHANDLE | , |
| uint8_t * | NrOfConnections | ||
| ) |
Get number of Video connections present.
Supported Platform(s): XL, XM, XM9, XS, XA, VC, VS, VI2
| NrOfConnections | Returns the number of connections. |
Example Usage:
| EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_getUnitSerial | ( | ABOUTHANDLE | , |
| char_t * | buff, | ||
| int32_t | len | ||
| ) |
Get unit serial number.
Supported Platform(s): XL, XM, XM9, XS, XA, VC, VS, VI2
| 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_t * | buff, | ||
| uint16_t | 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, XM9, 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, VC, VA, VI2, VS
| 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, XM9, XS, XA, VC, VS, VI2
Example Usage:
| EXTERN_C CCAUXDLL_API eErr CCAUXDLL_CALLING_CONV CrossControl::About_setUserEepromData | ( | ABOUTHANDLE | , |
| uint16_t | startpos, | ||
| const char_t * | buff, | ||
| uint16_t | length | ||
| ) |
Set User Eeprom data. The user eeprom holds 4096 bytes of data which are fully accessible.
Supported Platform(s): XL, XM, XM9, XS, XA
| startpos | eeprom write start position. |
| buff | data buffer. |
| length | buffer length to write. |
| 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, XM9, XS, XA, VC, VS, VI2
Returns NULL if it fails to allocate memory.
Example Usage:
1.8.14