Community news, upcoming events and general discussions
Threads: 27 Posts: 68
Get technical support from the community
Threads: 760 Posts: 4132
Threads: 15 Posts: 54
Tell us how to make XDK better!
Threads: 34 Posts: 112
Share and discuss community member projects
Threads: 22 Posts: 120
after flashing the demo to my XDK the app do not find my device.
What can be the problem?
Thanks for your help.
Unfortunately I am not able to reproduce your issue, since scanning and finding an XDK device on my Android and iOS and the newest Virtual XDK app is working.
I think the device scan might have gotten stuck. I’d suggest, you keep the XDK turned on (with the Virtual XDK Demo flashed and running), and terminate the Virtual XDK app process entirely on your Android or iOS device. Then, start the Virtual XDK app again and try scanning it again.
If that does not work, the issue might lie in the fact that your android or iOS device does not support Bluetooth Low Energy (BLE), but the Virtual XDK requires it.
Therefore I recommend to verify if your device is supporting BLE.
Please tell me if this is helpful and do not hesitate to ask if you have further questions.
Kind regards, Franjo
Thanks for your help now it works.
But i have one more question.
Is there any easy possibility to safe the data at the SD-Card or on the device where the app is working?
I am glad to hear that it is working now.
The Virtual XDK demo is an open demo implementation and can be easily extended to suit your purpose.
To include the SD card saving functionality you need to extend the Virtual XDK demo application and implement it manually.
If you like to do so, you can use the SDcardExample of the XDK-Workbench as starting point.
Please do not hesitate to ask if you have further questions.
Thanks for your answer.
In the app is no function integrated which saves the data on csv file or something like that, right?
you are correct, there is no such functionality out of the box. Nevertheless as I mentioned, storing data with the Virtual XDK app would require extending the demo.
If you are not limited to the Virtual XDK app, I would recommend to take a look a the Datalogger demo which provides exactly this functionality.
Please let me know, if this was helpful and do not hesitate to ask if you have further questions.
Ich würde gerne die Daten Live mitverfolgen mit dem VirtualXDK und gleichzeitig auf die SD-Karte speichern.
Mein Problem ist jetzt wo ich das Speichern auf der SD-Karte in den Programmcode integriere?
am Besten wäre es, die Speicherfunktionalität der SD Karte in der Funktion sampleAndNotifyHighDataRate() zu implementieren. Dort werden die Messdaten der Sensoren über explizite Funktionen wie z.B. readAccelerometerData() gelesen und für die Übermittlung per Bluetooth in einen sendBuffer geschrieben. An dieser Stelle wäre es vorteilhaft, das Schreiben auf die SD Karte eingefügen.
Ich hoffe, dass hilft dir vorerst weiter, falls du weitere Fragen hast, zögere bitte nicht einen neuen Betrag zu erstellen.
Mit freundlichen Grüßen, Franjo
Dear XDK community members,
Johannes asked where he can insert the SD card functionality in the Virtual XDK demo to store data to the SD card while observing live data.
I recommended to integrate the functionality within the sampleAndNotifyHighDataRate() function. The data is read from the sensors with explicit read functions like e.g readAccelerometerData() there and stored in a send buffer. Thus I recommended to insert there the writing on the SD card functionality.