Hi all,
My initial goal is to make what you could call a "Serial Cable Replacement" by using Bluetooth Low Energy. This reseambles very much the traditional SPP profile in "normal" bluetooth, or the simple point to point connection that one can do by using two xbees.
In order to implement such a simple system I purchased from adafruit a BLE module for my arduino https://www.adafruit.com/products/1697 and a BLE dongle for my PC https://www.adafruit.com/products/1327
I tested the communication between the arduino and an ipad running the UART application from adafruit and it works perfectly, however the problem comes when I want to connect with the PC. For starters in my PC and using the USB dongle linked above I cannot discover the peripheral. Using one of my colleagues PC (that has integrated BLE chip) I managed to discover the peripheral and connect to it. However, and after establishing the connection, I have no clue on how to open a serial port over it so I can connect to my BLE module. Where is the COM port defined?
Any help on this or any ideas on how to establish a serial connection between BLE and a PC would be very much appreciated.
Best,
N.M.
UART over BLE
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: UART over BLE
Just guessing here, because my Win7 box doesn't see my BLE either. However, if you go into your Devices and Printers control panel and find the bluetooth dongle, you should be able to right click on it and open "Bluetooth Settings". That will bring up a window with a tab "COM Ports". See what you find in there.
- nordicMaker
- Posts: 2
- Joined: Wed Oct 22, 2014 9:07 am
Re: UART over BLE
Hi Rick,
Thanks for your reply.
Regarding the COM ports, yes, indeed some COM ports appear since I defined them in previous projects to work with other devices. However these COM ports have nothing to do with the BLE dongle mentioned before. Additionally I do not think they can be used if a device has not been paired previously. I attach snapshot.
My current theory is, the device cannot be discovered because the nRF8001 module it is using a specific profile defined by adafruit, which is not standard. I think that this profile needs to be installed separately in the windows machine beforehand. The device can be discovered from Android and iOS using the official adafruit apps because they do have that profile defined. If somebody from technical support could confirm this it would be appreciated.
Thanks for your reply.
Regarding the COM ports, yes, indeed some COM ports appear since I defined them in previous projects to work with other devices. However these COM ports have nothing to do with the BLE dongle mentioned before. Additionally I do not think they can be used if a device has not been paired previously. I attach snapshot.
My current theory is, the device cannot be discovered because the nRF8001 module it is using a specific profile defined by adafruit, which is not standard. I think that this profile needs to be installed separately in the windows machine beforehand. The device can be discovered from Android and iOS using the official adafruit apps because they do have that profile defined. If somebody from technical support could confirm this it would be appreciated.
- Attachments
-
- comPorts.PNG (18.97 KiB) Viewed 537 times
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: UART over BLE
Actually, you are absolutely correct.
Please see this tutorial page:
https://learn.adafruit.com/getting-star ... rt-service
Please see this tutorial page:
https://learn.adafruit.com/getting-star ... rt-service
Please be positive and constructive with your questions and comments.