Custom Events and Event Action Browser

asked 2015-03-12 10:18:40 -0700

iker gravatar image

updated 2015-03-12 10:19:27 -0700

Hi All,

I am developing a custom service with custom events. I have seen the example codes and i think i have added all the descriptions and info on interface.. my code is based on lighting controller SceneManager so my signals are sent with sessionless flag.

I see the events at Event Action Browser and i create the rule but it does not work and i get this error on adb logcat..

E/ALLJOYN ( 5929):   89.638 ****** ERROR ALLJOYN external          ..._core/src/XmlHelper.cc:286 |  0x9039
E/ALLJOYN ( 5929):   89.655 ****** ERROR ALLJOYN external          ..._core/src/XmlHelper.cc:286 |  0x9039
E/ALLJOYN ( 5929):   89.754 ****** ERROR ALLJOYN external          ..._core/src/XmlHelper.cc:286 |  0x9039
E/ALLJOYN ( 5929):   96.055 ****** ERROR ALLJOYN lepDisp1_1        ...e/src/Message_Parse.cc:596 |  0x9047
E/ALLJOYN ( 5929):   96.055 ****** ERROR ALLJOYN lepDisp1_1        ...e/src/Message_Parse.cc:675 |  0x9055


edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-03-16 02:02:09 -0700

iker gravatar image

I found the problem.. i gave the same description and id to the object and to the interface, in the registration and on the translator.. i have fixed and now works fine.

edit flag offensive delete publish link more


Hi, Sorry for hijacking the thread. I'm looking into E&A and I'm trying to find example code. Where did you find it?

markus_andreasson ( 2015-04-23 07:14:47 -0700 )edit

In lighting service_framework, inside SceneManager.c/h there is a SceneObject that is an interface with events and actions. You have to add descriptions and translator method to make signals and methods become events and actions. https://git.allseenalliance.org/cgit/lighting/service_framework.git/tree/standard_core_library/lighting_controller_service

iker ( 2015-04-23 09:00:13 -0700 )edit

Thank you iker

markus_andreasson ( 2015-04-24 01:17:22 -0700 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2015-03-12 10:18:40 -0700

Seen: 188 times

Last updated: Mar 16 '15