1

Alljoyn onboarding on Linux

asked 2015-09-04 01:51:06 -0800

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Hello,

I'm trying to onboard a Lifx bulb using OnboardingClient sample provided with the alljoyn sdk on Linux platform.

I need direction to proceed.

Following are the logs -

   0.961 TRACE    ALLJOYN_ABOUT_ANNOUNCE_HANDLER external ...nceHandler.cc:26 | AnnounceHandler::AnnounceHandler
   0.961 ****** ERROR ALLJOYN_ABOUT_ANNOUNCEMENT_REGISTRAR external ...cc:108 | Using deprecated version of RegisterAnnounceHandler. Network performance may be reduced.: ER_OK
   0.962 TRACE    ALLJOYN_ABOUT_ANNOUNCE_HANDLER external ...nceHandler.cc:33 | InternalAnnounceHandler::InternalAnnounceHandler
   0.962 TRACE    ALLJOYN_ABOUT_ANNOUNCE_HANDLER external ...nceHandler.cc:64 | InternalAnnounceHandler::AddHandler
   0.962 TRACE    ALLJOYN_ABOUT_ANNOUNCE_HANDLER external ...nceHandler.cc:81 | Calling AddMatch("type='signal',interface='org.alljoyn.About',member='Announce',sessionless='t'")
   1.830 TRACE    ALLJOYN_ABOUT_ANNOUNCE_HANDLER lepDisp ...nceHandler.cc:206 | InternalAnnounceHandler::AnnounceSignalHandler
   1.830 DEBUG    ALLJOYN_ABOUT_ANNOUNCE_HANDLER lepDisp ...nceHandler.cc:208 | received signal interface=org.alljoyn.About method=Announce
   1.830 DEBUG    ALLJOYN_ABOUT_ANNOUNCE_HANDLER lepDisp ...nceHandler.cc:221 | args[0]=<uint16>1</uint16>
   1.830 DEBUG    ALLJOYN_ABOUT_ANNOUNCE_HANDLER lepDisp ...nceHandler.cc:221 | args[1]=<uint16>42</uint16>
   1.830 DEBUG    ALLJOYN_ABOUT_ANNOUNCE_HANDLER lepDisp ...nceHandler.cc:221 | args[2]=<array type_sig="(oas)">
  <struct>
    <object_path>/About</object_path>
    <array type_sig="s">
      <string>org.alljoyn.About</string>
    </array>
  </struct>
  <struct>
    <object_path>/About/DeviceIcon</object_path>
    <array type_sig="s">
      <string>org.alljoyn.Icon</string>
    </array>
  </struct>
  <struct>
    <object_path>/org/allseen/LSF/Lamp</object_path>
    <array type_sig="s">
      <string>org.allseen.LSF.LampService</string>
      <string>org.allseen.LSF.LampParameters</string>
      <string>org.allseen.LSF.LampDetails</string>
      <string>org.allseen.LSF.LampState</string>
    </array>
  </struct>
  <struct>
    <object_path>/Config</object_path>
    <array type_sig="s">
      <string>org.alljoyn.Config</string>
    </array>
  </struct>
  <struct>
    <object_path>/Onboarding</object_path>
    <array type_sig="s">
      <string>org.alljoyn.Onboarding</string>
    </array>
  </struct>
  <struct>
    <object_path>/notificationDismisser</object_path>
    <array type_sig="s">
      <string>org.alljoyn.Notification.Dismisser</string>
    </array>
  </struct>
  <struct>
    <object_path>/emergency</object_path>
    <array type_sig="s">
      <string>org.alljoyn.Notification</string>
    </array>
  </struct>
  <struct>
    <object_path>/warning</object_path>
    <array type_sig="s">
      <string>org.alljoyn.Notification</string>
    </array>
  </struct>
  <struct>
    <object_path>/info</object_path>
    <array type_sig="s">
      <string>org.alljoyn.Notification</string>
    </array>
  </struct>
  <struct>
    <object_path>/notificationProducer</object_path>
    <array type_sig="s">
      <string>org.alljoyn.Notification.Producer</string>
      <string>org.alljoyn.Notification.Dismisser</string>
    </array>
  </struct>
</array>
   1.832 DEBUG    ALLJOYN_ABOUT_ANNOUNCE_HANDLER lepDisp ...nceHandler.cc:221 | args[3]=<array type_sig="{sv}">
  <dict_entry>
    <string>DeviceId</string>
    <variant signature="s">
      <string>eee4366668f86223fc833a3685a7c6de</string>
    </variant>
  </dict_entry>
  <dict_entry>
    <string>AppId</string>
    <variant signature="ay">
      <array type="byte">
        238 228 54 102 104 248 98 35 252 131 58 54 133 167 198 222 
      </array>
    </variant>
  </dict_entry>
  <dict_entry>
    <string>DeviceName</string>
    <variant signature="s">
      <string>LIFX White 800</string>
    </variant>
  </dict_entry>
  <dict_entry>
    <string>DefaultLanguage</string>
    <variant signature="s">
      <string>en</string>
    </variant>
  </dict_entry>
  <dict_entry>
    <string>AppName</string>
    <variant signature="s">
      <string>LIFX LCM Engine</string>
    </variant>
  </dict_entry>
  <dict_entry>
    <string>Manufacturer</string>
    <variant signature="s">
      <string>LIFX</string>
    </variant>
  </dict_entry>
  <dict_entry>
    <string>ModelNumber</string>
    <variant signature="s">
      <string>LIFX White 800</string>
    </variant>
  </dict_entry>
  <dict_entry>
    <string>MaxLength</string>
    <variant signature="q">
      <uint16>254</uint16>
    </variant>
  </dict_entry>
</array>
   1.839 TRACE    ALLJOYN_ABOUT_CLIENT lepDisp  .../cpp/src/AboutClient.cc:32 | AboutClient::AboutClient
   1.839 TRACE    ALLJOYN_ABOUT_CLIENT lepDisp  .../cpp/src/AboutClient.cc:73 | AboutClient::GetObjectDescriptions
   1.849 TRACE    ALLJOYN_ABOUT_CLIENT lepDisp  ...cpp/src/AboutClient.cc ...
(more)
edit retag flag offensive close merge delete

Comments

you might ask on the core mailing list. https://lists.allseenalliance.org/mailman/listinfo/allseen-core

ry.jones ( 2015-09-08 21:38:56 -0800 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-09-16 10:47:32 -0800

padmapri gravatar image

Hi

This may be due to a version mismatch. You can try onboarding the LIFX bulb by using the "Dashboard for AllJoyn(Beta)" app that is available for free from the Android Play Store. This app is the onboarding client for Android and is easy to use.

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2015-09-04 01:51:06 -0800

Seen: 216 times

Last updated: Sep 16 '15