Update README.md
Add explanation to README about setting the "fazecast.jSerialComm.appid" property in order to eliminate problems related to using the lib from multiple apps.
This commit is contained in:
parent
55ede252d6
commit
c1d49d8513
|
@ -7,6 +7,13 @@ _A platform-independent serial port access library for Java._
|
||||||
|
|
||||||
For usage examples, please refer to the [Usage wiki](https://github.com/Fazecast/jSerialComm/wiki/Usage-Examples).
|
For usage examples, please refer to the [Usage wiki](https://github.com/Fazecast/jSerialComm/wiki/Usage-Examples).
|
||||||
|
|
||||||
|
If you intend to use the library in multiple applications simultaneously, please make sure
|
||||||
|
to set ```fazecast.jSerialComm.appid``` property before accessing the SerialPort class so that
|
||||||
|
applications don't accidentally delete each others temporary files during boot-up:
|
||||||
|
```
|
||||||
|
System.setProperty("fazecast.jSerialComm.appid", "YOUR_APPLICATION_IDENTIFIER")
|
||||||
|
```
|
||||||
|
|
||||||
In order to use the ```jSerialComm``` library in your own project, you must simply
|
In order to use the ```jSerialComm``` library in your own project, you must simply
|
||||||
include the JAR file in your build path and import it like any other
|
include the JAR file in your build path and import it like any other
|
||||||
Java package using ```import com.fazecast.jSerialComm.*;```.
|
Java package using ```import com.fazecast.jSerialComm.*;```.
|
||||||
|
|
Loading…
Reference in New Issue