Hi, Rebolers!
Some time ago I managed to get working with serial ports e.g. sending SMS.
That works on my laptop (WinXP) through Bluetoth with Nokia.
Now I trying to do the same on vehicle PC with in-build Siemens MC35i GPRS
modem, but the same script fails because it can not read data from port
(e.g.copy ...).
I can freely do anything by using AT commands with f.ex. Hyper Terminal in
Windows.
But look how it looks in Rebol:
*****Copy from console begin ******* >>sp: open/mode to-url rejoin [
"serial://port1/9600/8/none/1" ] [ write read string no-wait ] >>insert sp
rejoin [ "AT" crlf ] >>print copy sp none >>*****Copy from console begin
*******
I analyzed what is going on with portmonitor (see attached file) and it
showsthat read is working (last two lines).
So what could be done to get response in Rebol?
Thanks in advance and looking forward for your replays, Janeks
The following section of this message contains a file attachment
prepared for transmission using the Internet MIME message format.
If you are using Pegasus Mail, or any other MIME-compliant system,
you should be able to save it or view it from within your mailer.
If you cannot, please ask your system administrator for assistance.
---- File information -----------
File: PORTMON.LOG
Date: 17 May 2006, 16:22
Size: 2083 bytes.
Type: Unknown
-- Binary/unsupported file stripped by Ecartis --
-- Type: Application/Octet-stream
-- File: PORTMON.LOG
--
To unsubscribe from the list, just send an email to
lists at rebol.com with unsubscribe as the subject.