[REBOL] Schemes, handlers and COM-ports
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