Wykres commitów

321 Commity (3ad63c9311a9f455a917002380ebe3c99123063b)

Autor SHA1 Wiadomość Data
Felipe Herranz 3ad63c9311
Merge branch 'master' into okio 2019-01-19 17:30:42 +01:00
Felipe Herranz d43e1a2edb deleted comment 2019-01-19 17:27:58 +01:00
Felipe Herranz 6bdbbcb7d8
Merge pull request #195 from Arneball/master
Refactored so that all common thread methods are handled in a base class
2019-01-19 17:27:07 +01:00
Raul Bache f4a4bd95d0 Refactored so that all common thread methods are handled in a base class
After this commit, common functionality for threads are gathered in a base class.
Less code, removed AtomicBoolean since it can be replaced with a volatile boolean, eliminating an allocation

Some members are made final
2019-01-15 19:53:02 +01:00
Felipe Herranz 9dfa8f6867
Merge pull request #194 from felHR85/example_close
closing port when service is destroyed
2019-01-12 12:19:24 +01:00
Felipe Herranz d280e05043 closing port when service is destroyed 2019-01-12 11:50:43 +01:00
Felipe Herranz 8f00b97d1a
Merge pull request #193 from mws-rmain/master
Ensure findSerialPortDevice() requests access ONLY to a supported device
2019-01-11 22:29:34 +01:00
mws-rmain 02201fef82
Fix Build Issues
Add missing import & TAG
2019-01-10 14:00:29 -05:00
mws-rmain dce98bb5ea
Fix Build Issues
Add missing import & TAG
2019-01-10 13:59:18 -05:00
mws-rmain e7439e3551
Fix build issues
Add missing import & TAG
2019-01-10 13:58:01 -05:00
mws-rmain e0af794877
Ensure findSerialPortDevice() requests access ONLY to a supported device
The hashmap returned by usbManager.getDeviceList() contains devices in random order. Access will be requested for the first supported device.
2019-01-09 11:38:56 -05:00
mws-rmain b5b9a16499
Ensure findSerialPortDevice() requests access ONLY to a supported device
The hashmap returned by usbManager.getDeviceList() contains devices in random order. Access will be requested for the first supported device.
2019-01-09 11:33:48 -05:00
mws-rmain aa4a19cd46
Ensure findSerialPortDevice() requests access ONLY to a supported device
The hashmap returned by usbManager.getDeviceList() contains devices in random order. Access will be requested for the first supported device.
2019-01-09 11:25:21 -05:00
Felipe Herranz 77ab67deca
Merge pull request #189 from mws-rmain/master
Add missing unregisterReceiver(usbReceiver) call
2019-01-06 20:46:47 +01:00
Felipe Herranz ff9f314406 avoiding 16kb limit in bulktransfers 2019-01-06 20:44:45 +01:00
Felipe Herranz 9a30dfb93b improved write async tests 2019-01-05 19:13:15 +01:00
Felipe Herranz a244d1a36f added tests for Read Buffer 2019-01-05 17:38:01 +01:00
Felipe Herranz 72d736bb46 merged with protocols buffer and testing write buffer with okio 2019-01-05 17:14:20 +01:00
Felipe Herranz 538a0d2a38 added okio buffer for write thread 2019-01-04 21:54:35 +01:00
mws-rmain d5da84072b
added unregisterReceiver(usbReceiver) to onDestroy() 2019-01-04 13:32:41 -05:00
mws-rmain 5d619c2e3c
added unregisterReceiver(usbReceiver) to onDestroy() 2019-01-04 13:31:49 -05:00
mws-rmain 4141c23813
added unregisterReceiver(usbReceiver) to onDestroy() 2019-01-04 13:30:24 -05:00
Felipe Herranz b2222b0c27 added unit tests for binary mode 2018-12-31 03:14:16 +01:00
Felipe Herranz d837762591 testing test mode 2018-12-30 03:07:24 +01:00
Felipe Herranz baa2db7c17 adding protocolbuffer test 2018-12-28 17:59:48 +01:00
Felipe Herranz 4a8e09dbf4 added regex 2018-12-27 21:01:44 +01:00
Felipe Herranz 491bf0c029 adding protocols buffer 2018-12-26 20:27:05 +01:00
Felipe Herranz 04cfbdf76e release 5.0.1 2018-12-25 21:59:28 +01:00
Felipe Herranz 515b7c242a
Merge pull request #184 from twsmith85/inputstream_int_return_fix
InputStream integer return fixes.
2018-12-25 21:20:11 +01:00
Felipe Herranz c87e408262
Merge pull request #185 from johngray1965/master
Adding support for Silicon Labs CP2102 USB to UART Bridge Controller
2018-12-25 20:59:05 +01:00
Felipe Herranz a176bd5710
Merge pull request #178 from felHR85/bug_40
Bug #40  fixed
2018-12-25 20:19:14 +01:00
Felipe Herranz 3d9861bbc8
Merge branch 'master' into bug_40 2018-12-25 20:14:05 +01:00
John Gray 43ca6543ca Adding support for Silicon Labs CP2102 USB to UART Bridge Controller 2018-12-21 13:10:33 -05:00
twsmith85 13a6cfc6fc
InputStream integer return fixes.
Fix one condition where read returns a large negative integer instead of the correct byte value. 
Fix a second condition where checkFromBuffer returns a negative number and triggers a serial read before the buffer is depleted.

For example, if 0xFE is read, 0xFFFFFFFE is returned from the buffer which is out of the byte range.
2018-12-20 16:27:02 -06:00
Felipe Herranz 4d4695ca9d
Update README.md 2018-11-19 01:09:33 +01:00
Felipe Herranz 9813f0294d release 5.0.0 2018-11-18 16:25:05 +01:00
Felipe Herranz a2b07dcafa
Merge pull request #177 from felHR85/multiple_ports
Multiple serial ports
2018-11-18 16:12:44 +01:00
Felipe Herranz 2e8d4722ab changed target version 2018-11-18 14:50:22 +01:00
Felipe Herranz 8265c8d73f unregistering receivers 2018-11-18 13:06:00 +01:00
Felipe Herranz 35fad70a3d solved issues with multiple ports 2018-11-17 21:52:58 +01:00
Felipe Herranz 5c30d0d00f solved inputStream issues and getSerialPorts 2018-11-16 00:19:45 +01:00
Felipe Herranz 45071b8484 solved issue in SerialInputStream 2018-11-14 00:08:07 +01:00
Felipe Herranz 10f493054b first version example multiple port 2018-11-11 20:44:09 +01:00
Felipe Herranz a2ae5ab2e5 bringing master 2018-11-11 16:55:46 +01:00
Felipe Herranz 8846e3d9ce added disconnectDevice method and finishing example 2018-11-11 16:46:08 +01:00
Felipe Herranz 274cf71f62 starting example and improved SerialPortBuilder 2018-11-10 02:39:55 +01:00
Felipe Herranz 309dce520b
Merge pull request #174 from felHR85/custom_device
Added a method for creating specific UsbSerialDevice objects
2018-11-04 16:33:48 +01:00
Felipe Herranz 5e79ed88c6 added a method for creating specific UsbSerialDevice objects 2018-11-04 16:16:10 +01:00
Felipe Herranz a47ee7637e
Merge pull request #173 from felHR85/check_open_port
added check open port
2018-11-03 19:56:02 +01:00
Felipe Herranz 5e95168192 added check open port 2018-11-03 19:49:59 +01:00