0

how to compile programs using controlpanel service framework

asked 2014-06-20 01:38:04 -0700

JeremyLi gravatar image

updated 2014-06-20 01:43:24 -0700

fisrt, i can't find the samples about how to use the controlpanel service framework in the thin client version. i want to compile a program using the controlpanel service framework, but i can't find out how to compile it. i found some docs in the allseenalliance.org , but it won't work. my alljoyn sdk' s version is 14.0.2

edit retag flag offensive close merge delete

Comments

Can you please clarify the platform? Is this for emulation on Linux or are you trying to run this on an MCU?

bspencer ( 2014-06-20 12:16:18 -0700 )edit

yes, i am trying to run this on an MCU. it's a linux running on the mips mcu. i have the cross compiler, but i can't find the examples. and if i write an example myself, i don't know how to compile it, which header files and c source files do i need?

JeremyLi ( 2014-06-22 19:57:34 -0700 )edit

what if i want to call some functions supported by the linux kernel? how to do that?

JeremyLi ( 2014-06-24 02:34:22 -0700 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-06-26 09:52:14 -0700

waynelee gravatar image

If your Linux system is very minimal (e.g. not that much RAM/ROM), then AllJoyn Thin (AJTCL) is the right approach. However, if you Linux system has more memory and storage, then we recommend AllJoyn Standard as it provides more features.

Here are the steps I recommend:

  1. Follow this doc to install the prerequisite tools.

  2. Get the source. I think it's easiest to use repo to download the source.

  3. Compile the AC Server Sample.

Take a look at the AC Server Sample app to see how to use the controlpanel APIs.

Hope this helps.

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

Question Tools

Follow
1 follower

Stats

Asked: 2014-06-20 01:38:04 -0700

Seen: 483 times

Last updated: Jun 26 '14