Commit Graph

198 Commits (76fd1177de7fbc2ff1be7be987f5dc5b76540202)

Author SHA1 Message Date
David Rebbe 76fd1177de fixed calls around safe_str_copy 2024-12-09 07:52:26 -05:00
David Rebbe 7e616536ef fixed unsafe warnings and added icsneo_get_bus_type_name 2024-12-09 07:33:49 -05:00
David Rebbe b0575fe658 Added icsneo_can_messages_create, untested. 2024-12-08 07:42:16 -05:00
David Rebbe 2a63bbf13f simplified initialization and cleanup. 2024-12-08 07:24:26 -05:00
David Rebbe b514a55749 added icsneo_device_transmit_messages, not tested yet. 2024-12-08 07:05:21 -05:00
David Rebbe cc0f257cee added icsneo_device_supports_tc10 2024-12-05 16:23:36 -05:00
David Rebbe 7e4c0cdc43 commonize the naming of the functions 2024-12-05 16:19:32 -05:00
David Rebbe a2feff5dbd rename icsneo_error_code 2024-12-05 16:11:53 -05:00
David Rebbe 9acd669feb add icsneo_is_online_supported 2024-12-05 16:10:32 -05:00
David Rebbe 86992b2612 revert c++20 feature 2024-12-05 13:59:10 -05:00
David Rebbe d3c7a92f57 fixed some naming issues. 2024-12-05 12:01:39 -05:00
David Rebbe 3cdf9a341f memory optimizations 2024-12-05 11:42:55 -05:00
David Rebbe 875bf45421 added icsneo_device_load_default_settings 2024-12-04 23:18:26 -05:00
David Rebbe dee031710f added rtc functions 2024-12-04 23:08:49 -05:00
David Rebbe b44bf07d1b implemented can getter methods. 2024-12-04 15:35:57 -05:00
David Rebbe 6ca173813e update comment 2024-12-04 12:36:50 -05:00
David Rebbe 6a17e98488 remove check that isn't needed 2024-12-04 12:36:04 -05:00
David Rebbe b88f8dbb05 added icsneo_get_events, icsneo_device_get_events, and icsneo_event_get_description 2024-12-04 12:32:42 -05:00
David Rebbe a7738f192f added icsneo_message_get_type and icsneo_message_get_bus_type 2024-12-04 00:24:26 -05:00
David Rebbe 4901168068 renamed RawMessage to InternalMessage 2024-12-03 23:59:19 -05:00
David Rebbe dc54bc6868 renamed Frame to BusMessage 2024-12-03 23:57:46 -05:00
David Rebbe e3ff239da7 moved and renamed network type to icsneo_msg_bus_type_t 2024-12-03 23:56:17 -05:00
David Rebbe 63fd8c2f3a fixed messages 2024-12-03 21:39:47 -05:00
David Rebbe 7dee139217 added icsneo_message_get_type. Not done. 2024-12-03 18:06:09 -05:00
David Rebbe fbeea2f79d added timeout to get messages and copied messages over. 2024-12-03 17:34:09 -05:00
David Rebbe a97f3bf297 re-order how we open the device 2024-12-03 16:02:28 -05:00
David Rebbe 983552657b add timestamp and get_messages, untested. 2024-11-25 23:40:49 -05:00
David Rebbe 32815943d5 add icsneo_get_message_count 2024-11-25 22:16:45 -05:00
David Rebbe a7be396ed9 added message polling limit functions 2024-11-25 22:14:58 -05:00
David Rebbe 64f038f781 added icsneo_device_type_from_type 2024-11-25 21:07:48 -05:00
David Rebbe 79293216af added icsneo_error_code 2024-11-25 21:00:10 -05:00
David Rebbe e4f69dfcc3 Added more icsneo functions 2024-11-25 20:51:24 -05:00
David Rebbe a6f8684a0c updated documentation 2024-11-25 20:38:49 -05:00
David Rebbe 21a587db75 icsneo compiles, I'm sure everything else is broke. 2024-11-25 18:15:59 -05:00
David Rebbe ca10478752 in progress 2024-11-25 07:44:05 -05:00
David Rebbe ee341139c0 first commit, open and close work. 2024-11-23 17:57:14 -05:00
Kyle Schwarz cf1b4778a1 Device: RADMoon2ZL: Add TC10 commands 2024-06-03 08:31:17 -04:00
David Rebbe 06f6861130 Legacy: Drop deprecated APIs
Drop icsneoFindNeoDevices() and icsneoOpenNeoDevice() in favor of icsneoFindDevices() and icsneoOpenDevice(), respectively.

Also fixes:
- Failure to re-open a device after it has been closed with the C/legacy APIs
- NumberOfClients not being updated
- FIRE3 settings missing in icsneoGetDeviceSettingsType()
2024-03-07 19:45:46 +00:00
Emily Brooks 05888e5c20 Device: Set multiple root directory entry flags at once 2024-02-14 18:06:59 -05:00
Kyle Schwarz 4782e26bed Device: Add isOnlineSupported() 2024-02-13 21:24:51 +00:00
Kyle Schwarz d56e66afd3 All: Bump copyright to 2024 2024-01-02 08:23:51 -05:00
kjohannes-intrepidcs 0497b361ef
LIN: Settings API (#62)
* Settings: add APIs for LIN configuration

Add getter/setter for LIN configuration:
- baudrate
- commander resistor ON/OFF
- mode (SLEEP, SLOW, NORMAL, FAST)

* Device: add LIN settings getter for devices with LIN
* LIN: add setup to LIN example
* LIN: settings minor tweaks from PR

---------

Co-authored-by: Francesco Valla <francesco.valla@mta.it>
2023-11-30 15:56:18 -05:00
Max Brombach 02f1b4592e Device/Disk: Add VSA read and parse functionality
Implement ability to extract network traffic (CAN, LIN, Ethernet, etc.) from VSA message records on disk. Add a method to Device class that uses the VSAParser and the individual record types to extract messages from the VSA message records and pass them back to the communication system. This routes messages such that it appears as if they were discovered live instead of read from disk. The parse process (in Device) requires determination of metadata about the VSA file system on a device before it can begin extracting messages. This currently only handles data captured from the current coremini script on a device.
2023-11-15 16:02:47 +00:00
Kyle Johannes 9ef93eb73e Legacy: SpyMessageToNeoMessage length fix for CAN FD 2023-06-28 17:30:09 -04:00
Kyle Johannes 5b3e21fa7c LIN: C API protected ID automatic calculation 2023-06-22 18:17:00 +00:00
Kyle Johannes d7d98855ea Legacy: Update icsnVC40 to support Red 2 settings transactions 2023-06-14 14:39:44 +00:00
Joseph Niksa f907d6759f icsneolegacy: implemented getDeviceStatus in C and legacy
-Added missing DLL asserts for getRTC() and setRTC() in icsneoc.h
2023-05-25 16:42:38 +00:00
Jonathan Schwartz 32900ae263 Device: Add GetComponentVersions and GetSupportedFeatures commands
Driver: Fix re-open and failed open cases for TCP

Also enforces even length packets for the RED2, FIRE3, and FIRE3 FlexRay devices.
2023-05-08 21:07:43 +00:00
Kyle Schwarz b6d9ef4c7e EventManager: Add optional debug printing 2023-04-27 18:52:17 +00:00
Kyle Schwarz 6b0c588a46 Driver: Add FTD3XX 2023-04-20 20:42:36 +00:00