Community news, upcoming events and general discussions
Threads: 36 Posts: 88
Get technical support from the community
Threads: 1397 Posts: 7500
Threads: 18 Posts: 64
Tell us how to make XDK better!
Threads: 36 Posts: 119
Share and discuss community member projects
Threads: 76 Posts: 337
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,
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:
Please to not hesitate to ask if you have further questions. Kind regards, Manuel
Thank you !
I am going to work on it. If I stuck in sth, I will let you know by asking :)
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
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
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
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
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?
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.
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
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: Device Disconnected:
I don't know how to do now, can you help me? I need to prepare a demo tomorrow.
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
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.
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.
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.
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
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.
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.
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.
thanks, Bluetooth is activated on my iPhone.:-) The SONY mobile phone and the Iphone are able to connect over Bluetooth.