Wykres commitów

352 Commity (7ae5df917f35a9f339b2182b059125ed18aec29a)

Autor SHA1 Wiadomość Data
Felipe Herranz 7ae5df917f updating gitignore for python 2019-02-23 22:29:05 +01:00
Felipe Herranz 901590bd2e correction in CHANGELOG 2019-02-23 19:16:34 +01:00
Felipe Herranz 1e6b5d3938 release 6.0.3 2019-02-23 19:14:53 +01:00
Felipe Herranz 050ffb8730 RELEASING.md updated 2019-02-23 19:07:20 +01:00
Felipe Herranz 234c83dd28
Merge pull request #212 from Arneball/reuseempty
Reuse same instance of byte array when the destination array is empty
2019-02-23 19:00:16 +01:00
Felipe Herranz 62502d5f1a
Merge pull request #210 from Arneball/allocation
Removed unneccesary classes and made a memory and cpu optimization
2019-02-23 13:46:47 +01:00
Felipe Herranz af18d10953
Removed unused import 2019-02-23 13:21:38 +01:00
Raul Bache b0f2fd2543 Removed "always-null" parameter 2019-02-20 10:04:23 +01:00
Arneball aeb1227fa2 Reuse same instance of byte array when the destination array is empty
Also using System.arrayCopy in loop instead of manual copying
2019-02-19 14:16:44 +01:00
Raul Bache d874292505 Removed unneccesary classes and made a memory and cpu optimization
After this commit, vendor-product-tuples are stored as longs internally.
This way heap size is conserved and specialized classes are omitted.

This might not be a big deal desktop applications, but for Android,
every bit counts.

The public api is unchanged

Added test to verify that things did not break
2019-02-18 14:52:06 +01:00
Felipe Herranz 37e5dfccd7 release 6.0.2 2019-02-17 18:11:07 +01:00
Felipe Herranz 0593683585
Merge pull request #205 from felHR85/multiple_ports_fix
Disconnect different UsbSerialDevice objects from same device
2019-02-17 18:01:15 +01:00
Felipe Herranz aec9b117bc
Update README.md 2019-02-07 00:31:57 +01:00
Felipe Herranz 1751188bd2
Update README.md 2019-02-07 00:31:38 +01:00
Felipe Herranz 04db5825c0 solving issue disconnecting one device with multiple serial ports 2019-01-30 23:47:16 +01:00
Felipe Herranz dc94ea5879 always recognize other people help 2019-01-27 19:22:56 +01:00
Felipe Herranz 9d801e780b added changelog 2019-01-27 19:16:06 +01:00
Felipe Herranz 3bce693b8d release 6.0.1 2019-01-27 18:44:28 +01:00
Felipe Herranz b5863e22cb changed protocol buffer 2019-01-27 18:31:30 +01:00
Felipe Herranz d02adc6b08
Merge pull request #201 from pawitp/patch-1
cp210x: Add support for "Windows Update" PIDs
2019-01-27 17:47:05 +01:00
Pawit Pornkitprasan f25cc0ab7b
cp210x: Add support for "Windows Update" PID
There are certain PID CP210x devices can be set to to allow Windows to
automatically download drivers from Windows Update. This patch adds
support for those PIDs.

Reference: https://www.silabs.com/community/interface/knowledge-base.entry.html/2016/12/30/downloading_cp210xd-ek07
2019-01-23 19:29:38 +07:00
Felipe Herranz ab242bd7b3 merge 2019-01-19 20:55:04 +01:00
Felipe Herranz bb69f4090a release 6.0.0 2019-01-19 20:51:52 +01:00
Felipe Herranz 7db4e625d3
Merge pull request #198 from felHR85/cdc_changes
Line off when starting CDC driver
2019-01-19 20:07:45 +01:00
Felipe Herranz 1030409eb2
Merge pull request #199 from felHR85/cp2102_bug
Fixes for databits, parity and stopbits in CP2102
2019-01-19 19:58:14 +01:00
Felipe Herranz 3c839efd2c
Merge pull request #196 from felHR85/cp2012_improvs
Purging CP2102 when closing
2019-01-19 19:44:28 +01:00
Felipe Herranz 8ee110590d buffer variables to final 2019-01-19 18:21:59 +01:00
Felipe Herranz fbf3b89b9d
Merge pull request #197 from felHR85/okio
Okio buffer and ProtocolBuffering
2019-01-19 18:07:47 +01:00
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 e41b04b906 line off when starting CDC driver 2019-01-12 19:35:25 +01:00
Felipe Herranz e80893539a purging when closing 2019-01-12 13:35:03 +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
Felipe Herranz e99d6b8d56 fixes for databits, parity and stopbits 2019-01-11 20:04:57 +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