Search form

Documentation

Running Basic Sample - Thin Windows

Prerequisites

Run Basic Client & Service

  1. Launch the AllJoyn daemon to allow thin apps to connect (in a command prompt window).

    # <TARGET CPU> can be either x86_64, x86, or whatever value you set for CPU= when running SCons.
    cd $AJ_ROOT\core\alljoyn\build\win7\<TARGET_CPU>\debug\dist\cpp\bin\samples
    
    SampleDaemon.exe
    
  2. Launch basic_service (in a command prompt window).

    cd $AJ_ROOT\core\ajtcl\samples\basic
    basic_service.exe
    
  3. Launch basic_client (in a command prompt window).

    cd $AJ_ROOT\core\ajtcl\samples\basic
    basic_client.exe
    

The output from basic_client should look like this:

basic_client.exe
'org.alljoyn.Bus.sample.cat' (path='/sample') returned 'Hello World!'.
Basic client exiting with status 0.

The output from basic_service should look like this:

basic_service.exe
000.000 aj_guid.c:76 LookupName(): NULL
Session lost. ID = 3629706635, reason = 2AllJoyn disconnect.
For future news and updates, please follow or visit https://t.co/MKr1Z9NPji
7 months 3 weeks ago