Carlo,

It's been a long time for me, but are you disconnecting with an "ATH"  
+ terminator command to the modem, before trying to close the  
connection?

Steve

=========================================================
==     Stephen E. Hutson, AquilaDigital Partnership    ==
==             http://www.adpartnership.net            ==
=========================================================

On Mar 14, 2007, at 2:00 a.m., Carlo Rubini wrote:

> I recently added an Apple External Modem (USB), and now, after  
> dialing (succesfully or unseccesfully) a number, I cant close the  
> port. Even using the Internet Connect pane and clicking Connect no  
> connection happens anymore, and clicking the Disconnect button, in  
> the menuBar the strip 'Disconnecting' goes on forever.  
> ForceQuitting Internet Connect does not solve the problem. I have  
> to restart the machine.
>
> Using the Internal Modem everything works all right.
> On an old PowerMac with an external Modem plugged in the Modem port  
> everything works all right.
>
> I must add that making sinple modem-calls (ex. AT&FI6) and closing  
> the port, everything is all right; i.e. I can again open and write  
> another command line.
>
> The open/close code is as follows:
>
> Serial1.SerialPort = System.SerialPort(selectedPort)
> serial1.baud = 9 //14400
> if serial1.open then
> serial1.write "AT&FDT776655" + chr(13)//the modem connects and  
> dials the number
> end if
>
>
> In a pushButton (and in a timer):
> timerClose.mode = 0
> serial1.write "AT&F" + chr(13)//restore factory settings, just in case
> serial1.flush
> serial1.close
>
> After pushing the close button, trying again to dial/connect,  
> either from my app or from Internet Connect, fails. Restart needed.
>
> I'm using RB 5.5.5  and OS 10.4.5
>
> Any suggestion welcome. Thanks,
>
> -- 
> Carlo
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to