Revision history [back]

click to hide/show revision 1
initial version

AllJoyn About is a mechanism by which applications can advertise the interfaces they implement and can discover other applications.

When using Thin Core Library, the following need to be done to implement About:

  • The object + interfaces implemented that you want to advertise should be marked with flag AJ_OBJ_FLAG_ANNOUNCED
  • Using AJ_AboutRegisterPropStoreGetter, register a function (AboutData is the newer term for the older PropertyStore that has been being deprecated). This getter function is used when sending an About announcement / when responding to GetAboutData method request.
  • To send an announcement, invoke AJ_AboutInit with a session port that your application has already bound (using AJ_BusBindSessionPort api)

A couple of examples written using Thin Core Library using About are:

  • https://git.allseenalliance.org/cgit/core/ajtcl.git/tree/test/svclite.c
  • https://git.allseenalliance.org/cgit/core/test.git/tree/tcl/tc-sc-interaction/AboutTest.cc