|
>Now all of a sudden I have a requirement to dial out to >another system at 9600. Their modem is setup not >to negotiate a rate (it will only connect at 9600). > >I was hoping to be able to change the line description to 4800 >or 9600 bps which would send the control codes to my modem >and reset it's connection speed respectively. It's possible, but it depends on the modem. Let's presume that your modem can be set via software. The way I normally do this is not to change an existing line/ctl/dev, but to create a new one on the same I/O resource. Vary off LINE4800 and vary on LINE9600. You can then adjust the new settings without fear of breaking the existing ones. When done with LINE9600, vary it off and vary LINE4800 on. One fairly painless way to do that is to write a little CL program that varies off all line/ctl/devd's on a resource and then varies on the one you pass in as a parameter. Call this VARYCL from each of your comms programs and you'll be sure that the right description will be varied on. Next month, when somebody says "I need to dial X company at 2400bps" you can add a few lines to the CL program and never worry about your existing comms. Buck
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.