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
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