-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jserialcomm 2.6.2 problem #53
Comments
From what I understand there is only a rebuild required and updated reference to jseriallib 2.6.2 to make new release. Would be highly appreciated if somebody could do this? |
The new release is coming soon. |
@kochedykov I know it is a bit annoying if people request things. But this release would really save me some real trouble since we are now somehow stuck with a inferior jserialcomm when using jlibmodbus. Could you make a new release? |
@kochedykov any news on this? :) |
I guess this project is dead. |
it's still alive!) |
Haha good to hear :) |
Serial Communication support both stopbit 1 and 2 then why in the above code in parameters details it mentioned - @param stopbit : typically 1 ?? Is jSerialComm supports only stop bits 1 ? |
on jserialcomm 2.6.2, have problem with SetComPortParameter.
My java code
`/**
* Open Serial Port for communication
* @param serialname : serial port name
* @param baudrate : baud rate, typically 4800, 9600, 144400, 19200, 38400, 57600, 115200
* @param databit : data bit length , typically 8
* @param stopbit : typically 1
* @param parity : 0 = None, 1 = Odd, 2 = Even, 3 = Mark, 4 = Space
* @return true if success
*/
public boolean Open(String serialname, int baudrate, int databit, int stopbit, int parity) {
sp = new SerialParameters();
Log :
java.lang.NoSuchMethodError: com.fazecast.jSerialComm.SerialPort.setComPortParameters(IIII)V at com.intelligt.modbus.jlibmodbus.serial.SerialPortJSerialComm.open(SerialPortJSerialComm.java:71) at com.intelligt.modbus.jlibmodbus.net.ModbusConnectionSerial.openImpl(ModbusConnectionSerial.java:60) at com.intelligt.modbus.jlibmodbus.net.ModbusConnection.open(ModbusConnection.java:45) at com.intelligt.modbus.jlibmodbus.slave.RequestHandlerSerial.run(RequestHandlerSerial.java:51) at java.lang.Thread.run(Thread.java:748)
The text was updated successfully, but these errors were encountered: