Bluetooth Connection
Antwort
29.12.16 08:57

Hi everyone,

I am a newbie of the xdk concept. And now I am trying to connect my xdk devide to my android phone via VirtualXdk application that available on googlestore.

And app could not find the device. Probably I did not open the device's bluetooth connectivity.

Here is my question, is there any procedure that opens the bluetooth connectivity. If there is, is it inside a code or on the device.

Actually i am wondering someone can explain step by step this bluetooth connection with app.

Thanks in advance,

 - Oguz

0 (0 Stimmen)
RE: Bluetooth Connection
Antwort
29.12.16 21:06 als Antwort auf Oguzhan Ciftci.

Hello Oguzhan,

welcome to the XDK community. We are glad to hear that you are trying to enjoy the IoT prototyping platform XDK.

To enable the Virtual XDK functionality on the XDK it is required to flash the compatible application on the XDK.

You need to:
 

  • Download an install the XDK workbench
  • Download the Virtual XDK app for the XDK
  • Import the application code in the XDK workbench ( You will find a step by step guidance “Getting Started” in the downloaded .zip folder)
  • Flash it on the XDK
     

Please to not hesitate to ask if you have further questions.

Kind regards,
Manuel

0 (0 Stimmen)
RE: Bluetooth Connection
Antwort
30.12.16 13:24 als Antwort auf Manuel Cerny.

Thank you !

I am going to work on it. If I stuck in sth, I will let you know by asking :)

- Oğuz

0 (0 Stimmen)
RE: Bluetooth Connection
Antwort
04.01.17 12:11 als Antwort auf Oguzhan Ciftci.

Hi,

 

I´ve the same problem, can´t connect my Iphone over the app with the XDK, can´t even see it or choose. I thougt its an easy plug&play device, just downloaded the app on my phone and try to connect to the XDK.

Now I connect it to workbench succesfully but not sure what to do now. Do I need to flash the XDK with an IOS app first? There is only a template and a guide which shows how to build the IOS app first using Mac etc. In case this is really neccesary why there isn´t an ready to use IOS-template there?

I still hope I am doing something wrong and there is a easier way to connect it to my phone and use

 

0 (0 Stimmen)
RE: Bluetooth Connection
Antwort
04.01.17 13:14 als Antwort auf Michal Dziurowicz.

Hello Michal,

welcome to the community. Let me clarify some things:

The iOS (apple operating system) app is the application that is running on your iOS device (iPhone or iPad). The app will be downloaded and installed via the apple App Store.

On the other hand the XDK offers to run different applications on it, but only one particular application at each time. Like very common in embedded development, the application need to be flashed on with a developing environment, the XDK-workbench. This application reads the sensor values and makes the bluetooth interface available for the iOS application.

This process is described in a great detail in the Getting Started document in the dowloaded .zip folder. I would recommend to look up especially in section 5. Compiling XDK Application using XDK-Workbench.

Please tell me if this helps.

Kind regards,
Manuel

0 (0 Stimmen)
RE: Bluetooth Connection
Antwort
04.01.17 14:02 als Antwort auf Manuel Cerny.

Hi Manuel,

Thanks you so far, I followed the guide how to compiling it and its almost clear until the last/4th step, where I need to select the right project from the project explorer and flash it on the XDK. Please see on the picture attached. Its not clear what´s the right one for IOS

0 (0 Stimmen)
RE: Bluetooth Connection
Antwort
04.01.17 14:26 als Antwort auf Michal Dziurowicz.

Hello Michal,

DVX_demoVirtualXDK is the correct XDK application to flash for the Virtual XDK iOS app. If there are more than one open project in the project explorer the selected one will be flashed, see the attached screenshot.

Kind regards,
Manuel

0 (0 Stimmen)
RE: Bluetooth Connection
Antwort
27.02.17 22:45 als Antwort auf Manuel Cerny.

Hello Manuel,

I followed the intructions of the "Getting Started" and have imported VirtualXDK to my projects. But it won't flash due to missing binaries, which is true. In the project tree there are no binaries.

How can I fix this?

Regards,

Felix

0 (0 Stimmen)
RE: Bluetooth Connection
Antwort
28.02.17 11:00 als Antwort auf Felix Falk.

Solution found!

I'm replying to me own request, because I found a solution to my "no binaires" issue.

Just right-mousebutton-click on the project in the workbench and choose "Configure" (second from bottom) --> "Add XDK nature"

After that, the project can be flashed successfully.

Regards,

Felix

0 (0 Stimmen)
RE: Bluetooth Connection
Antwort
28.02.17 23:48 als Antwort auf Felix Falk.

Hello Felix,

Your issue is related to the new release of the XDK Workbench 2.0 and I am glad to hear that you were able to found the solution by yourself.

Please do not hesitate to ask if you have further questions.

Kind regards,
Manuel

0 (0 Stimmen)
RE: Bluetooth Connection
Antwort
16.03.17 10:15 als Antwort auf Manuel Cerny.

Hello Manuel,

I can flash the DVX_demoVirtualXDK successfully. However, while I am trying to connect the sensor using VirtualXDK App in my Andriod mobile. A message dialogue say, Scanning for Device... No devices found (yet).

I am sure I have turn on my bluetooth and added the device. And the device is connectted maybe just a few second

In the XDK Device Console,  it have shown Device connected and then

INFO| XDK DEVICE 1: ATTEVT_SERVER_READ_REQ event found

INFO| XDK DEVICE 1: ATTEVT_SERVER_READ_REQ event found

INFO| XDK DEVICE 1: ATTEVT_SERVER_READ_REQ event found

.....

INFO| XDK DEVICE 1: ATTEVT_SERVER_READ_REQ event found

INFO| XDK DEVICE 1: Device Disconnected:

 

I don't know how to do now, can you help me? I need to prepare a demo tomorrow.

 

Best regards,

Alan

0 (0 Stimmen)
RE: Bluetooth Connection
Antwort
16.03.17 22:31 als Antwort auf Alan Tso.

Hello Alan,

welcome to the XDK community.
I assume your issue can have various causes.

First of all I would ask you to make sure you are running the latest version of the XDK workbench and Virtual XDK demo (on the XDK as well as on your smartphone). Make sure you added “XDK nature” to your project to run the demo correctly.

Further make sure your Android phone is capable to connect to BLE devices.
There is a pretty good thread about troubleshooting BLE issues. I would recommend to go through this thread.

Do you have the possibility to run the mobile application on an other smartphone or tablet? Android phones can be sometimes specious concerning BLE. I would like to classify if this is an issue related to the XDK or your smartphone. On the first glance it seems to be a smartphone issue.

Kind regards,
Manuel

0 (0 Stimmen)
RE: Bluetooth Connection
Antwort
24.04.17 07:37 als Antwort auf Manuel Cerny.

Hello Guys

Im new and I have the same problem. I downloaded the DVX_demoVirtualXDK and imported it in the workbench. I do all the steps in the guide and the threads above. So far so good. The projekt is flashing on the device and all lights ar off(good sign). I don´t get any error messages or such things. 

Afterwards I installed the App "Virtual XDK" on my IPhone SE, I want to conect it with it but it doesnt work.

I´m working with the workbench 2.0.1 and I don´t have any idea why it isn´t working.

 

Best regards

 

Marc

0 (0 Stimmen)
RE: Bluetooth Connection
Antwort
24.04.17 20:32 als Antwort auf Marc Seibold.

Hello Marc,


Welcome to the XDK community.
I was able to reproduce your issue, my Virtual XDK app got stuck while connecting to the XDK, too. Then I tested the app also with an android device. The Virtual XDK app was able to connect with the XDK without issues. I guess this is an issue within the iOS Virtual XDK app.

I am going to inform the developers team about it.

The only thing I can do right now is ask you for patience until a solution is available.

In the meantime, please do not hesitate to ask if you have further questions.


Kind regards,

Franjo

0 (0 Stimmen)
RE: Bluetooth Connection
Antwort
25.04.17 06:59 als Antwort auf Franjo Stjepandic.

Hello Franjo

 

Thanks for the fast answer. On the one side I´m happy to know thats not a user problem but it´s sadly that it couldn´t run. 

It would be very nice if you could give me a note if the problem is fixed. Actually it´s not so important for me.

 

Best regards

 

Marc

0 (0 Stimmen)
RE: Bluetooth Connection
Antwort
25.04.17 16:32 als Antwort auf Marc Seibold.

Hello Marc,

I will keep you updated in this thread, as soon as I am provided with new information regarding this matter.

In the meantime, please do not hesitate to ask if you have further questions.

Kind regards,
Franjo

0 (0 Stimmen)
RE: Bluetooth Connection
Antwort
27.04.17 16:09 als Antwort auf Franjo Stjepandic.

Hello Marc,

I received new information about the issue with the Virtual XDK iOS app. The issue is related to the iOS Versions beneath 10.1.1. All versions above that, for example 10.3.1, will work with the virtual XDK app.

I tested the Virtual XDK app with an iPhone SE with version 10.3.1 and it worked without issues.  
I guess you will have to update your current iOS version to get the app to work properly.

Please tell me if this is helpful and do not hesitate to ask if you have further questions.

Kind regards,
Franjo

0 (0 Stimmen)
RE: Bluetooth Connection
Antwort
28.07.17 09:36 als Antwort auf Franjo Stjepandic.

Hello Franjo,

I installed the new iOS version 10.3.3 on the iphone 5.

I can not see the XDK device on the iphone. It works with a SONY mobile phone.

Find regards

Horst

 

 

0 (0 Stimmen)
RE: Bluetooth Connection
Antwort
28.07.17 13:24 als Antwort auf Horst Raidt.

Hello Horst,

First I'd like to welcome you to the XDK community.
I tested the virtual XDK iOS app with an iPhone 6s with the iOS version 10.3.3 and it worked without issues.
Regarding your issue, did you activate Bluetooth on your iPhone? If it is not, the scan won't be able to find any BLE devices.

Please tell me if this was helpful and do not hesitate to ask if you have further questions.

Kind regards,
Franjo

0 (0 Stimmen)
RE: Bluetooth Connection
Antwort
31.07.17 05:49 als Antwort auf Franjo Stjepandic.

Hello Franjo,

thanks, Bluetooth is activated on my iPhone.:-) The SONY  mobile phone and the Iphone are able to connect over Bluetooth.

Regards

Horst

 

0 (0 Stimmen)