Skip to content

Instantly share code, notes, and snippets.

@monteslu
Created August 23, 2014 18:45
Show Gist options
  • Save monteslu/eef338a6189e965bb387 to your computer and use it in GitHub Desktop.
Save monteslu/eef338a6189e965bb387 to your computer and use it in GitHub Desktop.
setup alljoyn
msg.uuid = 'gateway uuid';
msg.token = 'gateway token';
msg.alternateMethod = 'gatewayConfig';
msg.method = 'createSubdevice';
//msg.method = 'getDefaultOptions';
msg.name = 'aj';
msg.type = 'skynet-alljoyn';
msg.options = {
advertisedName: 'test',
interfaceName: 'org.alljoyn.bus.samples.chat',
findAdvertisedName: 'org.alljoyn.bus.samples.chat',
signalMemberName: 'Chat',
messageServiceName: '/chatService',
relayUuid: '*'
};
return msg;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment