HID over GATT server on Windows IoT Core - hid

I tried to create a HID over GATT device with Windows IoT Core on my Raspberry Pi 3. I followed the documentation on https://learn.microsoft.com/en-us/windows/uwp/devices-sensors/gatt-server which is not 100% accurate for the release version of the 15063 SDK but it is the only documentation I could find.
However, when calling
GattServiceProviderResult result = await GattServiceProvider.CreateAsync(
GattServiceUuids.HumanInterfaceDevice);
I get
result.Error == BluetoothError.DisabledByPolicy
I added the Bluetooth capability to my package manifest, I'm running build 15063 and I'm using 15063 as the minimum SDK version. I tried to use the code in a Background App.
Also - I don't understand the error message. I haven't done anything with policies; I'm not running the Pro version of Windows IoT Core.

As it turns out, running a HID service is not allowed according to this Microsoft answer on github.
Unfortunately, HID is currently protected as a reserved service, which prevents it from being implemented by a 3rd party application. Please share details on the scenario, and we will discuss it internally.
The documentation for GATT Server on UWP is still being worked on (https://github.com/MicrosoftDocs/windows-uwp/issues/63)

Related

Can I use ESP8266 with edgeSDK?

I've started testing edgeSDK in a prototype IOT environment.
The idea is to connect devices with sensors and other nodes (Raspberry Pi, ESP8266, macOS, etc.) and exchange data or messages between them on the edge, trying to avoid communicating through the cloud.
(I will be also "mirroring" this exchanges in an AWS central cloud environment, to establish some comparisons/evaluations).
At this point, I have edgeSDK running on macOS and the Raspberry Pi and would like to add ESP8266 into the mix.
My Question is:
Can I get ESP8266 to work with edgeSDK? I don't see it listed as a supported platform.
If yes, which OS? (I was thinking about Mongoose, keeping the JavaScript coding and follow the standard).
Any other comments/suggestions or similar references would be very welcome!
ESP8266 is a microcontroller, which edgeSDK does not support. However, you can run a RESTFul API client on ESP8266 to call a API served by a microservice hosted by edgeSDK on a Raspberry Pi for example.

How can I add audio call to rocket chat

I installed rocket chat on my server and now I need to install some app, that will allowed me to call. So, I tried to install jitsi, but it doesn't work on my 3d domain (meet.myurl.com, rocket chat is working on myurl.com) and now I tried to install WebRTC, but it doesn't work for me. I haven't any notification, when I call. On mobile version I haven't some button to call. I don't know need I do some configuration with my server? I didn't find any documentation. Or may be someone know some easy variant to do voice call in rocketchat? Thanks
In my case. I just turned it on as in the picture. And video calls became possible on Android and Web-browser clients. There is no need to restart the server.
Server on Docker
Version 3.2.0-develop
PID 1
Running Instances 1
OpLog Enabled
Branch HEAD
Tag 3.1.2
OS Platform linux
OS Release 3.10.0-1062.18.1.el7.x86_64
Node Version v12.16.1
Mongo Version 4.0.18

Xbox Live API for Windows Phone

If my game targets both Windows, Xbox, and Windows Phone - is the API supported on Windows Phone? or should I do a check and if it's Phone not use the APIs?
You can use the Xbox Live API with any Windows 10 UWP project which includes Windows 10 Phone. There are no restrictions other than your internet access to connect to the service.
If your game is based on C++ just incorporate the NuGet package like described here: https://developer.microsoft.com/en-us/games/xbox/docs/xboxlive/get-started/creators/getting-started-uwp-vs-creators
If your game is based on C# it is a little bit more complicated as you have to include the existing API source files by yourself. You will find the source code here: https://github.com/Microsoft/xbox-live-api-csharp

IoT using Google Cloud Service IoT solutions (Weave): How to connect Raspberry Pi and lighting the LED?

I am trying to connect my raspberri pi with Google IoT Cloud solutions using Weave. I have done it already using AWS and IBM Bluemix, but could not find a way to do the same using Google Cloud. As per their documentation, it seems that some of the fies have been deprecated or not been updated.
Moreover, they have been written in C language and I am not much of a C guy. I used Python for both the IBM Bluemix and AWS to connect my Pi to IoT and then establish the subscriber and exchange messages using MQTT gateway.
Can anyone suggest anything regarding this?
Google Weave getting started
To be more specific, certain packages which I saw in error logs while installing the below step:
make -C examples/host/light
it showed in logs the message like
could not find lldap
could not find llssh2
Even after installing them in my developer machine.
Due to error above, the below command
./out/host/examples/light/light
is not executed as the location
/out/host/examples/light/light
is not created by the above make command. Any suggestions for this?
You might want to try instead to use the new Google Cloud IoT Core product instead of Weave - full disclosure, I worked on it. It's currently in public beta and enables the scenarios you're trying to address. You should be able to use MQTT to communicate to/from your device.
There's a high-level overview of the platform on YouTube as well as an industrial applications focused talk from Google I/O.

Windows Phone 7 : Socket Programming

Is there any support for TCP/IP Sockets in Windows Phone 7? I'm not having any luck finding it so far.
I want to connect to a port on a server and issue commands/receive responses
It was added in mango version.
http://msdn.microsoft.com/en-us/library/system.net.sockets.socket(v=VS.96).aspx
from the WM Phone 7 Dev FAQ:
http://social.msdn.microsoft.com/Forums/en-US/windowsphone7series/thread/2892a6f0-ab26-48d6-b63c-e38f62eda3b3
Can I use Sockets for peer to peer communication?
Windows Phone 7 Series currently does not expose the Socket classes. While the version of Silverlight on the phone follows closely the feature list for Silverlight 3 on the desktop, it is a subset of those features and will not contain all classes. (It also holds a superset of classes not available in Silverlight 3.)
According to microsoft announcment, sockets will be available in next "mango" update for late 2011. Dev tools to ship May 2011.
"...The integration extends deeper into the operating system via sockets..."
While sockets are not exposed in Windows Phone 7, the better alternative would be to use WCF.