How to get the Matter device abilities list by Google Home Service Mobile SDK? - google-home

By Google Home Sample App for Matter, it seems nothing we can know about the device clusters from the device after commissioning.
// commission
Matter.getCommissioningClient(context)
.commissionDevice(commissionDeviceRequest)
After commissioning, it did the addDeviceState.
val newDeviceState =
DeviceState.newBuilder()
.setDeviceId(deviceId)
.setDateCaptured(getTimestampForNow())
.setOnline(isOnline)
.setOn(isOn)
.build()
But why it knows there is a setOn() for the device? How to know what clusters the device has?
I have read the Google Play service Matter API but there are only commission and share APIs. Are there Matter devices setting function list?

As mentioned in https://developers.home.google.com/samples/matter-app?hl=en
Note: The sample app currently only supports devices that have the On/Off server attribute, for example lights, smart plugs, and fans.
Due to this, the app always assumes that any Matter device that is commissioned via GHSAFM supports the on/off cluster.

Related

Is it possible for a 3rd party app to video call a teams user?

I would like a Teams user to video call an other Teams user using external hardware (usb camera) and using mobile devices (android first).
What can Teams apps do?
...
Collaborate on items in external systems. One of the core scenarios
for a custom Teams app is to bring information or items into Teams
from some other place, and have a conversation around it. You can push
information into Teams, enable your users to search for and pull it on
demand, or make it available in an embedded web view.
Source
I guess I could develop a small web application and a server which could act as a bridge.
Android app streams a video to my webserver, teams web app loads video stream from my server. Could that work?
I've found some other people asking similar things, and they did not get an answer.
https://techcommunity.microsoft.com/t5/Microsoft-Teams/SDK-for-Microsoft-Teams/m-p/261008
The easiest would be, if teams had a real sdk, but it seems to me, that it only has support for very limited "plugins".
Currently This is not supported in Teams.

Automating the Configuration Process Of Beacons

I am working on a IoT Project, where I need to deploy 700 beacons in different parts of the country.
Whenever a user(assuming the required services are enabled on the user's phone), the user should get a silent notification of a link to a webapp and if there's an Android/iOS app(for registered users) it would display an update notification.
I have implemented this functionality, so that's already done.
My problem is I have to configure every single beacon manually, which I would like to get it done via a script or an API, because there's a possibility I may have to do the same for 1000+ beacons.
I am using RadBeacon Dot Beacons
Configuration Process Details:
Configuration Doc Of Beacons
Configuration through the Beacon App
Setup a Google Nearby Beacon
How can I automate the entire configuration process for both Android & iOS ?
Little guidance will be highly appreciated.
Thanks
I would email or call support at Radius Networks and ask if you can get access to a private SDK to configure your beacons for iOS, MacOS or Android.
If you can get your hands on such a SDK, you could build an iOS, MacOS or Android app that does all of these configuration steps. You will still, however, need to put each RadBeacon Dot into configuration mode one by one and wait for your custom configuration app to connect via bluetooth and configure the beacon. Since bluetooth connections can be a bit finicky, this might take 5 secs or more with retries. So best case scenario, you're talking 5 secs x 700 = one hour to get them all configured.
You'll also have to account for the time it takes you to write the config app and debug it until it is working reliably and as quickly as possible. I have lots of experience with these kinds of apps, and would expect it to take me at least 8 hours, probably much more. So the best case level of effort to get all beacons configured is 9 hours.
The alternative, of course, is to train an intern (or your little sister) to do this manually, and pay him or her for the trouble. If you can get all these manual steps done in 45 seconds, doing 700 of them will take a little less than 9 hours -- faster!

Eddystone, Is it possible to fetch the beacons location?

I checked that the Beacon location information(latlong etc) can resister to the google restoration server. so now I want to make an Android application that displayed roughly current location to the user device. From Eddystone specification point of view, is it possible to get LatLong of nearest beacon from restoration server? if possible, could you let me know which API should i use?
thank you for your kindly support
Most Eddystone beacons will be registered(I assume that will be the practical approach for most at least) on Google Cloud using Proximity Beacon API. See the reference part for usage and your options.
I believe it's not possible to get "a nearest" beacon just by using lat-long unless that beacon belongs to you(registered by yourself), you will probably going to need some kind of observation data first, to obtain further information about the beacon.
Here is the Github repo with iOS/Android sample applications to get you started.

Access to Google Nexus 4 Secure Element (SE)

I’m working on technical part of a project for big bank and looking for information about using Secure Element (SE) that is embedded into Google Nexus 4.
What is a process to get access to SE?
I mean how to initiate a process with Google.
You may try to contact them directly, but Google will not give you access to (embedded) SE: they don't want competitors on their wallet application (specially on Android systems).
You can do this, current android version(4.0.4) has enabled access to SE without having support of platform vendor.
Please refere
http://nelenkov.blogspot.sg/2012/08/accessing-embedded-secure-element-in.html
Depends what your ambition is, can you elaborate ? Loading an application of your own onto the secure element will require crypto keys that only Google can provide, and they probably never will, for many reasons.
Alternatively, you should be able to do the same with a SIM. It only takes a few tools to load and configure an application on a test SIM (with test SIM), then you can fit it into a phone and access it through the Open Mobile API (see the SEEK for Android open source project) which is available on many devices.

Building a Phone7 application that operates differently per mobile network operator

I have a product live on a network operators portal at the moment, it is integrated with the operators SMS/MMS messaging and billing interfaces. I would like to build a version of this application to run on Windows Phone 7 devices.
I'd like the application to run for all users but for users that happen to be on the network operator I've integrated with I'd like to offer them a better experience (direct operator billing and sending through the operators MMSC).
An alternative would be to limit the availability of the app to users with handsets on the operator (like the Android marketplaces that exist for the major cell network operators like Verizon and Sprint).
Is any of this possible on the Zune Marketplace for apps and/or on Phone 7 devices?
Thanks
To accomplish this I would suggest liasing with your network operator contacts.
You'll need access to the APIs which they have access to (and the public does not through the 3rd party SDK).
You may also want to ship an app with phones they supply also.

Resources