mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-05 01:18:36 +02:00
Remove trailing white-space
This commit is contained in:
@@ -81,17 +81,17 @@ SCRIPTWRITEAPPSIGNAL icsneoScriptWriteAppSignal;
|
||||
//SCRIPTWRITETXMESSAGE icsneoScriptWriteTxMessage;
|
||||
|
||||
|
||||
//The following are valid strings for setting parameters on devices
|
||||
//The following are valid strings for setting parameters on devices
|
||||
//using the icsneoGetDeviceParameters() and icsneoSetDeviceParameters() functions
|
||||
char *FireParameters[] =
|
||||
{
|
||||
"can1", "can2", "can3", "can4", "swcan", "lsftcan", "lin1", "lin2",
|
||||
"lin3", "lin4", "cgi_baud", "cgi_tx_ifs_bit_times",
|
||||
"cgi_rx_ifs_bit_times", "cgi_chksum_enable", "network_enables",
|
||||
"network_enabled_on_boot", "pwm_man_timeout", "pwr_man_enable",
|
||||
"misc_io_initial_ddr", "misc_io_initial_latch", "misc_io_analog_enable",
|
||||
"misc_io_report_period", "misc_io_on_report_events", "ain_sample_period",
|
||||
"ain_threshold", "iso15765_separation_time_offset", "iso9141_kwp_settings",
|
||||
"cgi_rx_ifs_bit_times", "cgi_chksum_enable", "network_enables",
|
||||
"network_enabled_on_boot", "pwm_man_timeout", "pwr_man_enable",
|
||||
"misc_io_initial_ddr", "misc_io_initial_latch", "misc_io_analog_enable",
|
||||
"misc_io_report_period", "misc_io_on_report_events", "ain_sample_period",
|
||||
"ain_threshold", "iso15765_separation_time_offset", "iso9141_kwp_settings",
|
||||
"perf_en", "iso_parity", "iso_msg_termination", "network_enables_2"
|
||||
};
|
||||
|
||||
@@ -99,30 +99,30 @@ char *FireParameters[] =
|
||||
char *VCAN3Parameters[] =
|
||||
{
|
||||
"can1", "can2", "network_enables", "network_enabled_on_boot", "iso15765_separation_time_offset",
|
||||
"perf_en", "misc_io_initial_ddr", "misc_io_initial_latch", "misc_io_report_period",
|
||||
"perf_en", "misc_io_initial_ddr", "misc_io_initial_latch", "misc_io_report_period",
|
||||
"misc_io_on_report_events"
|
||||
};
|
||||
|
||||
char *CANParameters[] =
|
||||
char *CANParameters[] =
|
||||
{
|
||||
"Mode", "SetBaudrate", "Baudrate", "NetworkType", "TqSeg1",
|
||||
"TqSeg2", "TqProp", "TqSync", "BRP", "auto_baud"
|
||||
};
|
||||
|
||||
char *SWCANParameters[] =
|
||||
char *SWCANParameters[] =
|
||||
{
|
||||
"Mode", "SetBaudrate", "Baudrate", "NetworkType", "TqSeg1", "TqSeg2",
|
||||
"Mode", "SetBaudrate", "Baudrate", "NetworkType", "TqSeg1", "TqSeg2",
|
||||
"TqProp", "TqSync", "BRP", "high_speed_auto_switch", "auto_baud"
|
||||
};
|
||||
|
||||
char *LINParameters[] =
|
||||
char *LINParameters[] =
|
||||
{
|
||||
"Baudrate", "spbrg", "brgh", "MasterResistor", "Mode"
|
||||
};
|
||||
|
||||
char *ISOKWPParms[] =
|
||||
{
|
||||
"Baudrate", "spbrg", "brgh", "init_steps", "init_step_count",
|
||||
"Baudrate", "spbrg", "brgh", "init_steps", "init_step_count",
|
||||
"p2_500us", "p3_500us", "p4_500us", "chksum_enabled"
|
||||
};
|
||||
|
||||
@@ -203,14 +203,14 @@ bool LoadDLLAPI(HINSTANCE &hAPIDLL)
|
||||
|
||||
|
||||
|
||||
if(!icsneoFindNeoDevices || !icsneoOpenNeoDevice || !icsneoClosePort || !icsneoFreeObject ||
|
||||
if(!icsneoFindNeoDevices || !icsneoOpenNeoDevice || !icsneoClosePort || !icsneoFreeObject ||
|
||||
!icsneoTxMessages || !icsneoGetMessages || !icsneoWaitForRxMessagesWithTimeOut ||
|
||||
!icsneoGetTimeStampForMsg || !icsneoEnableNetworkRXQueue || !icsneoGetISO15765Status || !icsneoTxMessagesEx ||
|
||||
!icsneoSetISO15765RxParameters || !icsneoGetConfiguration || !icsneoSendConfiguration ||
|
||||
!icsneoGetFireSettings || !icsneoSetFireSettings || !icsneoGetVCAN3Settings ||
|
||||
!icsneoSetVCAN3Settings || !icsneoGetVCANRFSettings || !icsneoSetVCANRFSettings || !icsneoGetFire2Settings ||
|
||||
!icsneoGetVCAN412Settings || !icsneoSetVCAN412Settings ||
|
||||
!icsneoSetFire2Settings || !icsneoGetRADGalaxySettings || !icsneoSetRADGalaxySettings ||
|
||||
!icsneoSetFire2Settings || !icsneoGetRADGalaxySettings || !icsneoSetRADGalaxySettings ||
|
||||
!icsneoSetBitRate || !icsneoGetDeviceParameters || !icsneoSerialNumberToString ||
|
||||
!icsneoSetDeviceParameters || !icsneoGetLastAPIError || !icsneoGetErrorMessages ||
|
||||
!icsneoGetErrorInfo || !icsneoScriptLoad || !icsneoScriptStart || !icsneoScriptStop ||
|
||||
|
||||
@@ -11,23 +11,23 @@ void UnloadDLLAPI(HINSTANCE &hAPIDLL);
|
||||
//Basic Functions
|
||||
typedef int (__stdcall *FINDNEODEVICES)(unsigned long DeviceTypes, NeoDevice *pNeoDevice, int *pNumDevices);
|
||||
typedef int (__stdcall *OPENNEODEVICE)(NeoDevice *pNeoDevice, void * hObject, unsigned char *bNetworkIDs, int bConfigRead, int bSyncToPC);
|
||||
typedef int (__stdcall *CLOSEPORT)(void * hObject, int *pNumberOfErrors);
|
||||
typedef int (__stdcall *CLOSEPORT)(void * hObject, int *pNumberOfErrors);
|
||||
typedef void (__stdcall *FREEOBJECT)(void * hObject);
|
||||
typedef int (__stdcall *OPENPORTEX)(void * lPortNumber, int lPortType, int lDriverType, int lIPAddressMSB, int lIPAddressLSBOrBaudRate,
|
||||
typedef int (__stdcall *OPENPORTEX)(void * lPortNumber, int lPortType, int lDriverType, int lIPAddressMSB, int lIPAddressLSBOrBaudRate,
|
||||
int bConfigRead, unsigned char *bNetworkID, int * hObject);
|
||||
typedef int (__stdcall *SERIALNUMBERTOSTRING) (unsigned long serial, char *data,unsigned long data_size);
|
||||
|
||||
//Message Functions
|
||||
typedef int (__stdcall *GETMESSAGES)(void * hObject, icsSpyMessage *pMsg, int * pNumberOfMessages, int * pNumberOfErrors);
|
||||
typedef int (__stdcall *TXMESSAGES)(void * hObject, icsSpyMessage *pMsg, int lNetworkID, int lNumMessages);
|
||||
typedef int (__stdcall *GETMESSAGES)(void * hObject, icsSpyMessage *pMsg, int * pNumberOfMessages, int * pNumberOfErrors);
|
||||
typedef int (__stdcall *TXMESSAGES)(void * hObject, icsSpyMessage *pMsg, int lNetworkID, int lNumMessages);
|
||||
typedef int (__stdcall *TXMESSAGESEX)(void * hObject,icsSpyMessage *pMsg, unsigned int lNetworkID,unsigned int lNumMessages,unsigned int *NumTxed, unsigned int zero2);
|
||||
typedef int (__stdcall *WAITFORRXMSGS)(void * hObject, unsigned int iTimeOut);
|
||||
typedef int (__stdcall *ENABLERXQUEUE)(void * hObject, int iEnable);
|
||||
typedef int (__stdcall *GETTSFORMSG)(void * hObject, icsSpyMessage *pMsg, double *pTimeStamp);
|
||||
typedef void (__stdcall *GETISO15765STATUS)(void * hObject, int lNetwork, int lClearTxStatus,
|
||||
typedef void (__stdcall *GETISO15765STATUS)(void * hObject, int lNetwork, int lClearTxStatus,
|
||||
int lClearRxStatus, int *lTxStatus, int *lRxStatus);
|
||||
typedef void (__stdcall *SETISO15765RXPARMS)(void * hObject, int lNetwork, int lEnable,
|
||||
spyFilterLong *pFF_CFMsgFilter, icsSpyMessage *pTxMsg,
|
||||
typedef void (__stdcall *SETISO15765RXPARMS)(void * hObject, int lNetwork, int lEnable,
|
||||
spyFilterLong *pFF_CFMsgFilter, icsSpyMessage *pTxMsg,
|
||||
int lCFTimeOutMs, int lFlowCBlockSize,
|
||||
int lUsesExtendedAddressing, int lUseHardwareIfPresent);
|
||||
typedef int (__stdcall *DOWNLOADISO15765_2_TXSCRIPT)(void * hObject, unsigned int NetworkID);
|
||||
@@ -36,7 +36,7 @@ typedef int (__stdcall *TXISO15765_2_MESSAGE)(void * hObject, stCM_ISO157652_TxM
|
||||
|
||||
//Device Functions
|
||||
typedef int (__stdcall *GETCONFIG)(void * hObject, unsigned char * pData, int * lNumBytes);
|
||||
typedef int (__stdcall *SENDCONFIG)(void * hObject, unsigned char * pData, int lNumBytes);
|
||||
typedef int (__stdcall *SENDCONFIG)(void * hObject, unsigned char * pData, int lNumBytes);
|
||||
typedef int (__stdcall *GETFIRESETTINGS)(void * hObject, SFireSettings *pSettings, int iNumBytes);
|
||||
typedef int (__stdcall *SETFIRESETTINGS)(void * hObject, SFireSettings *pSettings, int iNumBytes, int bSaveToEEPROM);
|
||||
|
||||
@@ -66,7 +66,7 @@ typedef int (__stdcall *SETDEVICEPARMS)(void * hObject, char *pParmValue, int *p
|
||||
//Error Functions
|
||||
typedef int (__stdcall *GETLASTAPIERROR)(void * hObject, unsigned long *pErrorNumber);
|
||||
typedef int (__stdcall *GETERRMSGS)(void * hObject, int * pErrorMsgs, int * pNumberOfErrors);
|
||||
typedef int (__stdcall *GETERRORINFO)(int lErrorNumber, TCHAR *szErrorDescriptionShort,
|
||||
typedef int (__stdcall *GETERRORINFO)(int lErrorNumber, TCHAR *szErrorDescriptionShort,
|
||||
TCHAR *szErrorDescriptionLong, int * lMaxLengthShort,
|
||||
int * lMaxLengthLong,int * lErrorSeverity,int * lRestartNeeded);
|
||||
|
||||
@@ -84,8 +84,8 @@ typedef int (__stdcall *STARTSOCKSERVER)(void * hObject, int iPort);
|
||||
typedef int (__stdcall *STOPSOCKSERVER)(void * hObject);
|
||||
|
||||
//CoreMini Script functions
|
||||
typedef int (__stdcall *SCRIPTSTART)(void * hObject, int iLocation);
|
||||
typedef int (__stdcall *SCRIPTSTOP)(void * hObject);
|
||||
typedef int (__stdcall *SCRIPTSTART)(void * hObject, int iLocation);
|
||||
typedef int (__stdcall *SCRIPTSTOP)(void * hObject);
|
||||
typedef int (__stdcall *SCRIPTLOAD)(void * hObject, const unsigned char * bin, unsigned long len_bytes, int iLocation);
|
||||
typedef int (__stdcall *SCRIPTCLEAR)(void * hObject, int iLocation);
|
||||
typedef int (__stdcall *SCRIPTSTARTFBLOCK)(void * hObject,unsigned int fb_index);
|
||||
@@ -99,15 +99,15 @@ typedef int (__stdcall *SCRIPTWRITEISO15765TXMESSAGE)(void * hObject, unsigned
|
||||
|
||||
|
||||
//Deprecated (but still suppored in the DLL)
|
||||
//////typedef int (__stdcall *OPENPORTEX)(int lPortSerialNumber, int lPortType, int lDriverType,
|
||||
////// int lIPAddressMSB, int lIPAddressLSBOrBaudRate,int bConfigRead,
|
||||
//////typedef int (__stdcall *OPENPORTEX)(int lPortSerialNumber, int lPortType, int lDriverType,
|
||||
////// int lIPAddressMSB, int lIPAddressLSBOrBaudRate,int bConfigRead,
|
||||
////// unsigned char * bNetworkID, int * hObject);
|
||||
//////
|
||||
//////typedef int (__stdcall *OPENPORT)(int lPortNumber, int lPortType, int lDriverType,
|
||||
//////typedef int (__stdcall *OPENPORT)(int lPortNumber, int lPortType, int lDriverType,
|
||||
////// unsigned char *bNetworkID, unsigned char *bSCPIDs, int * hObject);
|
||||
//////typedef int (__stdcall *ENABLENETWORKCOM)(void * hObject, int Enable);
|
||||
//////typedef int (__stdcall *FINDCOMDEVICES)(int lDriverType, int lGetSerialNumbers, int lStopAtFirst, int lUSBCommOnly,
|
||||
////// int *p_lDeviceTypes, int *p_lComPorts, int *p_lSerialNumbers, int *lNumDevices);
|
||||
////// int *p_lDeviceTypes, int *p_lComPorts, int *p_lSerialNumbers, int *lNumDevices);
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user