Need tutorials on developing the chromecast built-in device - google-cast

I'm looking for tutorials or developers guideline docs to develop the chromecast built-in devices. Actually, I want to know software structure and how to get required libraries or sample codes on chromecast built-in in a linux device with screen.
I've already looked at the google cast SDK documentation from https://developers.google.com/cast/. However, it contains content about application and streaming services. I have not found what I want yet.
for example,
required DRM (widevine or playready)
media pipeline integration
device discovery (DIAL???)
application lifecycle management (if needed)
I expect how I can get documentation and resources on what I need to understand for "google cast built-in device" development. Thank you.

Related

Finding the custom GATT services and characteristics of Movesense sensors

I’m using the custom gatt package found in movesense-device-lib/samples/bin/release/Movesense-custom_gattsvc_app_w_bootloader.zip for my project. I can't create my own package since there's a bug in the mac compiler.
I really need to the service and characteristic UUIDs for ECG (in fact if I could get the services/characteristics of the other features in the package that’d be great too)
There're links to a sites that give the uuid for certain characteristics and services, such as these ones:
GATT Services
GATT Characteristics
Unfortunately, since the movesense package is custom made, it uses different UUIDs. I tried backtracing them by writing a function on my client that pulls an arraylist of the services and the characteristics, but no luck :(
The custom_gattsvc_app is a sample app that shows how to use Movesense CustomGATTService to implement your own (or someone elses) GATT service. The sample shows how to do that by implementing the (partial) "Medical Thermometer" GATT service, nothing else.
To access all of the Movesense API over BLE you'll need to use the movesense-mobile-lib or implement your own protocol over your own GATT service. I'm not aware of any 3rd party ECG GATT service specifications.
The movesense-device-lib release 2.0 will include a sample that provides access to most of the Movesense API services and easy expansion over a simple GATT protocol.
Full Disclosure: I work for the Movesense team

Progressive web app beacon search

Is it possible to search for beacon data (uuid, url, ...) with a progressive web application using just web technologies that is without using native mobile technologies (Android, ios, ...)?
Thanks in advance.
Unfortunately, this is not possible as of July 2020. While Google has been working on the WebBluetooth project to bring support for many bluetooth operations to the browser, at least in Google Chrome implementations on Android 6+, Mac or ChromeOS.
Scanning for beacons is not yet possible as of this writing. The API requires that the OS scan for devices matching a requested criteria, and then let the user choose a device to connect to using a user interface. This essentially rules out beacon detection.
Bluetooth scanning APIs are still in draft form here.
EDIT: The APIs mentioned by #zurfyx in the answer below allow you to scan for and connect to an advertised GATT service, but do not allow you to read the data in the advertisement. This is a critical distinction, as reading the data in the advertisement is the key capability required for actual bluetooth beacon detection. That capability is missing from that API. Without that capability, it is impossible to detect a beacon, it is only possible to connect to a BLE device that might be an Eddystone or other service advertisement-based beacon.
UPDATE July 2020: Safari will not be getting any WebBluetooth APIs at all due to privacy concerns, according to a June 2020 announcement by Apple This makes Bluetooth scanning impossible on iOS we apps for the foreseeable future.
As of July 2020, Chrome does not support scanning arbitrary advertisements. See status here: https://github.com/WebBluetoothCG/web-bluetooth/blob/master/implementation-status.md
Disclaimer: I wrote eddystone-web-bluetooth (a library which makes it easy to read and write to an Eddystone device). github#eddystone-web-bluetooth npm#eddystone-web-bluetooth
It is possible to scan for Bluetooth devices by using the Web Bluetooth API (currently supported only by Chrome).
By using Bluetooth GATT service, you can connect to Eddystone devices and send/receive data by communicating following their public specifications (which are basically a list of request codes, and the format in which to send and expect their responses).
These services include information such as:
URL
Advertising interval
Lock state
and more
By using the Bluetooth standard information you can get to know the most generic device information, such as its id and name:
navigator.bluetooth.requestDevice
#beaufortfrancois wrote the probably first Eddystone Web Bluetooth configuration code (source code / demo), so it is probably worth a read if you want to dig more into this. I learned a lot from it.

VoIP android studio

Hi I'm not very good with coding but I'm trying to learn as much as I can. I've been looking for tutorials on how to create an internet call app on android studio. So far I haven't found any. If anyone knows a process that could guide me I would very much appreciate it.
You can use android's own implementation
Session Initiation Protocol
from docs
Android provides an API that supports the Session Initiation Protocol
(SIP). This lets you add SIP-based internet telephony features to your
applications. Android includes a full SIP protocol stack and
integrated call management services that let applications easily set
up outgoing and incoming voice calls, without having to manage
sessions, transport-level communication, or audio record or playback
directly.
or other third-party libraries like following.
1.Pjsip
2.Mjsip
3.doubango
4.belle-sip
Hope it helps..
P.S taken from this answer
refer this also..
Happy Coding :)

gcloud PubSub library for embedded devices

I am working on IoT project over google cloud. I use Publish/Subscribe to allow devices contact each others. I developed the backend system using nodejs, then I will develop Mobile app that will use google library to publish/subscribe.
The problem that I face now is that. Does google have any C/C++ Library for contacting PubSub/googlecloud API or not, and if not, is there any alternative way to keep embedded devices (programmed in C/C++) updated with mobile applications actions.
Note: I need real-time control between mobile app and embedded device.
Thanks
Google Cloud Pub/Sub has a HTTP/JSON based API (under the API Reference tag in the sidebar), so you can roll your own library in this case.
The client APIs that Google currently supports are listed here. If you can run Go or Java on your embedded device (both a lot less common than C/C++ on embedded devices, and usually only supported if you stretch the definition of "embedded"), you can have a fully-supported client library.

How to go about developing and deploying an SCEP/MDM infrastructure for the Enterprise iOS program

I am trying to use the new OTA enrollment and device management capabilities in iOS 4 to provide wireless app distribution for the enterprise. So far, I have come across a lot of third party MDM providers that seem to charge by the device. I don't believe this is something very hard to do on our own, especially as a prototype.
My search has led me to some open source software for SCEP. Together with the OTA configuration reference from Apple, I want to believe that the next step would be to actually implement an MDM server. Now, the WWDC talk had slides on various MDM queries supported by iOS 4, including installing and removing provisioning profiles, but there's no reference implementation or even exposed API that I could find.
Does anyone have any experience trying to fully develop an enterprise distribution and management system without third party software?
MDM providers that I've seen are acting as SCEP proxies so that you don't have to expose your certificate server to the internet.
The best open source SCEP server I've found so far is Dogtag (http://pki.fedoraproject.org/wiki/PKI_Main_Page)
woops I was meaning to comment.. not answer.

Resources