Re: Enumerates COM Port

From: Martin Maurer (capiman_at_clibb.de)
Date: 03/24/04


Date: Wed, 24 Mar 2004 20:32:14 +0100


> The easiest way to determine what ports are installed is to try to
> open each port in a loop (say COM1 to COM32) and if the port opens,
> immediately close it and mark it as being available. If it does not
> open then trap the error and mark the port as unavailable.

This could take a very long time, when you have a bluetooth card inside the
PC...
They install multiple COM-Ports, and if already paired, built up a
connection and timeout. This could take 20 seconds per COM-Port...

Regards,

        Martin



Relevant Pages

  • Re: what is this for
    ... >> and searching freebsd ports shows no game called fortune. ... > You probably chose not to install it during the ...
    (freebsd-questions)
  • Re: subversion on FreeBSD 4.10
    ... I've upgraded all the ports including perl. ... # CFLAGS controls the compiler settings used when compiling C code. ... # or supported for compiling the world or the kernel - please revert any ... # To avoid running MAKEDEV all on /dev during install: ...
    (freebsd-questions)
  • Re: newest PHP port upgrade broke php5-mbstring-5.0.1 ?
    ... # CFLAGS controls the compiler settings used when compiling C code. ... # or supported for compiling the world or the kernel - please revert any ... # certain ports. ... # To avoid running MAKEDEV all on /dev during install: ...
    (freebsd-questions)
  • Re: External drives not installing or working properly on USB
    ... Tne one thing you could try doing is a repair install of XP ... Only one of the five host controllers is connected to the 6 ... As you have 5 host ports, ... operating system to recognise the four additional 'drives'. ...
    (microsoft.public.windowsxp.general)
  • Re: mfi freebsd7
    ... i did update my ports and install the 1.01.40 version... ... A RAID1 config shoudl suit a busy webserver well. ... To unsubscribe, send any mail to ...
    (freebsd-questions)