HololensGPS | pass GPS position or other data using Bluetooth LE
kandi X-RAY | HololensGPS Summary
kandi X-RAY | HololensGPS Summary
These projects show how to setup and pass GPS position data using Bluetooth LE from Android to either a UWP application or directly to Hololens. The samples can easily be modified to send other types of data that you might want to pass from your phone such as touch based movement and input. Based upon the great article at:
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of HololensGPS
HololensGPS Key Features
HololensGPS Examples and Code Snippets
Community Discussions
Trending Discussions on HololensGPS
QUESTION
I'm trying to send GPS-coordinates from an Android device to the Hololens by BLE-advertisments. The problem as far as i see, the events from BluetoothLEAdvertisementWatcher do not trigger on the Hololens.
I have tried copy-paste both this implementation and this on the receiver side, no received event.
This is the current implementation in Unity, i have implementated the same functions in a blank UWP-C# project and deployed directly on the Hololens with the same result.
...ANSWER
Answered 2021-May-18 at 10:06Ok, so i can now recevie advertisments on the HoloLens by running the example provedied by Microsoft. I could not receive any events at all and no updates was available in the settings, so i've reinstalled all applications in the Microsoft Store and that seems to be the solution for me. After that and a restart of the HoloLens i was able to recieve advertisements from my PC.
Another tip for other tip for people trying to recieve advertisements on the HoloLens 2. When i was able to receive advertismements from my pc i saw that the advertisments from my Android device was not recieved on the HoloLens, but recieved on the PC. The advertisments on my PC was of type NonConnectableUndirected and from my Android device ScannableUndirected. I needed to change to "AdvertisingSet" and in the AdvertisingSetParameters set both isConnectable and isScannable to false to be able to send NonConnectableUndirected. Now the HoloLens recevies the advertisments from my Android device.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install HololensGPS
Load and deploy the Android client.
Run the UWP client to see Android -> UWP
Load Unity and build a Universal Windows App to \UnityUWPBuild. Deploy to Hololens to see Android -> Hololens in action.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page