1

Building Apps for OpenWRT

asked 2015-07-13 04:21:48 -0700

TheHindenburg gravatar image

I was thinking about writing a gateway application between Alljoyn and some other protocols and thought I should put the Alljoyn Service App for this on an OpenWRT router.

So I'd like to know:

  • What would be the recommended Alljoyn Library to write the Service app on for OpenWRT? Standard or TC?
  • Does App code remain the same if I want to run a Standard or Thin Core app on OpenWRT?
  • How would I go about building this app for OpenWRT?

Thanks for the help.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-07-29 01:32:26 -0700

praveenb gravatar image

You might want to take a look at the existing Gateway project here.

Both Standard Core C++ and Thin Core C implementations run on OpenWrt. However, based on what you mentioned, Standard Core C++ would be more suited to your needs. In fact, Gateway project uses Standard Core C++ library.

Given that both Standard Core and Thin Core library are aimed at different purposes, it is unlikely that application code remains same when using against SC / TC. That is app code would likely be different when using SC and TC.

Building for OpenWrt, whether using SC / TC, can be done using CROSS_COMPILE options made available in respective SCons files.

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

Question Tools

Follow
1 follower

Stats

Asked: 2015-07-13 04:21:48 -0700

Seen: 247 times

Last updated: Jul 29 '15