Virtual XDK Unity Source
Answer
1/12/18 3:20 PM

Hi,

Im wondering if this is still available anywhere or if anybody has the source package? Would be very helpful as a resource for us.

Thanks!

Ike

0 (0 Votes)
RE: Virtual XDK Unity Source
Answer
1/12/18 4:32 PM as a reply to Athanasios Ikonomou.

Hello Athanasios,

The unity project for the Virtual XDK Android and the iOS app used to be available for download with the Virtual XDK demo.

Since a few months ago, both apps were made fully available in the respective App Stores of iOS and Android. This is why the source code for the apps is hidden now. Only the source code for the Virtual XDK demo for the XDK is available in the Welcome Screen of the XDK-Workbench.

Kind regards,
Franjo

0 (0 Votes)
RE: Virtual XDK Unity Source
Answer
2/15/18 12:13 PM as a reply to Franjo Stjepandic.

Hello,

 

I am asking myself the same question. As an Unity developer the sample code would be a great entry point for using the XDK. It's not that easy to figure out how to use the XDK in combination with Unity. As an application developer I want to concentrate on implementing the customer use cases and not how to get the XDK sensor values. 

Especially if some code samples already existed. 

0 (0 Votes)
RE: Virtual XDK Unity Source
Answer
2/15/18 5:30 PM as a reply to Yannick Dix.
Hello Yannick,

First, let me welcome you to the XDK community.

We are aware that using sensor data sent by the XDK via BLE in own smartphone app can result in issues during the implementation. At least, there were three threads so far, where developers experienced issues when attempting to retrieve data from the XDK.

Unfortunately, I am currently not permitted to provide the source files of the Virtual XDK app due to the reasons I mentioned in my last post.

Nevertheless, thank you very much for your feedback. I will share your experience with the development team to see if we can provide any sources in the future.

All that aside, have you tried programming an application to connect to the XDK yet? The VirtualXdkDemo on the XDK can be used as a starting point, since any device can technically connect to this application. Especially in native programming environments, such as Android, this should be quite simple.

Kind regards,
Franjo
0 (0 Votes)
RE: Virtual XDK Unity Source
Answer
3/13/18 6:57 PM as a reply to Franjo Stjepandic.

Are you, however, allowed to provide specifics surroudning the XDK VirtualXdkDemo Firmware? 

It is frustrating to find the BLE initialization, uuids, characteristics, command set, and protocol appear to be hidden in libBLE_efm32.a. 

I can certainly scan the UUIDs, but given the large number of characteristics and no bluetooth scanner, it is difficult to repurpose the firmware for my own front end application. 

Please advise if this information is available. 

With the SendAccelDataOverUdpAndBle demo, this data is readily available within the source and therefore far easier to integrate with another endpoint, such as a PSOC6 BLE. 

Thanks, Karl

 

0 (0 Votes)
RE: Virtual XDK Unity Source
Answer
3/14/18 1:44 PM as a reply to Karl Asha.
Hello Karl,

First of all, I would like to welcome you to the XDK community.

I can understand that the encapsulation of the implementation of the BLE lib as an archive can be frustrating when it comes to understanding the API.

In regards to the UUIDs of the sensor service I currently do not have access to this information either.

Nevertheless, I thank you for the helpful feedback on that. I will take this to the responsible developer and discuss how to resolve this lack of information, perhaps using a similar approach as in the SendAccelerometerDataOverBle example.

Kind regards,
Franjo
0 (0 Votes)
RE: Virtual XDK Unity Source
Answer
3/15/18 3:55 AM as a reply to Franjo Stjepandic.

That would be greatly appreciated. At this point one is only left with the option of using something like a Bluetooth Sniffer, and that seems counterproductive given the purpose and spirit of a $200 XDK to promote the use of this device. 

Karl

0 (0 Votes)