Commit Graph

46 Commits (c97db0f35f009b01a47ee92475190b04444147cf)

Author SHA1 Message Date
Joe Niksa c97db0f35f icsneolegacy: implemented icsneoGetLastAPIError() 2022-11-25 12:26:41 -05:00
Paul Hollinsky 159c54b756 Legacy: Updates for the new neomessage_t API 2022-02-21 21:36:20 -05:00
Paul Hollinsky f37669139f MSVC: Resolve warnings 2022-02-21 21:36:20 -05:00
Paul Hollinsky 7aedb673fd Legacy: Fix icsneoGetVnetSimpleNetid
The NetID is written to the out* parameter, not returned.
2022-02-21 21:28:31 -05:00
Paul Hollinsky 52c7b5aaca Legacy: Fix icsneoGetNetidforSlaveVNETs
The NetID is written to the out* parameter, not returned.
2022-02-21 21:28:31 -05:00
Paul Hollinsky 0f9bf83c89 Legacy: Formatting 2022-02-21 21:28:31 -05:00
Paul Hollinsky dfd8768bbf Legacy: Correct Ethernet message translation
* Fixes NetIDs over 255
* Fixes data lengths over 255
* Avoids writing unexpected messages to client
2022-02-21 21:28:31 -05:00
Paul Hollinsky 94e0ea1fe0 Legacy: Prevent incorrect access to NetID maps 2022-02-21 21:28:30 -05:00
Paul Hollinsky 27184a203f Legacy: Use new layout for SDeviceSettings
This fixes issues where the settings values would be shifted.
2021-08-20 10:36:55 -04:00
Paul Hollinsky a8562aca60 API: Legacy: Make icsneoFindDevices edge cases match icsneo40 2021-06-14 14:41:54 -04:00
Paul Hollinsky da4ab6ef62 API: Legacy: Fix MSVC build issues 2021-06-11 18:44:33 -04:00
Paul Hollinsky 9b2eae4a6c API: Legacy: Fix icsneoFindDevices 2021-06-11 15:19:40 -04:00
Paul Hollinsky f3e456e7ea API: Legacy: Fix build issues caused by the merge 2021-06-11 13:05:39 -04:00
Paul Hollinsky 34f7bfabd2 API: Legacy: Remove unused variable 2021-06-11 12:36:37 -04:00
David Rebbe d82a069842 API: Legacy: Add icsneoOpenDevice
Needed for compatibility with the latest python-ics
2021-06-11 12:35:28 -04:00
Sangeetha Hariharasudhan 9e70a9d51f API: Legacy: Implement functions necessary for J2534
icsneoEnableNetworkComEx
icsneoGetDeviceSettingsType
icsneoGetDeviceSettings
icsneoSetDeviceSettings
icsneoGetMiniportAdapterInfo
icsneoEnableDOIPLine
icsneoGetVnetSimpleNetid
icsneoGetNetidforSlaveVNETs
icsneoSetBitRateEx
icsneoSetFDBitRate
icsneoSerialNumberFromString
icsneoJ2534Cmd

_stdcall convention added with .def file (octal support)

use NumberBytesHeader instead of NodeID in txmessagesEx
2021-06-10 16:58:11 -04:00
David Rebbe 4e901676d2 Added icsneoOpenDevice. 2021-06-07 17:03:56 -04:00
Paul Hollinsky 9ba21d5dc7 C API: Digital IO function use stdbool.h
This requirement is already in place and makes the API more consistent
2021-04-11 20:54:59 -04:00
Paul Hollinsky a6c8acd8e9 Ethernet (DoIP) Activation Line support 2021-04-06 22:50:25 -04:00
Kyle Schwarz ffbb5e20c5 Add description field for messages
Closes https://github.com/intrepidcs/libicsneo/issues/28
2020-11-13 16:15:04 -05:00
Paul Hollinsky dfe2d23d85
Merge pull request #27 from pierreluctg/icsneolegacy-ExtraDataPrtEnabled
Setting ExtraDataPtrEnabled when ExtraDataPtr is use
2020-09-23 12:40:56 -04:00
Pierre-Luc Tessier Gagne 2cd074cf13 Setting ExtraDataPtrEnabled when ExtraDataPtr is use 2020-09-23 08:40:57 -04:00
Pierre-Luc Tessier Gagne 90b04f4578 Adding icsneoSetFDBitRate api to the icsneolocacy 2020-09-23 07:23:17 -04:00
EricLiu2000 655a483aee Cleaned up icsneolegacy returns that use icsneo_settingsReadStructure 2019-07-30 10:29:42 -04:00
EricLiu2000 5a98bac8a6 Standardized int-returning functions in icsneoc library to return -1 on failure. Updated icsneolegacy accordingly, and added headers for message callback functionality in c 2019-07-29 16:08:54 -04:00
EricLiu2000 12cb4c227a icsneolegacy icsneoOpenNeoDevice return now checks success for setting polling message limit and enabling message polling too 2019-06-18 11:40:18 -04:00
Paul Hollinsky 7cf0ec5f4f Rename timestampMultiplier to timestampResolution
We've also decided to leave it out of the message structures since, for most uses going forward, it will not be needed.

Anyone who wants the timestamp resolution can always make the inexpensive device call to get it.
2019-05-06 12:32:04 -04:00
Paul Hollinsky d1cd34fb24 Merge remote-tracking branch 'drebbe-intrepid/master' into timestamp 2019-05-06 12:01:09 -04:00
Paul Hollinsky bf89d6b7a4 Update the legacy API to more closely match the behavior of the icsneo40.dll
Fixes Issue #9
2019-04-23 16:47:52 -04:00
David Rebbe 23c3cc3763 Implemented legacy icsneoGetTimeStampForMsg() function call.
Signed-off-by: David Rebbe <drebbe@intrepidcs.com>
2019-04-05 19:09:52 -04:00
David Rebbe 9a83ec1822 Updated icsnVC40.h to latest v803 release.
Signed-off-by: David Rebbe <drebbe@intrepidcs.com>
2019-03-27 17:39:12 -04:00
Paul Hollinsky ae78122cbe Add LSFTCAN and SWCAN support 2019-01-22 13:14:28 -05:00
Paul Hollinsky 61c16f4dfc Updates to the legacy API
* Added transmit

* Added support for the new style icsneoFindDevices() call

* Added support for blocking wait for message

* CAN FD and XTD 29-bit CAN Support
2019-01-03 16:57:29 -05:00
Paul Hollinsky e124ad28f4 Major improvements to the settings API
* Allow the raw structure to be manipulated from C and Legacy APIs

 * Structure is now split between what's on the device and what's on the client so changes will not be visible from read methods until apply()

 * Allow devices to connect which have slightly different firmware versions than the settings structure
2018-12-21 20:24:11 -05:00
Paul Hollinsky 151b2ce266 Implement serial number in the legacy API 2018-12-21 20:16:32 -05:00
Paul Hollinsky 77d694c662 Added the ability to block on getMessages until a message arrives 2018-11-09 16:28:48 -05:00
Paul Hollinsky 4f91d0775f Version info 2018-10-29 16:35:14 -04:00
Paul Hollinsky 9675bb81f7 Resolve MSVC errors and warnings with refactor 2018-10-22 12:19:33 -04:00
Paul Hollinsky 8e6b0d0b0e Refactor for a central include directory 2018-10-22 11:52:34 -04:00
Paul Hollinsky e5f1ba41b5 Resolve relevant Linux compile warnings 2018-10-18 13:49:56 -04:00
Paul Hollinsky 92839c22a5 Merge branch 'devicesettings' of Lustra:InfiniteWalrus/libicsneo into devicesettings 2018-10-17 16:26:42 -04:00
Paul Hollinsky 4426334f3f Resolve Linux build issues and warnings 2018-10-17 15:13:28 -04:00
Jeffrey Quesnelle 25fb140404 few changes so project can be built as a submoodule 2018-10-17 13:19:42 -04:00
Paul Hollinsky ba9813021e Legacy API can receive CAN now 2018-10-08 21:43:32 -04:00
Paul Hollinsky 2b443ad83d The icsneolegacy API finds devices correctly now 2018-09-27 13:34:16 -04:00
Paul Hollinsky 1dcdb58008 Skeleton legacy API 2018-09-26 16:49:31 -04:00