Paul Hollinsky
9dc4b302ef
POSIX: PCAP: Enable if permissions are set, with a warning otherwise
...
On Linux, raw packet capture requires CAP_NET_RAW (or root).
If we can't capture raw packets, we will not be able to find/connect to
devices over ethernet.
2020-09-14 11:51:15 -04:00
Paul Hollinsky
a460e27657
Add RADGigalog for Windows
...
Ethernet communication with device only
2020-09-08 17:55:52 -04:00
Paul Hollinsky
eaa1409af0
Update/add settings structures for several devices
2020-09-08 17:41:47 -04:00
Paul Hollinsky
de0c16a461
VividCAN: Better "Online Not Supported" Error
2020-09-08 17:39:47 -04:00
Paul Hollinsky
3f8ed840ba
Start callback IDs at 1 so 0 is reserved
2020-09-08 17:38:38 -04:00
Paul Hollinsky
8e999a0fb8
Heartbeat: Break from loop rather than returning
...
This makes sure we run the cleanup code at the bottom of the thread
2020-09-01 16:32:54 -04:00
Paul Hollinsky
a325d8a12b
PCAP: Send initial requests from the interface MAC
...
This allows the device to respond directly to us
2020-09-01 15:53:45 -04:00
Paul Hollinsky
046e2bae9d
Ensure proper closure of the heartbeat thread on reopen
2020-09-01 15:52:41 -04:00
Paul Hollinsky
c48995520f
POSIX: FTDI: Report warnings and retry on libftdi errors
2020-09-01 15:15:36 -04:00
Paul Hollinsky
aceea6dc5b
libftdi: Don't discard data on LIBUSB_ERROR_TIMEOUT
...
libusb may have transferred some data, don't want to lose it
2020-09-01 15:14:37 -04:00
Paul Hollinsky
5db07102aa
PCAP: Listen for ICS_UNSET_MAC
...
On newer firmware, the device will address the PC directly after
EnableNetworkComm. Before this, it will set the destination MAC to
00:FC:70:FF:FF:FF.
2020-08-27 12:24:35 -04:00
Paul Hollinsky
b5c9443fc8
POSIX: PCAP: Ensure packets get captured
...
No packets were being captured with a timeout of 0
2020-08-27 12:24:35 -04:00
Paul Hollinsky
07e99515fa
Always send the ReadSettings command in short format
...
This is needed for FIRE
2020-08-10 12:30:30 -04:00
Paul Hollinsky
154eab4b1b
Direct to the examples folder
2020-08-06 16:26:46 -04:00
Paul Hollinsky
b09f85693f
v0.2.0
...
This update has breaking changes for the event/error subsystem, see
Usage within the documentation for details on the workings of the new
system.
2020-08-06 16:17:28 -04:00
Paul Hollinsky
6218a5cc7e
Fix documentation building
2020-08-06 16:09:29 -04:00
Paul Hollinsky
8566f9d57d
Update copyright date
2020-08-06 16:06:31 -04:00
Paul Hollinsky
f49f65c3ed
Move examples into tree
...
See history at https://github.com/intrepidcs/libicsneo-examples/tree/v0.2.0-dev
2020-08-06 15:41:48 -04:00
Paul Hollinsky
2079037ae4
POSIX FTDI: Nicer error message for when device is in use
...
Commonly, the device is being used by another libicsneo program
(icsscand, maybe) or passed through to a VM.
2020-06-24 22:15:22 -04:00
Paul Hollinsky
a759c1faa9
Communication: Fix issue where driver failing to open leaves dangling thread
2020-06-24 22:03:31 -04:00
Paul Hollinsky
67bd1e616a
MultiChannelCommunication: Fix issue where initial open fails
2020-06-24 21:38:57 -04:00
Paul Hollinsky
25f079b5c6
POSIX FTDI: Fix a bug where closing device successfully returned an error
2020-06-24 20:59:53 -04:00
Paul Hollinsky
dcc44d99ea
Fix an issue where the FIRE could not be opened
2020-06-17 15:11:57 -04:00
Paul Hollinsky
8260149cb8
Add bridging between neomessage_eth_t and EthernetMessage
...
This allows transmitting Ethernet from the C API
2020-05-18 17:23:40 -04:00
Paul Hollinsky
38e24d7641
Refactor ICommunication/Transport => Driver
2020-03-09 14:09:27 -04:00
Paul Hollinsky
d8798acaa7
Communication: MultiChannel: Properly mask out communication from non-main VNETs
...
This also makes it possible for Communication to create more instances of Packetizer
This is necessary because Packetizer is not thread safe,
so when we support more VNETs we will need to create more Packetizers.
2020-03-09 13:56:18 -04:00
Paul Hollinsky
42780dc610
Add ReaderWriterQueue and update ConcurrentQueue
2020-03-09 13:38:14 -04:00
Paul Hollinsky
9ac3fd56bd
FlexRay: Don't check for POCReady when writing configuration
...
It is not needed and this gives a good speedup to configuration
2020-02-28 20:10:31 -05:00
Paul Hollinsky
8ae3317930
FlexRay: Rework controller register reading for reliability
2020-02-28 20:09:33 -05:00
Paul Hollinsky
1cd817a16b
Fix race conditions with Communication::waitForMessageSync
2020-02-28 20:00:08 -05:00
Paul Hollinsky
9fcba2eb13
Notify extensions we're going offline before we actually do
2020-02-28 19:57:43 -05:00
Paul Hollinsky
0c330f734b
Fix typo
2020-02-28 19:57:16 -05:00
Paul Hollinsky
a2fecb7621
Support for EtherBADGE
2020-02-20 14:43:10 -05:00
Paul Hollinsky
ef34959c91
STM32 device finder for Darwin
2020-02-14 23:18:34 -05:00
Paul Hollinsky
31062dd928
For now, assume VNET Z is in coldstart mode
2019-11-12 20:48:30 -05:00
Paul Hollinsky
37778d7891
Implement FlexRay transmit, configuration, and cold start
2019-11-12 20:38:47 -05:00
Paul Hollinsky
3396f5dcce
Refining the FlexRay API
2019-11-09 15:34:58 -05:00
Paul Hollinsky
f0582697a6
Clarify FlexRay Slot ID
2019-11-01 14:48:14 -04:00
Paul Hollinsky
eb856dffec
Quiet down warnings on Windows
2019-10-16 17:43:11 -04:00
Paul Hollinsky
debaf8f0cb
Merge branch 'v0.2.0-dev' of github.com:intrepidcs/libicsneo into v0.2.0-dev
2019-10-16 16:44:16 -04:00
Paul Hollinsky
2f9844df92
Begin work on FlexRay support
2019-10-16 16:43:31 -04:00
Paul Hollinsky
5795efbde8
Merge changes from v0.1.2
...
Dropping the updateLEDState fix as the one on this branch is nicer
2019-09-04 13:40:42 -04:00
Paul Hollinsky
2a47b6f179
v0.1.2
...
Embed version info into DLLs on Windows
Fix device LEDs not indicating status properly
Build fixes
2019-09-04 13:32:09 -04:00
Paul Hollinsky
ff1a78c4eb
Hotfix for broken device LED updating
...
This is fixed more permanently on the development branch.
That change will be preferred over this one, when the time comes to merge.
2019-09-04 13:31:17 -04:00
Paul Hollinsky and GitHub
6bae630463
Merge pull request #14 from intrepidcs/icsneoc-versioninfo
...
Embed version info into built icsneoc DLL
2019-08-27 12:46:35 -04:00
Paul Hollinsky
0607986114
Resolve merge conflicts
2019-08-12 11:17:28 -04:00
Paul Hollinsky
511a724252
POSIX FTDI: Improve performance by setting the latency timer
2019-07-26 17:46:24 -04:00
Paul Hollinsky
21c3fead4a
Error checking for Encoder::encode UpdateLEDState
2019-07-23 15:04:50 -04:00
Paul Hollinsky
77eed8f58d
Revise documentation for icsneo_getLastError
2019-07-23 15:03:43 -04:00
Paul Hollinsky and EricLiu2000
a608d21304
Fix for error at pcap and vcp level on Windows causes crash
2019-06-14 09:41:47 -04:00
Paul Hollinsky
b7dbeccaef
Lock before adding or removing message callbacks
2019-06-13 15:47:23 -04:00
Paul Hollinsky
4530bd14c0
Merge in fixes for warnings
2019-06-12 18:36:35 -04:00
Paul Hollinsky
ba7228d4ba
Embed version info into built DLLs
2019-05-30 13:17:55 -04:00
Paul Hollinsky
9175a7bacf
v0.1.1
...
Initial numbered release
Numbered releases will list changes since the last numbered release in a changelog
2019-05-14 15:31:39 -04:00
Paul Hollinsky
56d191b438
Add support for RADPluto over USB
2019-05-14 15:29:03 -04:00
Paul Hollinsky
a465d5d6c6
POSIX: Disable Ethernet communication devices until performance issues are resolved
2019-05-14 15:27:44 -04:00
Paul Hollinsky
e081724da6
POSIX PCAP: Resolve a crash on a communication error
2019-05-14 15:22:12 -04:00
Paul Hollinsky
0dae7d4354
STM32: Check that termios attributes are set successfully
2019-05-14 15:21:05 -04:00
Paul Hollinsky
288ff3565e
Make sure to close underlying com if we fail to open
2019-05-14 15:20:04 -04:00
Paul Hollinsky
f3cd9ac94b
Merge branch 'pcap'
2019-05-06 12:50:29 -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
0b4ffdbaad
Merge branch 'master' of https://github.com/intrepidcs/libicsneo
2019-05-02 16:33:57 -04:00
Paul Hollinsky
6ffc364eba
Transmits now block when the buffer fills
2019-05-02 16:33:44 -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
Paul Hollinsky and GitHub
7a3baa1f89
Merge pull request #11 from pierreluctg/patch-1
...
Adding udev rules examples
2019-04-23 14:13:42 -04:00
Paul Hollinsky
5a6a1c990a
Support CAN FD Error State Indicator
2019-04-17 17:03:38 -04:00
Paul Hollinsky
4588024ed0
Lower CPU usage while finding devices on Linux
2019-04-17 16:50:40 -04:00
Paul Hollinsky
37b83e0506
Automatically pad CAN FD messages out
2019-04-17 16:50:11 -04:00
Paul Hollinsky
313a98aa04
Added contribution guidelines
2019-04-15 15:17:43 -04:00
Paul Hollinsky and GitHub
ec30696110
Merge pull request #4 from drebbe-intrepid/master
...
Updated icsnVC40.h to latest v803 release.
2019-03-28 20:52:17 -04:00
Paul Hollinsky
8a77bfb0f4
Add a target for static building libicsneoc
...
Always be sure to use the same compiler!
2019-03-18 12:09:50 -04:00
Paul Hollinsky
714cd8aad5
Update hardware support document and license
2019-03-18 12:07:16 -04:00
Paul Hollinsky
424d3d98a3
Linux Ethernet device support
2019-03-18 11:37:20 -04:00
Paul Hollinsky
2fb3047c10
Resolve an issue where the error manager could stack overflow on too many errors
2019-03-11 13:39:41 -04:00
Paul Hollinsky
993974234b
Remove the dependency on libftdipp and libboost for Linux and macOS
2019-02-28 18:32:16 -05:00
Paul Hollinsky
d042086c90
Improve reliability for finding FTDI devices on Windows
2019-01-22 13:16:58 -05:00
Paul Hollinsky
ae78122cbe
Add LSFTCAN and SWCAN support
2019-01-22 13:14:28 -05:00
Paul Hollinsky
c313801a21
Resolve issue #1 undefined symbols when building on POSIX systems
2019-01-11 13:01:19 -05:00
Paul Hollinsky
122c54b2ff
Reorganize libftdi for easier building under GCC
2019-01-11 12:59:38 -05:00
Paul Hollinsky
34148e8833
Fix a bug intrepidcs\libicsneo-examples#1 which prevented building on 32-bit platforms
2019-01-10 16:35:11 -05:00
Paul Hollinsky
e42bb597fc
Resolve a typo in the Linux dependencies
2019-01-03 17:39:48 -05:00
Paul Hollinsky
c94ace87f9
Timestamp information for CAN frames
2019-01-03 17:08:47 -05:00
Paul Hollinsky
7e9fbc4959
Basic introspection for device supported networks
2019-01-03 17:00:15 -05:00
Paul Hollinsky
efd5547e5c
Resolve an issue where FTDI devices could be erroneously detected with the wrong serial
2019-01-03 16:58:23 -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
814dc7d174
Update name
2019-01-03 16:45:36 -05:00
Paul Hollinsky
b834ca1bb7
Support CAN FD on the RADStar2
2018-12-21 20:35:01 -05:00
Paul Hollinsky
b6c67eb74f
Correctly decode timestamps on the RADStar2 and RADGalaxy
2018-12-21 20:34:02 -05:00
Paul Hollinsky
d37d5bb23e
Support Ethernet and Broad-R Reach TX and RX
2018-12-21 20:32:27 -05:00
Paul Hollinsky
603d532d2d
Add support for RADStar2 settings
2018-12-21 20:28:25 -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
837ca29ac8
Improved FTDI device finding logic
2018-12-10 14:58:28 -05:00
Paul Hollinsky
3488e36f2a
Added the ability to get the baudrate for networks
2018-12-10 14:57:43 -05:00
Paul Hollinsky
b12e7dad97
Added a README link to the documentation
2018-11-21 13:42:21 -05:00
Paul Hollinsky
4edf456226
Added a pip requirements.txt for Sphinx documentation building
2018-11-21 13:33:17 -05:00
Paul Hollinsky
0a0cb76400
Set up Sphinx to automatically invoke Doxygen if needed
2018-11-21 13:25:39 -05:00
Paul Hollinsky
cea2babbd0
Added a link to the example code
2018-11-20 18:12:31 -05:00
Paul Hollinsky
7d27b4a261
Ignore all Visual Studio Code files
2018-11-20 17:45:44 -05:00