Open source project AllJoyn basic services

Source: Internet
Author: User

AllJoyn basic services include the Onboarding,notification and Control panel three major items. These three are also the most basic, most common parts of writing apps.

Onboarding

Provides a standard way for devices to access a WiFi network.

There are two roles defined here:
Onboarder (Login): An app that runs on a smart device.
Onboardee (Lander): A device that is ready to be added to the network.

Basic process

    • Onboarder discovery device needs to log on to the network

    • Connection, and provide configuration information

    • Onboardee Verify that you can log on to the network and notify the Onboarder results

Notifications

Notification Service Framework functions: Send and receive people's readable information through simple and standard interfaces.

Characteristics:

    • Its contents are in text format

    • It works in a way that spans devices, across systems, and across connections.

    • Send-side notifications can be prioritized

    • The receiving side can configure the type of receive notification.

An example of a refrigerator door that is not closed:
When the refrigerator door is not closed for more than 5 minutes, the refrigerator will send this information in the form of notification to the TV.

This is notification's frame diagram.
Here you can see more clearly where the notification service is located throughout the system. It provides an interface to the upper-level app, which can be communicated to the core in one place in the middle.

Control Panel

It is primarily an infrastructure interface that provides remote access to devices.

    • Among them, the system is divided into the controller and the controlled person.
    • The control Panel Framework provides control interfaces externally by the controller.
    • The controller uses these interfaces to send commands to the controlled person and to obtain the return result.

An example of controlling the temperature of a refrigerator

The app sends instructions to the fridge to get the current temperature, the fridge returns to the current temperature, and the app commands to change the refrigerator temperature.

Frame diagram for Control Panel
As you can see clearly, Control panel is completely defined in the upper-level app, and the interface is also provided by the app.

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Open source project AllJoyn basic services

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.