Community
cancel
Showing results for 
Search instead for 
Did you mean: 
OJinn
New Contributor I
2,211 Views

How to use Intel Edison and Intel Edison breakout board Bluetooth(BLE) using a windows platform?

Jump to solution

All i found in the internet was using a Linux platform. Someone please tell me where i can find the Bluetooth configuring program using windows 7.

Your help is much appreciated.

Thanks,

 

JInnie


Accepted Solutions
Pedro_M_Intel
Employee
99 Views

Hello Jinnie,

I'm not quite sure of what you're asking. The Edison's Bluetooth capabilities are configured directly on the Edison's internal Linux terminal, in order to configure them you have to have access to the board's terminal, to do so you can follow this guide: https://software.intel.com/en-us/get-started-edison-windows-step3 Set up a serial terminal.

After you've gotten access to it, you can read the http://www.intel.com/support/edison/sb/CS-035381.htm Intel® Edison Bluetooth® User Guide to learn how to interact with the Edison's Bluetooth interface.

Peter.

View solution in original post

18 Replies
Pedro_M_Intel
Employee
100 Views

Hello Jinnie,

I'm not quite sure of what you're asking. The Edison's Bluetooth capabilities are configured directly on the Edison's internal Linux terminal, in order to configure them you have to have access to the board's terminal, to do so you can follow this guide: https://software.intel.com/en-us/get-started-edison-windows-step3 Set up a serial terminal.

After you've gotten access to it, you can read the http://www.intel.com/support/edison/sb/CS-035381.htm Intel® Edison Bluetooth® User Guide to learn how to interact with the Edison's Bluetooth interface.

Peter.

View solution in original post

RElli7
New Contributor I
99 Views

I too would like to know this. I want to use the Edison to control a robot. I intend to use my Surface pro (windows 10) as the controller. I can find libraries for iPad, iPhone and Android but not Windows. So any pointers would be appreciated.

RElli7
New Contributor I
99 Views

Oh I guess I forgot to mention the issue for me is not the Edison pre se. It is using windows to control the Edison, at this point the Edison appears to be an island that a Windows devices cannot reach via BLE. I would love to know if there is support for Windows somewhere.

P.S. I spent a lot of time looking for C++ or even C# libraries to communicate via BLE in Windows. Most support is for OSX. I choose not to learn yet another eco-system just to talk to Edison, it is simply not cost effective.

Pedro_M_Intel
Employee
99 Views

Hello Irakandjii,

Exactly how would you like to control your robot? When you connect your Edison to a regular Windows PC through Bluetooth, it is recognized as a PC, since as you may know; the Edison has an x86 architecture and comes with a full Linux (Yocto) image. So, it is quite different to handle it using a Windows PC than if you were using some other Bluetooth device.

Have you checked section 6.7 of the http://www.intel.com/support/edison/sb/CS-035381.htm Intel® Edison Bluetooth® User Guide, there SPP is described, maybe this approach suits your needs, I suggest you to check it out.

Peter.

RElli7
New Contributor I
99 Views

Thank you I will look into this. The last time I looked was back in Jan/Feb of this year, there certainly has been progress on the Edison side.

I want to create a UI in windows that will display controls for movement etc. (left, right, forward back) Potentially display thumbnails of a camera image. Display sensor data etc. So the application needs to access GPIO's for both INPUT and OUTPUT "associated with" / "from" Edison. At the remote end, there are Apple / Android sdks that do this on their respective platforms. I still need to find one for windows "PC's".

OJinn
New Contributor I
99 Views

Hi Peter,

Thank you for your responds and i will test it out again.

Jinnie

RElli7
New Contributor I
99 Views

Sorry for Hijacking your post Jinnie.

Peter's note triggered a new round of searching on my part and I believe I have now sorted out the tool chains and information I need. Thanks Peter.

I found the following which may be of interest to you.

1) This is a Bluetooth development kit there is a lot of good information here

http://www.bluetooth.com/SiteCollectionDocuments/developer-studio/bluetooth-developer-studio.aspx# top http://www.bluetooth.com/SiteCollectionDocuments/developer-studio/bluetooth-developer-studio.aspx# top

2) I also discovered I was looking in the wrong place to solve my problem back in late 2014 / early 2015. The Windows development kit is provided by the "Bluetooth Radio Manufacturer". At the time my development system did not have a dedicated Bluetooth radio so the question did not occur to me (lol)

In my situation the desktop radio is a Broadcom. Info is here http://www.broadcom.com/support/bluetooth http://www.broadcom.com/support/bluetooth

Now there is just a whole lot of specific tool chain integration to do. Good luck Jinnie, I trust things will work out for you.

OJinn
New Contributor I
99 Views

Hello Irakandjii,

Sorry for late reply.

 

Its okay. Anyway it least we got the answer we wanted.

Thank you for your help. Ill look into it asap.

 

Jinnie

 

OJinn
New Contributor I
99 Views

Hi Peter,

May I know once we Bluetooth pair with the Edison board, is there a way to unpair? because i accidentally unpaired on my phone.

This thing appear as shown below...

root@edison:~# rfkill unblock bluetooth

root@edison:~# bluetoothctl

[NEW] Controller 98:4F:EE:03:37:9A BlueZ 5.18 [default]

[NEW] Device 38:2C:4A:2A:99:C5 Jo

My phone bluetooth appear with the default. Anyways i can do to pair it again?

Your help is much appriciated. Thank you

Jinnie

Pedro_M_Intel
Employee
99 Views

Sure, it's actually pretty easy. Follow these steps:

1. rfkill unblock bluetooth

2. bluetoothctl

3. remove XX:XX:XX:XX:XX:XX

*Change XX:XX:XX:XX:XX:XX for the MAC address of the device you want to unpair.

Peter.

OJinn
New Contributor I
99 Views

Hi Peter,

Thank you for your reply. I'll try it out. Thanks

Jinnie

OJinn
New Contributor I
99 Views

Hi Peter,

1) I'm able to pair the device with my phone... but i can't connect now. they keep prompting fail to connect as shown below. Any advice?

Pairing successful

[CHG] Device 38:2C:4A:2A:99:C5 Connected: no

[bluetooth]# connect 38:2C:4A:2A:99:C5

Attempting to connect to 38:2C:4A:2A:99:C5

Failed to connect: org.bluez.Error.Failed

2) After i connect to the android app (bluetooth SPP tools Pro), the app keep prompting SPP connection fail. How do I get it to start working?

Your help is much appreciated Thank you

Jinnie.

Pedro_M_Intel
Employee
99 Views

Did you make sure to set the Edison to trust your phone?

Peter.

OJinn
New Contributor I
99 Views

Hi Peter,

Yes i already make the edison board trust my phone. Any other ways?

Jinnie

OJinn
New Contributor I
99 Views

Hi Peter,

After my phone is paired with the Edison board, how do i just connect the phone and the board?

like example i took out all the connection and shut down my computer and everything. Next day i wanna connect again how do i do it?

Any help is good. Thank you

Jinnie

Pedro_M_Intel
Employee
99 Views

Hello Jinnie,

I recently uploaded a couple of documents that might help you, why don't you check them:

Peter.

OJinn
New Contributor I
99 Views

Hey Peter,

I've look through the files you attached and I would like to know

1) the shell script( for auto connection) is open for linux or what? Cause i'm using arduino platform and if i copy the script in ardunio they prompt me error as below :

Arduino: 1.6.5 (Windows 7), Board: "Intel® Edison"

Build options changed, rebuilding all

edison_SCRIPT.sh:1: error: invalid preprocessing directive # !

edison_SCRIPT.sh:5: error: invalid suffix "C" on integer constant

edison_SCRIPT.sh:5: error: invalid suffix "A" on integer constant

edison_SCRIPT.sh:5: error: invalid suffix "A" on integer constant

edison_SCRIPT.sh:2: error: 'rfkill' does not name a type

invalid preprocessing directive # !

2) the SPP loop back too is using python?

Thanks

Jinnie

Pedro_M_Intel
Employee
99 Views

Yes, in fact the shell script is designed to work under Linux and in fact SPP-loopback.py is running on Python again under Linux.

If you don't want to create the system service, you can use the same shell script but calling it from the Arduino sketch with a system service. If you don't know how system services work here's a brief example:

...

system("echo Hello > /dev/ttyGS0");

...

That should send the message "Hello" to the Edison's serial port (the one used with the Arduino Serial Monitor).

Peter.