Exception soulevée communication série
Bonjour,
J'ai besoin pour mon projet de fin d'année de communiquer en série.
J'utilise la librairie comm de java, qui fonctionne bien.
Sauf que depuis ce matin, je rencontre un problème lors de l'appel de la méthode setSerialPortParams. L'exception soulevée est une de type : IOException, le printStack est le suivant :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14
| java.io.IOException: Not all params are supported by kernel
at com.sun.comm.LinuxSerial.nativeSetSerialPortParams(Native Method)
$GPXTE,A,A,,,N,A*51
at com.sun.comm.LinuxSerial.setSerialPortParams(LinuxSerial.java:346)
at SimulGps.CommunicationSeriePhysiqueImpl.open(CommunicationSeriePhysiqueImpl.java:126)
at Client.dialSimulGPS.jLabel2MouseClicked(dialSimulGPS.java:121)
at Client.dialSimulGPS.access$000(dialSimulGPS.java:35)
at Client.dialSimulGPS$1.mouseClicked(dialSimulGPS.java:94)
at java.awt.Component.processMouseEvent(Component.java:6111)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:5873)
at java.awt.Container.processEvent(Container.java:2105)
at java.awt.Component.dispatchEventImpl(Component.java:4469)
at java.awt.Container.dispatchEventImpl(Container.java:2163)... |
moi pas comprendre !
Merci d'avance !!