.NET Components for Mobility

Using a SerialPort

Last post 03-16-2010 5:06 AM by alanjmcf. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 03-11-2010 12:39 PM

    Using a SerialPort

     Hello, I am using 32Feet.Net to set up a COM port that will communicate with my device over Bluetooth. I can do this fine using a NetworkStream.

    However, when I try to create a SerialPort using the COM port that 32Feet creates, I get this IOExceotion when I call serial.Open():

    "You were not connected because a duplicate name exists on the network."

    Is there anything I have to change when opening the COM port with a NetworkStream vs. a SerialPort? What did I do wrong?

     

    Thanks,

    Adam

  • 03-11-2010 1:08 PM In reply to

    Re: Using a SerialPort

     Sorry, all I had to do was close the bluetooth client. I can't see how to delete the post so I feel less stupid lol.

     

    -Adam

  • 03-16-2010 5:06 AM In reply to

    Re: Using a SerialPort

    :-,)
Page 1 of 1 (3 items)
Copyright © 2001-2012 In The Hand Ltd. All rights reserved. Terms of Use and Privacy Policy. OrcsWeb's Windows Cloud Server Hosting