Hololens 2 sometimes detects miracast devices - c#

everyone.
I´m trying to share hololens 2 screen to surface and pc but most of the time those not appear in the list of connect.
I dont know if this could be because the hololens and the other devices are in different networks or is for something else?
I tried to configure connect app in hololens, pc and surface, also I updated windows version for all of them and both didnt works
please HELP!!!
Thanks.

Related

Bridge connection between Hololens, Android and Haptic Vest to send events?

I have an issue connecting my Unity application on Hololens to a (haptic vest) Bluetooth. The problem is there is no SDK for Hololens to connect to the Haptic vest.
**- I want to maintain a connection between my HoloLens unity app and the haptic vest but cannot figure out how.
There is an Android SDK for the Vest but I am confused about how to use it with my application. For example, I connect my Hololens to Android, and then I send events from my unity application to android to play a specific pattern because the android Bluetooth pairs with it only.
I read about sockets TCP or UDP connection but I have no idea how this can be achieved. I am not an advanced-level programmer but just a rookie.**
Please help me regarding this issue, been stuck now for a month...
Does the haptic vest only provide Android SDK? It is easier if there is an C# SDK.
However, it is possible If you want to have an Android device to host the bridge between HoloLens and the vest.
You may simply add a TCP/UDP Client on HoloLens. For the Android project, basically there are 2 things to do. Adding a TCP/UDP Server and implementing the haptic vest SDK. There are plenty of steps to build the system and the configuration steps for players may take long. The player needs to open Android app to pair the vest, then start TCP/UDP server. Then the player open HoloLens App, find the TCP/UDP server in the local network (maybe manually input IP address). The game starts when the connection is established.
Apar from HID and Audio devices, HoloLens 2 supports the following Bluetooth APIs:
GATT
Server and Client
RFCOMM
If your vest doesn't support accessing via the above APIs, you may need to refer to the previous answer to set up the connection. If you have further questions on HoloLens Bluetooth, you may submit a support ticket via http://aka.ms/hololenssupport

How to use Win10 IoT Core on Multiple Displays?

I am trying to find a way to have my Win10 IoT Core system display on a local screen via HDMI (this part is fine), as well as be accessible through remote access and be mirrored.
The idea is that it can be remote accessed and controlled from another computer. And if needed, the application can be mirrored purely for a view-only display.
Would any code offer me the ability to remote access and/or mirror my application over the network to other devices.
I have already tried the Win10 IoT Remote Client and I get the issue where it just displays a white screen but still allows my mouse and keyboard input to go through remotely. I am looking for an alternative way to do this.
Any insight to either of these questions would be greatly appreciated.
What device were you using, Raspberry Pi, DragonBoard or MinnowBoard or other device? And which build of Windows IoT Core were you testing the Remote Client? From release 16299, Remote Client does not support for Raspberry Pi. Please use a board with accelerated graphics such as Minnowboard Max or Dragonboard or attach a monitor for local display, and remote client works. Please refer to the known issue in the release note.
If you were not using Raspberry Pi, you can refer to the troubleshooting, here introduced how to troubleshoot the white screen issue when trying to connect.

Running DevicePicker class in Kiosk UWP App

currently im developing a UWP Kiosk app. This app needs to print to a PosPrinter (EPSON TM-T20II) which is connected via ehternet to the network, The app runs in another pc connected with wifi to the same network. I have created the app using a DevicePicker class just like this example from Microsoft
PosPrinter c# configuration sample
in this example you open a poppup window that lists all your connected devices and filters the Printer. You can choose it and you will have a connection to that printer. The problem is when im using the app in Kiosk Mode in Windows 10 this windows with all the connected printers will not show up, and then i cannot stablish any connection. I have look into the set-multiple-kios apps option for windows 10, but i dont know how to stablish a path to the class known as DevicePicker to allow his functionality with my Kiosk app.
DevicePickerClass
Multiple-Kiosk-Apps
I have also tried to use PosPrinter.GetDefaultAsync() method to get the Printer directly but it always returns null, i also added the deviceCapabillities in my appxmanifest.xml
So if anyone could provideme with a hint or something i will be very grateful.
I found a solution by using the class FindAllAsync(DeviceClass), this return a collection with all connected devices belonging to that DeviceClass(in my case PosPrinter), after that i just use the Deviceinformation.id to pair the device with my program, like this: Posprinter.FromIdAsync(String deviceId), This way the device picker wont appear, so the Kiosk App will just find the Device and then will pop up a permission asking to Allow the device or not.

webservices smart device c#

Hello guys I really have a big problem. Everytime I try to consume a webservice from an emulator, I always receive the message "Unable to connect to remote server". I already tried installing mobile device center and cradle the emulator. I literally tried doing all the stuff I see on the internet but no success. Hope you have new suggesion. Thanks in advance! By the way even my professor cant fix this problem LOL
Ensure, that you're connecting to the My Work networks in control panel, not the My ISP and craddle the emulator with the emulator device manager (you'll find it under Tools in Visual Studio 2008). Verify, that you can access your webservice from the mobile version of IE. I'm currently not at work, so I can't give you a more detailed description.

can c# be used for communicating mobile and pc?

As a minor project in my degree I would like to communicate mobile and pc .I am interested to communicate through bluetooth is it possible to do so in c#?
If possible please provide me list of application or hardware i would requiere in order to do so.
thanks in advance
If (and it's a big if based on the lack of information in your question) you mean "How do I write an app on my PC, using C#, that can communicate with a Windows Mobile device that is connected to my PC via ActiveSync or WMDC" then the answer is RAPI. A free, open-source managed wrapper for it is here.
Yes its possible if its with windows mobile phone or pocket pc with bluetooth. You need a bluetooth enabled computer and mobile phone. For dev you need to download the windows mobile 6 sdk.
Then developing of the communication between desktop app and mobile phone app, you can use the 32feet.Net is open source.
When you download it and installs (well it unpacks to program files folder) you will have the dll that you make reference to in Visual Studio. Also you will get some sample apps. One of them is a Bluetooth Chat that works in Desktop, Pocket PC and SmartPhone.
Another option you could use is set up a web service that acts like an intermediary between the device and your machine. One huge benefit of this is that no longer are you bound by the distance requirements of bluetooth.
Of course if you're trying to build some sort of proximity service (do z when item x is 3 meters from item y) then bluetooth is probably the way to go.

Categories