Problem with serial ports over bluetooth

  • Thread starter Thread starter TPG713
  • Start date Start date
T

TPG713

Guest
All,

I am trying to communicate with commercial survey instruentation via bluetooth. I have two models of the device(an ES 105 and a GM 105).

My application is a VB desktop WPF application.
Windows version is 10

The application I am using works fine with both devices using a wired serial connection(I can use either wired or bluetooth).

One of the devices works just fine with bluetooth(the GS 105).

The other device(the GM 105) works the first time I connect to it until I close the port(either explicitly or just by closing the application without having performing the close).

After that point, all attempts to open the serial port result in this error 'The network location cannot be reached. For information about network troubleshooting, see Windows Help.'.

At this point, the only thing I can do to make it work is to unpair the device and pair it again. This eventually works, but not reliably.


My observations on the problem:
1) closing and opening the application makes no difference
2) power cycling the device makes no difference
3) rebooting the windows machine makes no difference
4) updating the drivers in question makes no difference
5) trying an external bluetooth dongle makes no difference
6) I have written a completely independent and separate application in C++ to attempt the same thing and the behavior is exactly the same.
7) the problem happens whether any data is written to the port or not
8) deleting and explicitly adding the outgoing serial port(we use the OG port) makes no difference.
9) while it serves no functionality, I can open and close the incoming port with no issues

It seems that closing that port corrupts the virtual connection in some persistent fashion(but only for one of the devices)

Does anyone have any thoughts as to how I might proceed to resolve this? I am considering opening a ticket with the device manufacturer, but I suspect they will be inclined to say(rightfully so) that is a windows problem.


Thanks much

Continue reading...
 
Back
Top