Skip to end of metadata
Go to start of metadata
  1. install *-test at build/conf/local.conf

    IMAGE_INSTALL_append += " \
        common-api-test \
        "
  2. run dbus-session

    dbus-run-session -- sh
  3. run Service as background

    root@qemux86:/opt/tests/common-api-test# ./E01HelloWorldService &
  4. run Client

    root@qemux86:/opt/tests/common-api-test# ./E01HelloWorldClient
  5. the console message may be same as following:

    root@qemux86:/opt/tests/common-api-test# ./E01HelloWorldService &
    root@qemux86:/opt/tests/common-api-test# Successfully Registered Service!
    Waiting for calls... (Abort with CTRL+C)
    root@qemux86:/opt/tests/common-api-test# ./E01HelloWorldClient
    Checking availability!
    Available...
    sayHello('World'): 'Hello World!'
    Got message: 'Hello World!'
    sayHello('World'): 'Hello World!'
    Got message: 'Hello World!'
    sayHello('World'): 'Hello World!'
    Got message: 'Hello World!'
    sayHello('World'): 'Hello World!'
    Got message: 'Hello World!'
    sayHello('World'): 'Hello World!'
    Got message: 'Hello World!'
    sayHello('World'): 'Hello World!'
    Got message: 'Hello World!'
  • No labels