Commit Graph

78 Commits (3b84dcbc5c5ef8279c46e122729939a307b62bb2)

Author SHA1 Message Date
David Rebbe 3b84dcbc5c simple go example 2024-12-17 00:55:40 -05:00
David Rebbe 7b1b3bfe18 added icsneo zig example 2024-12-13 14:22:36 -05:00
David Rebbe 0dc20db1ad fixed compiler error 2024-12-12 13:07:09 -05:00
David Rebbe 1216c4c674 add icsneo_message_get_type_name to example 2024-12-12 12:40:36 -05:00
David Rebbe 44bf7688f4 Added RTC functions to example 2024-12-12 10:18:06 -05:00
David Rebbe bfd9802860 fixed type mismatch 2024-12-11 09:48:44 -05:00
David Rebbe cb346d25ff more compiler fixes 2024-12-10 17:53:29 -05:00
David Rebbe bad0c70ad5 renamed old c api to be less confusing for now 2024-12-10 16:58:10 -05:00
David Rebbe 02c04143d0 libicsneoc fixes 2024-12-10 16:11:45 -05:00
David Rebbe fadeaec512 filtered out tx messages 2024-12-10 15:21:54 -05:00
David Rebbe e9b0cdae56 added getter and setters for baudrates 2024-12-10 15:02:30 -05:00
David Rebbe bac4d86c57 added icsneo_message_is_transmit 2024-12-10 14:19:45 -05:00
David Rebbe 675842cf9c updated can DLC related stuff 2024-12-10 14:02:18 -05:00
David Rebbe 1ca9f0fdb4 added icsneo_message_get_netid and icsneo_get_netid_name 2024-12-09 09:38:01 -05:00
David Rebbe bfd8a023c6 add bus name string to example 2024-12-09 07:52:39 -05:00
David Rebbe 21964fafe4 moved _icsneo_netid_t enum 2024-12-08 06:50:01 -05:00
David Rebbe 9dcee2ae04 done renaming enum 2024-12-05 17:18:04 -05:00
David Rebbe ff7b567831 more renaming 2024-12-05 17:12:25 -05:00
David Rebbe 632057dc70 more renaming in progress 2024-12-05 17:08:08 -05:00
David Rebbe faa92ca4fa in progress rename of enum 2024-12-05 16:38:47 -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 dafcbac251 icsneopy fixes 2024-12-05 13:59:28 -05:00
David Rebbe 4308958f66 more renaming 2024-12-05 13:07:42 -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 b44bf07d1b implemented can getter methods. 2024-12-04 15:35:57 -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 360610c0ac updated example to use msg type and bus type functions 2024-12-04 00:33:14 -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 fde2f670b5 fixed sleep on linux 2024-12-03 20:39:54 -05:00
David Rebbe 802be13e74 add timestamp resolution to example. 2024-12-03 18:11:44 -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 fc72d87c76 updated example 2024-12-03 16:02:07 -05:00
David Rebbe 76afcb410d updated cmakelists with some options disabled for now. 2024-12-03 15:40:52 -05:00
David Rebbe 21a587db75 icsneo compiles, I'm sure everything else is broke. 2024-11-25 18:15:59 -05:00
David Rebbe ee341139c0 first commit, open and close work. 2024-11-23 17:57:14 -05:00
Kyle Johannes cac8d760b0 Communication: Add AppErrorMessage support
App errors are responses from the device indicating internal runtime errors.
2024-08-15 16:47:35 +00:00
Yasser Yassine cb22e622b3 Device: Refactor A2B APIs
* Removes features in `A2BMessage` class to support API for reading 16, 24, and 32 bit samples from A2B channels
* Re-organizes WAV receiving and transmitting code and API
* Creates API for mapping message channels to WAV channels and vice versa for transmitting and receiving
* Fixes `icsneo::Network::NetID::ExtendedData` VnetID bug for `icsneo::ExtendedDataMessage` decoding
* Creates RAD-A2B sequence chart example
* Fixes coremini uploading for certain devices in EEPROM by introducing `icsneo::Device::supportsEraseMemory`
2024-03-12 12:06:49 +00: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
Max Brombach a44952be13 Disk: Update VSA Example and Fix VSA CAN-FD Decode
- Send and validate CAN/CAN-FD/Eth frames in VSA example (two devices)
- Fix failure to decode CAN-FD frames from VSA records
2024-01-16 18:01:10 +00:00
Yasser Yassine 75e9319c32 A2B: Add example for reading/writing A2B board I2C registers 2024-01-12 20:34:11 +00:00
Kyle Johannes e56c714a0c LIN: update example 2023-12-05 17:30:40 -05:00
Kyle Schwarz bddbcfcf6d CI: Fix warnings 2023-12-01 22:20:41 +00: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
Yasser Yassine 4248c1a538 Device: Add CoreMini flashing support 2023-11-08 18:47:03 -05:00