Commit Graph

234 Commits (1d3b3359ca50fae886fdb31c219b0793185d5dbd)

Author SHA1 Message Date
EricLiu2000 1d3b3359ca Wrote more tests, fixed bug with eventmanager::get(size), optimized eventmanager adding and shrinking, prevented trying to add TooManyEvents 2019-06-27 15:50:22 -04:00
EricLiu2000 d0c6aba0fc Revert "Changed list of events to vector, switched back to using lock_guard instead of shared/unique_locks"
This reverts commit 2dac03b3e5.
2019-06-27 14:16:36 -04:00
EricLiu2000 2dac03b3e5 Changed list of events to vector, switched back to using lock_guard instead of shared/unique_locks 2019-06-27 13:42:02 -04:00
EricLiu2000 a9a2a978b8 Fixed multithreading issue with eventmanager 2019-06-27 13:20:13 -04:00
EricLiu2000 ec95f0f7c3 Wrote more tests and fixed locking bug in eventmanager 2019-06-26 15:08:41 -04:00
EricLiu2000 975c7f422f CMake properly uses -DBUILD_TESTS flag, added CmakeSettings.json to gitignore 2019-06-26 11:53:06 -04:00
EricLiu2000 4923218d35 Separated tests into different files, added ResetInstance() method to EventManager 2019-06-26 11:30:24 -04:00
EricLiu2000 1dd68eb0d0 Test framework tentatively working on windows 2019-06-25 18:01:32 -04:00
EricLiu2000 bb2d7c1265 Reversed nullptr device check 2019-06-25 17:46:59 -04:00
EricLiu2000 150c7d2b07 Added gtest folder and building doesn't throw errors 2019-06-25 16:56:04 -04:00
EricLiu2000 f45bd6772f Builds and runs on both windows and ubuntu 2019-06-25 13:20:49 -04:00
EricLiu2000 92dc23fa4b Updated README for refactor 2019-06-25 12:48:58 -04:00
EricLiu2000 2f971d7565 Runs on windows 2019-06-25 11:35:40 -04:00
EricLiu2000 50dba62a89 Event refactor builds on Windows 2019-06-24 17:59:45 -04:00
EricLiu2000 878d9e6dde Implemented threaded error handling in errormanager and fixed compile error 2019-06-21 16:14:52 -04:00
EricLiu2000 f9d88b4743 Upgraded the severity of some warnings to errors and cleaned up internal API error adding 2019-06-21 15:08:08 -04:00
EricLiu2000 cb6f88c6bb Initial rework of internal management for overflowing errors 2019-06-21 11:18:24 -04:00
EricLiu2000 33ad0c1967 C++ error descriptions now distinguish between severity levels 2019-06-19 11:00:41 -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
EricLiu2000 92368f70a5 Added error checking for polling 2019-06-18 11:38:12 -04:00
EricLiu2000 2b34c82382 Added error checking to Device::getMessages() 2019-06-18 10:34:50 -04:00
EricLiu2000 04a2402925 Added additional documentation 2019-06-14 17:44:01 -04:00
EricLiu2000 a4a42c8704 Reworked updating LEDState to use sendCommand() instead of transmit() 2019-06-14 16:09:19 -04:00
EricLiu2000 28fc98c475 Added icsneo_isMessagePollingEnabled(), removed polling check from transmitting, and disabled error reporting on device destruction 2019-06-14 15:13:22 -04:00
Paul Hollinsky a608d21304 Fix for error at pcap and vcp level on Windows causes crash 2019-06-14 09:41:47 -04:00
EricLiu2000 44ca4d4db1 Removed extraneous error checking 2019-06-13 16:04:20 -04:00
EricLiu2000 b7288edd9a Finished adding error checking 2019-06-13 16:01:35 -04:00
EricLiu2000 255e1e2b90 Added more error logging 2019-06-13 16:01:35 -04:00
EricLiu2000 dc4f96affb Commands can now only be sent when the device is open 2019-06-13 16:01:35 -04:00
EricLiu2000 8a6073a9cf Transmit and receiving messages now fails properly when the device is closed. Device closes when serial number initialization fails after open. 2019-06-13 16:01:35 -04:00
EricLiu2000 519e64fb17 Added error checking to functions called from Communication 2019-06-13 16:01:35 -04:00
EricLiu2000 a16f2843d8 Added error reporting to idevicesettings 2019-06-13 16:01:35 -04:00
EricLiu2000 965679c370 Added error checking and removed some redundancy from device isOpen() 2019-06-13 16:01:35 -04:00
EricLiu2000 2806c935f1 Added errors for DeviceCurrentlyOpen and DeviceCurrentlyClosed 2019-06-13 16:01:35 -04:00
EricLiu2000 8862a06c3d Added .vs to gitignore 2019-06-13 16:01:35 -04:00
EricLiu2000 903615dadd Added icsneo_isOpen() functionality 2019-06-13 16:01:35 -04:00
EricLiu2000 f1e0625429 Fixed typo in documentation of icsneo_getLastError 2019-06-13 16:01:35 -04:00
EricLiu2000 0644234859 Removed hard coded .dll filepaths 2019-06-13 16:01:35 -04:00
EricLiu2000 9b21c153c7 Fixed icsneoc.h to work with c 2019-06-13 16:01:35 -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
Jeffrey Quesnelle 8833617fe5 fix wrong include path for radpluto on Windows 2019-06-05 13:08:02 -04:00
Zaid Nackasha 3621184696 fixed build bugs 2019-06-03 17:18:02 -04:00
Zaid Nackasha d49fba7d81 Wrapped Visual Studio #Pragmas 2019-06-03 12:43:28 -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