Commit Graph

37 Commits

Author SHA1 Message Date
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
Sokolov Alexey c5cb719c4c Revert "File.txt"
This reverts commit 0a8f690c27.
2013-03-11 17:44:59 +03:00
Sokolov Alexey 0a8f690c27 File.txt 2013-03-11 17:38:20 +03:00
Alexey Sokolov 313d1ac582 Readme update 2013-03-11 16:18:39 +03:00
Alexey Sokolov 4b3c53269b Repo readme update 2013-03-11 15:16:26 +03:00
Alexey Sokolov f5cc86a06f Initial jSSC-0.9.0 Repo 2013-03-11 15:15:22 +03:00
Alexey Sokolov 1a837d9eec Initial commit 2013-03-11 04:05:15 -07:00