locked
Connecting devices via Bluetooth RRS feed

  • Question

  • Hello, I have an application for Windows mobile that printing data via Bluetooth.
    Using a virtual serial port:

    OutputPort string = "COM8:";
    serialOut = new SerialPort (OutputPort);
    serialOut.Open ();
    serialOut.WriteLine (":::::::::::::::::: Text Here :::::::::::::::::: \ n ");
    serialOut.Close ();

    But this "OutputPort" must be the same COM port pre-configured in the "settings" of Windows Mobile5 (here COM8), and associated with other Bluetooth device that Windows recognizes.
    Have some way to make this part a device to recognize and associate a bluettooth a COM port by source code without need to change the "settings" of Windows for that?
    Grateful.
    Wednesday, July 22, 2009 7:38 PM

Answers

All replies