Using about with alljoyn-js

asked 2015-01-26 00:59:48 -0700

PierreR gravatar image

updated 2015-01-26 06:56:12 -0700

I'm playing with alljoyn-js and I think it's a great prototyping plateforme when you need to make some quick experimentation with alljoyn. What I did not understand yet, is how to get About information for remote objects. I can find objects implementing a ginven interface using

    AJ.findService('my.service.interface', function(svc) { ... } );

but how can i find the content of the full About map for objects which implement this interface ? Also, I'm using session-less signals but I don't see how to the get About information for the emitter of a signal I just received.

thanks !

PS : since asking, I've seen that about is specifically mentioned here, but it stll does not explain how to access this information.

edit retag flag offensive close merge delete


ping : any news on this ?

PierreR ( 2015-01-29 01:09:29 -0700 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2015-01-29 13:42:36 -0700

jprestwo gravatar image

updated 2015-01-29 14:21:13 -0700

Getting the full about object data is currently not available in AllJoyn.js. Hiding About was a design decision to keep AllJoyn.js simple (most users have no interest in the complexity of handling an about signal). Exposing About could be done but first it would be good to know exactly why you need the About data and what you would be using it for. Regarding the emitter of the SLS can you use JSON.stringify() on the service object from the SLS?

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

Question Tools

1 follower


Asked: 2015-01-26 00:59:48 -0700

Seen: 71 times

Last updated: Jan 26 '15