0

code genrated service for AJtcl is not getting attached.

asked 2015-04-08 23:05:27 -0800

this post is marked as community wiki

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

Hi, Interfaces created with AJcodegen.py are not getting attached with Router. Something is wrong with aj_helper.c helper functions but when I tried to implement the same thing as implemented on AcSample server at services/base_tcl/sample_apps/ACServerSample. They attach without any issues. Can anyone give pointers to fix this issue, just to avoid me debugging ... :P

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-04-10 02:41:18 -0800

this post is marked as community wiki

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

At last made it working,
There are some miss match between code generated ajcodegen.py and repo generated router V14.12. You can try Installing router from git checkout v14.12, and compile them with cmd : scons BINDINGS=cpp OS=linux CPU=x86_64 VARIANT=debug BUILD_SERVICES_SAMPLES=off

Compile your generated code with repo downloaded from alljoyn-suite-14.06.00a-src.tar.gz Check download page. Keep your generated code directory inside $AJ_ROOT/core/ajtcl/. add this env.SConscript('<yourdirectory>l/SConscript') to sconstruct file at ajtcl. compile with cmd scons WS=off. Now you service would attach with the router.</yourdirectory>

edit flag offensive delete publish link more

Comments

Now that you've figured out the behavior, it will be helpful to others if you can submit a patch here: https://git.allseenalliance.org/gerrit/ . Or you could file a JIRA ticket explaning the problem and the resolution here: https://jira.allseenalliance.org/browse/ASACORE

praveenb ( 2015-05-02 01:08:50 -0800 )edit
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2015-04-08 23:05:27 -0800

Seen: 25 times

Last updated: Apr 10 '15