.NET Components for Mobility

Create New Incoming Port?

Last post 08-27-2008 6:51 PM by Scobie. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 08-27-2008 6:51 PM

    • Scobie
    • Not Ranked
    • Joined on 08-21-2008
    • Posts 1

    Create New Incoming Port?

    I am developing an application targetting the .NET CF 2.0 (implementing on WM5 & hopefully WM6), which uses Bluetooth to listen to serial data being output by numerous BT devices.

    I have a successful version of the application running using the System.IO.Ports.SerialPortcontrol. The incoming BT COM port information is gathered from the registry setting

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\Serial\Ports\Incoming

    and this is passed to the SerialPort control. Any data received is stored in a file for processing later.

    The problem I have is that not all devices have a pre-configured "Incoming" BT port, or it may have been deleted, and this application has to target users which do not have any tech knowledge and has to work out-of-the-box i.e. instructing the user to configure a New Incoming Port through the Settings panel is not an option.

    How can I generate a New Incoming Port through code?

    I have downloaded & installed the latest version of the InTheHand classes, but after trialling a few versions of code in my application I have not had any success.

    Any ideas will be greatly appreciated.

Page 1 of 1 (1 items)
Copyright © 2001-2008 In The Hand Ltd. All rights reserved. Terms of Use and Privacy Policy.