Bluetooth serial port windows

Bluetooth serial port windows

This forum has migrated to Microsoft Q&A. Visit Microsoft Q&A to post new questions.

Asked by:

Question

I am trying to connect my Bluetooth serial adapter(remote device) to Windows-10 PC over Bluetooth for data transfer over SPP profile.

I have connected Bluetooth dongle to my Win-10-PC. I can successfully pair with my serial adapter using the settings>>BluetoothDevice>>AddBluetoothDevices tab. This only does till the pairing part. I can see two virtual com ports are getting created in device manager.

But PC is not getting connected to the remote-device(Bluetooth Serial adapter) over SPP profile.

I have made sure my Bluetooth dongle and the remote device supports SPP profile.

My remote-device(Bluetooth Serial adapter) will always be acting as Bluetooth SPP slave.

I want to establish Serial-SPP-connection with my remote-device(Bluetooth Serial adapter). For this PC shall issue connection request for SPP profile. I can see the com ports are getting created after the pairing is done, but SPP-connection is not getting established.

Also, I used Bluetooth-Serial-terminal App for Windows PC and it can establish the SPP-connection and send/receive data. but I don’t want to use the APP.

Are there any settings on Windows Bluetooth settings, where I can make PC/Dongle to issue the Connection request for the SPP connection?

In below image Com-Port-34 is for Outgoing SPP connection, but how to issue the connection request?

Thanks in advance.

All replies

I’m afraid that your best bet is to use the app to connect.

It is true that with Windows own Bluetooth software two virtual COM ports are created after pairing:
— when connecting your terminal program to the first you are actually instructing Windows to attempt to establish the Bluetooth connection to the remote paired device, and if the connection is established the RFCOMM channel will be opened for the exchange of data
— when connecting your terminal program to the second you are actually instructing Windows to load the SPP SDP record and to remain waiting for incoming connections from the remote paired device.

Hope it will be helpful to you

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

  • Proposed as answer by Carl Fan Microsoft contingent staff Tuesday, May 8, 2018 8:52 AM

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 115200 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. to know it’s not just hte same xcat thing with a different sticker on it. 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.x, WinXP etc.

Читайте также:  Как управлять брандмауэром windows

By USB-serial adapter connects just fine to my embedded platform and shows me the boot log, lets me login etc.

I want that same thing over bluetooth, rather than having a very long serial wire going down the hallway between rooms.

Please help me get that working!

Or make some other suggestion of a nice db9 serial-something else adapter isntead of bluetooth. (Zigbee? WiFi?)

Bluetooth serial port windows

This forum has migrated to Microsoft Q&A. Visit Microsoft Q&A to post new questions.

Asked by:

Question

I am trying to connect my Bluetooth serial adapter(remote device) to Windows-10 PC over Bluetooth for data transfer over SPP profile.

I have connected Bluetooth dongle to my Win-10-PC. I can successfully pair with my serial adapter using the settings>>BluetoothDevice>>AddBluetoothDevices tab. This only does till the pairing part. I can see two virtual com ports are getting created in device manager.

But PC is not getting connected to the remote-device(Bluetooth Serial adapter) over SPP profile.

I have made sure my Bluetooth dongle and the remote device supports SPP profile.

My remote-device(Bluetooth Serial adapter) will always be acting as Bluetooth SPP slave.

I want to establish Serial-SPP-connection with my remote-device(Bluetooth Serial adapter). For this PC shall issue connection request for SPP profile. I can see the com ports are getting created after the pairing is done, but SPP-connection is not getting established.

Also, I used Bluetooth-Serial-terminal App for Windows PC and it can establish the SPP-connection and send/receive data. but I don’t want to use the APP.

Are there any settings on Windows Bluetooth settings, where I can make PC/Dongle to issue the Connection request for the SPP connection?

In below image Com-Port-34 is for Outgoing SPP connection, but how to issue the connection request?

Thanks in advance.

All replies

I’m afraid that your best bet is to use the app to connect.

It is true that with Windows own Bluetooth software two virtual COM ports are created after pairing:
— when connecting your terminal program to the first you are actually instructing Windows to attempt to establish the Bluetooth connection to the remote paired device, and if the connection is established the RFCOMM channel will be opened for the exchange of data
— when connecting your terminal program to the second you are actually instructing Windows to load the SPP SDP record and to remain waiting for incoming connections from the remote paired device.

Hope it will be helpful to you

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

  • Proposed as answer by Carl Fan Microsoft contingent staff Tuesday, May 8, 2018 8:52 AM

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 115200 baud, 8N1, no hardware handshake, so no reason to be different.

Читайте также:  Убрать щитки с ярлыков windows

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. to know it’s not just hte same xcat thing with a different sticker on it. 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.x, WinXP etc.

By USB-serial adapter connects just fine to my embedded platform and shows me the boot log, lets me login etc.

I want that same thing over bluetooth, rather than having a very long serial wire going down the hallway between rooms.

Please help me get that working!

Or make some other suggestion of a nice db9 serial-something else adapter isntead of bluetooth. (Zigbee? WiFi?)

Скачать драйвер для Bluetooth SPP Serial Port Windows 7 x64 6.9.1229.0101

Bluetooth SPP Serial Port Windows 7 x64 6.9.1229.0101

Драйвер это по своей сути связующее звено между операционной системой, то есть программным обеспечением и железом, то есть физическими устройствами, таким как видеокарты, принтеры, процессоры и т.д. В операционной системе могут быть заложены базовые драйвера для самых необходимых устройств — мышка, клавиатура, но для всего остального потребуются свежие драйвера.

Как установить драйвер?

a) Для начала надо на рабочем столе выбрать значок (Мой компьютер) и нажать по нему правой кнопкой мыши, в выпадающем меню выбрать (Свойства).

b) Теперь переходим на вкладку (Оборудование) и нажимает на кнопку (Диспетчер устройств).

c) Теперь необходимо выбрать устройство для которого будет устанавливаться/обновляться драйвер. На строке с устройством надо нажать правой кнопкой мыши и в выпадающем меню выбрать (Свойства), либо можно просто дважды по нему щелкнуть, чтобы перейти в нужные настройки.

d) Переходим на вкладку (Драйвер), выбираем кнопку (Обновить).

e) В появившемся диалоговом окне выбираем пункт (Нет, не в этот раз) и переходим (Далее).

f) На этом этапе есть два вариант. Можно попытаться установить драйвера в автоматическому режиме, тогда ОС сама попытается найти подходящие устройству драйвера и установить их, для этого выбираем (Автоматическая установка (рекомендуется)) , если попытка завершится неудачно, то надо переходить ко второму пункту (Установка из указанного места) и выбираем (Далее).

g) Этот пункт меню подразумевает выбор между поиском драйвера на сменных носителях и вариантом указать папку с драйвером самостоятельно. Поэтому если в наличии есть диск с драйверами, то надо вставьте диск в CD-rom и выбрать вариант (Поиск на сменных носителях (дискетах, компакт-дисках..)) и перейти (Далее).

Если драйвер найден и скачен в интернете самостоятельно, то надо указать в ручную путь к папке в которой находятся установочный данные для драйвера следующим образом. Выбираем пункт (Включить следующее место поиска:) и переходим в (Обзор), теперь из списка выбираем папку с драйвером и кликаем на кнопку (ОК). Теперь смело переходим (Далее), если все сделано правильно, то начнется установка необходимого драйвера.

Bluetooth serial port windows

В этом разделе новые темы могут создавать только Модераторы. Ваши вопросы Вы можете задавать во всех открытых темах и в корневом разделе!

В общем после длительных мытарств мне это удалось.
Имеем ББ с лицензионной домашней виндой и 2-м сервиспаком, и блютуз-адаптер Х-микро. С другой стороны имеем QtekS100 со штатным блютуз-стеком.
Начинаем:
Сносим активсинк, удаляем в блютузе связанные устройства, отключаем адаптер, чистим СОМ-порты (удаляем лишние), файрвол (у меня Оутпост последний) ставим в режим обучения.
1. Подключаем адаптер, он садится на штатные виндосовские дрова.
2. Ставим Активсинк (у меня 4.1 русс). На предложение подключить КПК отвечаем отказом.
3. «Устройства блютуз» в трее, строка «Открыть параметры. «, вкладка «Параметры» ставим галку на «Включить обнаружение»
4. Там же открываем вкладку «СОМ-порты» и заказываем «Добавить»
5. Идем в «Параметры подключения» синка ставим галку на СОМ-портах и выбираем добавленный в п.4 порт.
6. Спариваем ББ и ПДА
7. «Устройства блютуз»- строка «Добавить устройство»
8. Выделяем появившийся в окне ПДА, кликаем на «Свойства» и выбираем вкладку «Службы»
9. Заказываем «Найти» и получаем 2 службы серийный порт и подключение к личной сети. Особо отмечу- ГАЛКИ НЕ СТАВИТЬ.
10. Переходим на ПДА, открываем Активсинк на нём, в трее тапаем «Утилиты», «Подключить через Блютуз».
11. Тэкс. Пошла синхронизация.

Читайте также:  Настройка чувствительности сенсорного экрана windows 10

Дальше наверно все знают.

Самое смешное, что почти всё это написано в справке в Активсинку 4.1 рус. Так что перефразируя русскую поговорку- инструкции не читают только дураки, правда когда они их пишут это ещё хуже.

Так что не нужно никаких доп.стеков и всего прочего. Для интереса после положительного результата я всё прибил и сделал то же снова, всё надёжно получилось.Интернет пока не проверял, может сегодня будет время. Или дождусь когда ADSL дома подцепят. Дня 3 осталось.

А самое главное я выяснил недавно. Искать ББ надо КПКахой, а не наоборот.

Варианты решения, если есть проблема — здесь.

привожу попунктно как у меня получилось связать Windows Seven и MW 6.1 посредством Bluetooth.Не факт, что у Вас будет так же.
Потратив два вечера, и перековыряв пол интернета решил действовать по старинке — метод научного тыка. У меня Touch Diamond 2, прошивка родная (ПЗУ: 1.39.411.1 (47382) RUS; Радио: 4.49.25.17; Протокол: 61.44tc.25.32U), ОС WM 6.1 + TouchFLO 3D v.2.0.37894.3
Соединение КПК и ББ для синхронизации через «Центр устройств Windows Mobile» (у меня Windows Seven) начинаем с настроек в ActiveSync на КПК.
1. Удаляем все партнерства на ББ и на КПК.
2. В «Центр устройств Windows Mobile» -> Параметры подключения -> Разрешить подключения одного из следующих типов -> ставим СОМ8 (или другой свободный порт на КПК). НЕ bluetooth. (ни смотря на соблазн и логику) СТАВИМ COM. «Центр устройств Windows Mobile» не закрываем.
3. Проверяем что bluetooth включен на ББ и запущена утилита (что-то типо BlueSoleil — шла в комплекте)
4. На КПК (при условии что у меня стоит TouchFLO) Настройки -> Синхронизировать данные -> Меню -> Подключения — Bluetooth -> На сообщение «Не удается найти существующее сообщество bluetooth с ПК с поддержкой ActiveSync. Установить сообщество?» жмем ДА!
5. Открывается страница настройки Bluetooth. Включаем Bluetooth (ставим галку) -> Вкладка «Устройства» -> Добавить устройство -> Находим ББ -> Далее -> Вводим ключ для связи.
6. Соединяемся.
7. Если нажмете Дополнительно, вы увидите что появилась служба ActiveSync. Она-то нам и нужна (должна стоять галочка) -> Готово -> Вернулись на страницу настройки Bluetooth -> ОК (закрываем ее).
8. Снова страница ActiveSync -> Меню -> Подключения — Bluetooth -> и.
9. Зашевелился «Центр устройств Windows Mobile». Вот мы и законнектились. Пошла синхронизация.

P.S. Самое главное надо понять, чтобы добавить сопряжение с ББ надо начинать не с настройки bluetooth, а именно с ActiveSync на КПК. И уже потом Вас выведет на страницу настройки bluetooth, где вы найдете свой ББ и потом уже сможете соединиться с Центром WM.
P.P.S Было подозрение на брендмауэр (виндовозный или в антивирусе). Рекомендую выключить, пока не получится соединиться хотя бы один раз. И смущало что при обычном сопряжении: Windows Seven (посредством BlueSoleil) находит КПК, говорит что подключается и сразу отключается. На самом деле именно «Центр устройств Windows Mobile» УДЕРЖИВАЕТ соединение.

Сообщение отредактировал romchk — 23.10.10, 15:24

У меня стек на КПК от Widcomm. Видимо, поэтому в ActiveSync нет пункта Bluetooth, а есть только IR.

1) ББ. втыкаем bluetooth тычку
2) спариваем ББ с КПК
3) ББ. В опциях bluetooth вкладка COM-порты, смотрим, какой COM-порт обозначен как Incoming (не знаю, как в русской версии), обычно COM4
4) ББ. ActiveSync, File/Connection Settings, Allow Connection to >> — указываем тот самый порт.
5) КПК. Bluetooth Manager/New/ActiveSync via Bluetooth — ищем ББ.

Оцените статью