Enable bluetooth serial port service




















Monday, November 27, PM. Any ideas or updates? Any web links that refer to this problem? Tuesday, November 21, PM. Brandon, As no one has responded yet I'll try to assist as best I can. Unfortunately I am not familiar with your particular device but the PDA device I am familiar with also uses the Widcomm stack. The Window that pops up asking you to select the device with which to communicate relates to the implementation of the Widcomm Bluetooth Stack.

Several items you might care to check forgive me if I am restating the obvious : 1 Have you set the same communications parameters on the serial port object as used at the laptop end? Check that you haven't set a data rate higher than what the device supports although I'd anticipate it would report an error in that case. A shortcut is a good idea, pairing isn't essential depending on your settings see point 3 below.

On the iPAQ these are - "Authorization required" - "Enable service " - "Authentication Passkey required" 4 Ensure that the serial port is initialised parameters set before opening. Do this in the form load event, or similar. The following code might provide some clues I have only shown partial code from a module.

Note that in your particular application you may not need to set all of the properties I have included and some property values may need to be changed e. Ports Module SerialDriver 'Serial port assignment for device. IsOpen Then comPort. If you have feedback for TechNet Subscriber Support, contact tnmff microsoft.

So, which port should we connect o in order to use a terminal program such as RealTerm to communicate with some remote computer over serial port login connection? Essentially using a db9 serial-bluetooth adapter at the remote end, and my laptop's internal bluetooth on local end.

What I want to do is to use an embedded system serial port login for maintenence access, see the bootup log which remote system puts onto db9 serial port, later gives a login prompt that I would like to login to and then be able to check on the system, initiate reboot if needed, collect data, install new files etc.

I have two different db9 serial-bluetooth adapters now, and neither accomplish this as far as I can tell. I have done aloopback test on one of them, which passes, but it cannot talk to a usb-serial adaptor, even with nullmodem adapter in between the two db9 ends. For every byte I type into the bluetooth side RealTerm, I get 3 bytes out at the USB end, like the two db9 ports are talkign different languages, but htey are all configured to baud, 8N1, no hardware handshake, so no reason to be different.

Believing my first buetooth-serial adapter to be garbage, I bought another from adifferent brand, with different shape, internal antenna vs big bendy antenna etc. But sedond one behaves much like the first, and so I assume now that perhaps the concept is wrong for bluetooth? Or perhaps that Windows10 is flaky in this regard, as I find a lot of other complaints about Bluetooth COM ports in Win10, when their thigns had worked fine in Win7, Win8.

They all fail. Given that I can pair successfully and send files without any issues, I know that bluetooth pairing and communication works.

I'm not too sure what else I can try. I seem to have gotten this working now. Bluetooth seems a bit finicky. I'm recapping my steps in full in case someone else finds it useful though its pretty much what I tried initially.

This is for Android JB 4. Ensure your adapter is visible can be set in gnome-bluetooth -- you should see a bluetooth system tray icon. Turn on bluetooth on your Android device. Use Android to pair to the adapter I was unable to pair the other way around from Linux. A dialog will come up asking you for a key.

Put in any PIN you want. Gnome should pop up a notification asking you for a key; put in the same PIN you entered earlier. Your Android device and the key should be paired at this point. If you already have a serial port service, make a note of what channel it is. If you don't, you can add the service:. Hopefully, the application was able to connect.

You'll see additional verification in the terminal where you blocked listening with a message like:. You can see stuff show up as you type by opening up a new terminal and doing something like:. Firstly you have to pair the devices. Learn more. Asked 3 years, 7 months ago. Active 3 years, 7 months ago. Viewed 2k times. Improve this question. Paul Coldrey Paul Coldrey 1, 11 11 silver badges 20 20 bronze badges. You don't need any magic here — vasily. Unfortunately magic is required - when Windows pairs the device I get two ports created and the "incoming" one provides the connectivity I need.

I know this seems silly, From my reading it seems both the "incoming" and "outgoing" ports are bi-directional but one is created by the "client" and one is created by the "server" — Paul Coldrey.

Add a comment. Active Oldest Votes. Show Res. Improve this answer.



0コメント

  • 1000 / 1000