General information
Category:
ActiveX controls in VFP
>>>Is there any chance this wireless device supports hardware handshaking? If so, a test of a status line would indicate its readiness to send or receive. RTS/CTS would be ideal...
>>>
>>>>the port is closed because of a network failure. Lost packets for example.
>>>>I have a wireless device that has a serial comm port.
>>I think yes, for flow control it does have hardware (RTS/CTS). How can I use it?
>>
>>Thanks
>
>If the device plays nice, on a failure it should lower the CTS line. You can detect this via the OnComm Event = 3 (CTS Changed) and testing the state of the CTSHolding property of your Comm control. Or you could just test it's state when you suspect a problem.
But onComm event won't be fired because com port does not send any data to the control.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only