I am trying to use a phone card to dial from my modem. The number that I dial
is fairly long... with the access number, PIN number, and the number of commas
required for pauses.
For some reason that I don't understand, the modem won't dial when the number
is longer than about 37 characters. I have tried larger RX and TX buffers, but
to no avail. Does anyone have an idea of what my problem might be?
I am using the following values in my code.
hComm = FREEFILE
commPort = "COM" + TRIM$(STR$(commPortNo))
COMM OPEN commPort AS #hComm
COMM SET #hComm, BAUD = 9600
COMM SET #hComm, BYTE = 8
COMM SET #hComm, PARITY = %FALSE
COMM SET #hComm, STOP = 0
COMM SET #hComm, RXBUFFER = 8192 '1024
COMM SET #hComm, TXBUFFER = 8192 '1024
COMM SEND #hComm, "ATDT" + dialNumber + ";" + $CR
------------------
is fairly long... with the access number, PIN number, and the number of commas
required for pauses.
For some reason that I don't understand, the modem won't dial when the number
is longer than about 37 characters. I have tried larger RX and TX buffers, but
to no avail. Does anyone have an idea of what my problem might be?
I am using the following values in my code.
hComm = FREEFILE
commPort = "COM" + TRIM$(STR$(commPortNo))
COMM OPEN commPort AS #hComm
COMM SET #hComm, BAUD = 9600
COMM SET #hComm, BYTE = 8
COMM SET #hComm, PARITY = %FALSE
COMM SET #hComm, STOP = 0
COMM SET #hComm, RXBUFFER = 8192 '1024
COMM SET #hComm, TXBUFFER = 8192 '1024
COMM SEND #hComm, "ATDT" + dialNumber + ";" + $CR
------------------
Comment