scream3r
|
f756417b29
|
Linux native part, used "ERR_INCORRECT_SERIAL_PORT" instead of "ERR_PORT_NOT_FOUND" if termios structure for serial port can not be get
|
2013-04-22 10:49:45 +04:00 |
scream3r
|
5b5a6041c1
|
Added using of "ERR_INCORRECT_SERIAL_PORT" into SerialPort class. Also made a little refactoring - if/else changed to switch/case in "openPort()" method for handling error
|
2013-04-22 10:46:45 +04:00 |
scream3r
|
44f6fea8fa
|
Added "ERR_INCORRECT_SERIAL_PORT" into SerialNativeInterface class and jssc_SerialNativeInterface.h header file. Also added "TYPE_INCORRECT_SERIAL_PORT" for throwing if "ERR_INCORRECT_SERIAL_PORT"
|
2013-04-22 10:29:15 +04:00 |
scream3r
|
ef28e80bd2
|
Linux native jssc.cpp little refactoring
|
2013-04-22 10:16:55 +04:00 |
scream3r
|
73c7a6870b
|
Added constants into jssc_SerialNativeInterface.h header file
|
2013-04-22 10:12:52 +04:00 |
scream3r
|
df65d88787
|
Added 3 constants to SerialNativeInterface class, and made a little refactoring of SerialPort and SerialPortList classes
|
2013-04-22 09:59:59 +04:00 |
scream3r
|
1043354ec1
|
Added methods for advanced port listing by using another search path, RegExp and comparator. Also some internal method were modified
|
2013-04-19 16:52:53 +04:00 |
scream3r
|
6ab3e83451
|
Added method "getPortNames(String searchPath, Pattern pattern, Comparator comparator)", added default PORTNAMES_REGEXP for Windows, modified "getUnixBasedPortNames()" method
|
2013-04-19 14:41:15 +04:00 |
Alexey Sokolov
|
cd4f05d84c
|
Added "getPortNames(String searchPath)" method and maded a little changes in "getUnixBasedPortNames()" method
|
2013-04-19 11:50:25 +03:00 |
Alexey Sokolov
|
e8df64618d
|
jSSC version number changed in SerialNativeInterface class
|
2013-04-19 11:49:01 +03:00 |
scream3r
|
8e5a797e01
|
Added bluetooth serials to Linux port list search "rfcomm"
|
2013-04-19 10:25:16 +04:00 |
scream3r
|
2d481ff6e7
|
Added JSSC_NO_TIOCEXCL property for disable using exclusive access to serial device. See issue #6
|
2013-04-18 15:22:49 +04:00 |
scream3r
|
6d056234b9
|
Copyright symbol fix in native header file
|
2013-04-18 14:57:40 +04:00 |
Alexey Sokolov
|
e4076c5efd
|
Readme file update
|
2013-04-18 13:06:12 +03:00 |
Alexey Sokolov
|
235f677881
|
Readme file update
|
2013-04-18 13:02:17 +03:00 |
Alexey Sokolov
|
279c8b335f
|
Readme file update
|
2013-04-18 12:09:47 +03:00 |
Alexey Sokolov
|
521909e65a
|
Updated Windows native "openPort()" function signature, and function comment
|
2013-04-18 11:35:58 +03:00 |
scream3r
|
d0b558aa17
|
Updated comment for openPort() in _nix_based jssc.cpp
|
2013-04-18 11:31:58 +04:00 |
scream3r
|
e23a29229c
|
Cleared "getUnixBasedPortNames()" method is SerialPortList class
|
2013-04-18 10:25:52 +04:00 |
scream3r
|
f4e725252f
|
Removed using of "invockedByPortList" parameter. Using of F_GETFL/F_SETFL has no effect on already opened port
|
2013-04-18 10:17:54 +04:00 |
scream3r
|
49c677a663
|
Expanded javadoc for native openPort() method
|
2013-04-18 09:44:30 +04:00 |
scream3r
|
6d542e09a1
|
Fixed "openPort()" invocations in considering of last changes
|
2013-04-17 17:26:26 +04:00 |
scream3r
|
273e132321
|
Added useTIOCEXCL and invokedByPortList keys into native openPort() method
|
2013-04-17 17:24:55 +04:00 |
scream3r
|
ebcb3d8c4c
|
Updated _nix_based jssc.cpp, added keys for disabling TIOCEXCL and prevent flags rewriting for serial port while port listing
|
2013-04-17 17:23:07 +04:00 |
scream3r
|
223740af44
|
Updated jssc_SerialNativeInterface.h header file
|
2013-04-17 17:20:23 +04:00 |
scream3r
|
5a2f8017ad
|
Rewrited native readBytes function, now it use termios structure for setting min count of bytes to read, it makes read operation blocking, like in Windows version, and prevent reading of garbage
|
2013-04-17 15:29:49 +04:00 |
scream3r
|
c2c52e1e5c
|
Added termios structure checking while port opening, and "Permission denied" exception support
|
2013-04-17 13:48:55 +04:00 |
scream3r
|
82a01329a6
|
Added SerialPortException.TYPE_PERMISSION_DENIED support into SerialPort class
|
2013-04-17 13:38:06 +04:00 |
scream3r
|
fa056da300
|
Added TYPE_PERMISSION_DENIED exception to SerialPortException class
|
2013-04-17 13:33:12 +04:00 |
scream3r
|
618d77309e
|
Added serialPort.closePort() to getUnixBasedPortNames()
|
2013-04-17 12:49:46 +04:00 |
scream3r
|
2590ae3a54
|
Fixed path to jssc_SerialNativeInterface.h in _nix_based source file
|
2013-04-17 11:08:52 +04:00 |
Alexey Sokolov
|
6baab11179
|
Added support of errorOccurred method for SerialPortEventListener. Only getting "public void errorOccurred(SerialPortException ex)" from event listener object implemented, no invokation yet
|
2013-04-12 15:02:08 +03:00 |
Alexey Sokolov
|
03356b73f9
|
Cleared body duplicating in addEventListener() methods
|
2013-04-12 14:08:42 +03:00 |
Alexey Sokolov
|
c03f188075
|
Cleared SerialPortList class (deleting of unused imports)
|
2013-04-12 09:08:06 +03:00 |
Alexey Sokolov
|
1d6724ca12
|
Cleared SerialPortList class
|
2013-04-12 09:05:46 +03:00 |
Alexey Sokolov
|
f3cec9a1d0
|
Readme.txt update
|
2013-04-11 11:41:04 +03:00 |
Alexey Sokolov
|
57863fadba
|
Update README.txt
Change list update for 2.1.0 version
|
2013-04-11 09:46:30 +03:00 |
Alexey Sokolov
|
d54cdf7d51
|
Update README.txt
Change list update for 2.1.0 version
|
2013-04-11 09:40:15 +03:00 |
Alexey Sokolov
|
821c2a1884
|
If port name == null, exception with TYPE_NULL_NOT_PERMITTED will be thrown. Previous code with throwing TYPE_PORT_NOT_FOUND exception not a good idea as I think
|
2013-04-11 10:26:41 +03:00 |
Alexey Sokolov
|
2819f0ceaf
|
Added private getUnixBasedPortNames() method. It it a universal method for Linux, Solaris and MacOS X. Also added precompiled RegExp patterns
|
2013-04-10 16:11:22 +03:00 |
Alexey Sokolov
|
c0727b8dc9
|
Rewrited comparator for sotring port names. Now it's cross-platform
|
2013-04-10 13:54:45 +03:00 |
Alexey Sokolov
|
f368d5da79
|
Changed years in license comment
|
2013-04-10 13:53:14 +03:00 |
Alexey Sokolov
|
6eded5cc1d
|
_nix based. Fixed clearing exclusive access on port close.
|
2013-04-09 09:32:25 +03:00 |
Alexey Sokolov
|
61096c5a5d
|
Zeroing COMMTIMEOUTS structure, because it can be changed by previously running application and can provoke read/write errors
|
2013-04-05 09:19:30 +03:00 |
Alexey Sokolov
|
8ae8491b42
|
Readme extention change
|
2013-03-13 09:31:54 +03:00 |
Alexey Sokolov
|
ffd0a5ec9b
|
NULL port name fix
|
2013-03-12 13:57:21 +03:00 |
Alexey Sokolov
|
7dddbec01d
|
Windows native lib: port name string cancatenation fix, to prevent exception access violation
|
2013-03-12 11:37:22 +03:00 |
Alexey Sokolov
|
7395dd0d80
|
Added support of Linux ARM and *.jnilib->*.dylib MacOS X 10.8 fix
|
2013-03-12 09:37:22 +03:00 |
Alexey Sokolov
|
33e88f6f02
|
Project dates update
|
2013-03-12 09:35:45 +03:00 |
Alexey Sokolov
|
f24c629662
|
Added timeouts for read operations and SerialPortTimeoutException class
|
2013-03-12 09:34:44 +03:00 |