Git Product home page Git Product logo

alljoyn's Introduction

Alljoyn

All alljoyn-related source code.

1. ControlPanelSample.

1.1 Build

Before building this ControlPanel sample, you need to build the alljoyn core and two base services: control panel and notification.

(1) Windows:

Open the solution file ControlPanelSample.sln in Visual Studio 2012 and later, and then build the two projects ControlPanelControllee and ControlPanelController.

Or use scons to build the code.

$ scons OS=win7 CPU=x86_64 MSVC_VERSION=11.0 WS=off VARIANT=debug AJ_VER=1504
$ scons OS=win7 CPU=x86_64 MSVC_VERSION=11.0 WS=off VARIANT=release AJ_VER=1504

Note that since the AllJoyn core version is 15.04, we need to define the environment variable "ALLJOYN_SRC_1504_HOME" as the path of the AllJoyn core source code before running the scons command.

(2) Linux (e.g., Ubuntu):

First set up the alljoyn version and path.

$ cd ControlPanelSample
$ source environment-setup-linux

Then use scons to build the code.

$ scons OS=linux CPU=x86_64 VARIANT=debug
$ scons OS=linux CPU=x86_64 VARIANT=release

1.2 Run the controllee and controller.

The two executables ControlPanelControllee(.exe) and ControlPanelController(.exe) will be generated in ControlPanelSample/build/${OS}/${CPU}/${VARIANT}/dist/cpp/bin. Note that by default Linux won't search the current directory for the shared libraries which will be loaded by the two executables, on Linux, we need to define the environment variable "LD_LIBRARY_PATH" as the current directory "." before running the two executables.

$ export LD_LIBRARY_PATH=.

2. CommonDeviceModel.

2.1 Build

Before building the Common Device Model (CDM) sample code, you need to build the alljoyn CDM service framework. Note that since the alljoyn CDM service framework depends on the alljoyn core, the alljoyn core will be built first when the alljoyn CDM service framework is built. The CDM build is supported only on Linux (e.g., Ubuntu):

$ cd CommonDeviceModel
$ source environment-setup-linux

Then use scons to build the code.

$ scons OS=linux CPU=x86_64 VARIANT=debug
$ scons OS=linux CPU=x86_64 VARIANT=release

2.2 Run the controllee and controller.

The two executables BingoControllee and BingoController will be generated in CommonDeviceModel/build/${OS}/${CPU}/${VARIANT}/dist/cpp/bin. Note that by default Linux won't search the current directory for the shared libraries which will be loaded by the two executables, on Linux, we need to define the environment variable "LD_LIBRARY_PATH" as the current directory "." before running the two executables.

$ export LD_LIBRARY_PATH=.

alljoyn's People

Contributors

renweizhukov avatar

Watchers

 avatar

alljoyn's Issues

Add a command "leave" for AboutClient.

When the user runs the command "leave", AboutClient should leave the session of a bus object which implements the desired interface. This command "leave" can only run if the current state is Joined.

Dismiss the NotificationPanel when the user responds/dismisses the ErrorDialog.

When the user clicks the "LAUNCH" button in the NotificationPanel, the user will see the ErrorDialog on top of the NotificationPanel. After the user selects one button ("yes" or "no") in the ErrorDialog or simply ignores the ErrorDialog, he/she still sees the NotificationPanel. In this case, it is better to also dismiss the NotificationPanel

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.