Schemes, handlers and COM-ports
[1/3] from: maillist:peter:home:se at: 22-Jan-2004 15:30
Hello! I am trying to write an application that talks/listens to my modem. The modem is identified as an internal Conexant Intl HSFi V92 MiniPCI Modem on COM4 on a Compaq Evo running Windows XP Pro. Maybe it is a little special since it is not really a COM-port but an internal WinModem mapped to COM4. I think I have to create an instance of the serial handler but don't know how. I have tried:
>> modem: open/lines/no-wait/direct serial://port4/9600/8/none/1
** Access Error: Invalid port spec: port4 ** Near: modem: open/lines/no-wait/direct serial://port4/9600/8/none/1
But maybe I have to define a new instance of the serial handler for com4?
>> probe system/ports/serial
[com1 com2] == [com1 com2]
Could someone explain what I am doing wrong and also explain how schemes and handlers are used, where to find them in the system tree and where to find more information? Best regards, Peter Carlsson
[2/3] from: petr:krenzelok:trz:cz at: 22-Jan-2004 21:19
Peter Carlsson wrote:
>Hello! >I am trying to write an application that talks/listens to my modem.
<<quoted lines omitted: 13>>>[com1 com2] >== [com1 com2]
->> system/ports/serial == [com1 com2] ->> append system/ports/serial [com3 com4] == [com1 com2 com3 com4] -pekr-
[3/3] from: maillist::peter::home::se at: 23-Jan-2004 7:24
From: [petr--krenzelok--trz--cz] To: [rebol-list--rebol--com] Reply-To: [rebol-list--rebol--com] Date: 22-Jan-2004/21:19:34+1:00 Subject: [REBOL] Re: Schemes, handlers and COM-ports
>Peter Carlsson wrote: >>>Hello!
<<quoted lines omitted: 32>>>== [com1 com2 com3 com4] >-pekr-
Thanks! I will have a look! /Peter<
- Quoted lines have been omitted from some messages.
View the message alone to see the lines that have been omitted