FUDforum
My FUDforum

Home »  » DeviceMaster RTS, Pro and Serial Hub » setting "Break State" on the COM Ports (Need to set the "break state" on the com ports for a device using Socket Server)
setting "Break State" on the COM Ports [message #1015] Fri, 10 August 2018 09:58 Go to next message
yoyodyn is currently offline  yoyodyn
Messages: 3
Registered: August 2018
Location: Tennessee
Junior Member
We are not using the Comtrol windows drivers. We are connecting to the comtrol through TCP directly.
One of the devices that we connected recently change their firmware, and now we need to set the "break state" on the com port to enable certain functions on the device.

Is there a way to do this without going through the serial port windows drivers?

Thank you
Re: setting "Break State" on the COM Ports [message #1016 is a reply to message #1015] Fri, 10 August 2018 10:04 Go to previous messageGo to next message
Kurt is currently offline  Kurt
Messages: 290
Registered: July 2016
Location: Minnesota
Power User
Hi Yoyodyn,


Can you elaborate more on "break state"?

Where do you see the configuration in the driver?

What is the purpose of the break state"?

Thanks,
Kurt





Kurt Rees
www.comtrol.com
http://forum.comtrol.com/

Comtrol Corporation
100 Fifth Ave NW
Minneapolis, MN. 55112
Direct +1 763.957.6000 | +1 Fax (763) 957-6001
connect. communicate. control
Re: setting "Break State" on the COM Ports [message #1017 is a reply to message #1016] Fri, 10 August 2018 10:07 Go to previous messageGo to next message
yoyodyn is currently offline  yoyodyn
Messages: 3
Registered: August 2018
Location: Tennessee
Junior Member
Unfortunately, it's new to me as well, we've never had to do it before.
Here is the MS documentation on how it would be set for a "real" com port.

https://msdn.microsoft.com/en-us/library/system.io.ports.ser ialport.breakstate(v=vs.110).aspx

Re: setting "Break State" on the COM Ports [message #1018 is a reply to message #1017] Fri, 10 August 2018 10:17 Go to previous messageGo to next message
Kurt is currently offline  Kurt
Messages: 290
Registered: July 2016
Location: Minnesota
Power User

Hi Yoyodyn,

Interesting. One possibility would be to run our Secure Port Redirector.

You would use the driver/com port, BUT the output would be redirected to the DeviceMaster's IP Address and socket number.

The redirector can be downloaded here:
http://downloads.comtrol.com/dm_freewire/redirector/secure-p ort-redirector.msi

I'll also check with our developer on this.

Kurt


Kurt Rees
www.comtrol.com
http://forum.comtrol.com/

Comtrol Corporation
100 Fifth Ave NW
Minneapolis, MN. 55112
Direct +1 763.957.6000 | +1 Fax (763) 957-6001
connect. communicate. control
Re: setting "Break State" on the COM Ports [message #1019 is a reply to message #1018] Fri, 10 August 2018 10:26 Go to previous messageGo to next message
yoyodyn is currently offline  yoyodyn
Messages: 3
Registered: August 2018
Location: Tennessee
Junior Member
Awaiting any more info/assistance you can provide. Changing to using COM ports virtual or otherwise would be a semi-major re-write for us at this stage.
Not to mention having potentially a couple of hundred serial ports in windows to deal with.

Thank you
Re: setting "Break State" on the COM Ports [message #1020 is a reply to message #1019] Fri, 10 August 2018 10:30 Go to previous messageGo to next message
Kurt is currently offline  Kurt
Messages: 290
Registered: July 2016
Location: Minnesota
Power User
Hi Yoyodyn,

I understand. I've emailed our developer and will follow-up on Monday if I don't hear word back.

Would it be possible for you to communicate to your vendor providing the firmware that using com ports is not feasible?
Perhaps they can come up with a version of the firmware that doesn't require break states.

But I will get back to you as soon as I can.

Kurt


Kurt Rees
www.comtrol.com
http://forum.comtrol.com/

Comtrol Corporation
100 Fifth Ave NW
Minneapolis, MN. 55112
Direct +1 763.957.6000 | +1 Fax (763) 957-6001
connect. communicate. control

[Updated on: Fri, 10 August 2018 11:15]

Report message to a moderator

Re: setting "Break State" on the COM Ports [message #1021 is a reply to message #1019] Fri, 10 August 2018 12:11 Go to previous message
Kurt is currently offline  Kurt
Messages: 290
Registered: July 2016
Location: Minnesota
Power User
Hi Yoyodyn,

This is the feedback from our developer:

Quote:
If customer's application is capable of handling RFC2217 protocol, it should be able to set the
ports to BreakState via SocketServer too.

If not, I'm afraid raw TCP is not able to do that.
They should either use driver or SPR (Secure Port Redirector).



Section 3 of this document describes additional info:
https://tools.ietf.org/html/rfc2217


Note- It seems your application would have to be programmed to implement this.

Kurt



Kurt Rees
www.comtrol.com
http://forum.comtrol.com/

Comtrol Corporation
100 Fifth Ave NW
Minneapolis, MN. 55112
Direct +1 763.957.6000 | +1 Fax (763) 957-6001
connect. communicate. control

[Updated on: Fri, 10 August 2018 12:12]

Report message to a moderator

Previous Topic: Radius
Next Topic: Help with DeviceMaster 16-port
Goto Forum:
  


Current Time: Wed Jun 23 01:32:02 CDT 2021

Total time taken to generate the page: 0.01102 seconds