B4J Question [SOLVED] Jserial softcontrol not work with B4J 6.3

micro

Well-Known Member
Licensed User
Longtime User
Hi to all
I have update (although late) the B4J version, now 6.30, but the
softcontrol in jserial not work and lock the comunication.
Before the update it always worked.
Someone can tell me why?
Thanks

This my code for select handshaking
B4X:
Select control
            Case 0    'no control
                Dim jo As JavaObject = comprint
                jo.GetFieldJO("sp").RunMethod("setFlowControlMode", Array(0))
            Case 1    'sw control
                Dim jo As JavaObject = comprint
                jo.GetFieldJO("sp").RunMethod("setFlowControlMode", Array(Bit.Or(4, 8)))
            Case 2    'hw control
                Dim jo As JavaObject = comprint
                jo.GetFieldJO("sp").RunMethod("setFlowControlMode", Array(Bit.Or(1, 1)))
End Select
 

micro

Well-Known Member
Licensed User
Longtime User
I don't think that it is related to the new version. The code you posted should behave exactly the same.
Ok you have right but this are the step
Update b4J from 6.1 to 6.3
Update jdk from jdk 1.8.0_151 to jdk 1.8.0_171
 
Upvote 0

micro

Well-Known Member
Licensed User
Longtime User
Solved
The problem is due to the last update of windows 10
I have been using usb serial converters for many years
and probably the update had loaded incorrect drivers
I ran an update of the converter drivers and it works now.
Thanks
 
Upvote 0
Top