Porting alljoyn to tiny OS platform

asked 2014-09-14 21:31:43 -0700

humanmage gravatar image

updated 2014-09-14 21:35:27 -0700

If there are documents on how to porting alljoyn thin core to tiny OS platforms(such as nucleus, ucos etc. Having tcp/ip stack on it). I think many smart appliances would not have Linux or Windows running.

edit retag flag offensive close merge delete


Yep, That will be helpful! The FreeRTOS is inclueded in the alljoyn 1406 code. But there is not any documents for that!

0502lian ( 2014-09-14 23:38:42 -0700 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2014-09-16 13:34:53 -0700

Nikhil Dabhade gravatar image

Hi humanmage,

Currently there are no documents for the platforms you mentioned. Until someone makes one the major components that need to ported for porting to a new platform like the ones you listed you would have to definitely look at:

  1. ajtcl/target/aj_net.c
  2. ajtcl/target/aj_target_nvram.c
  3. ajtcl/target/aj_target_util.c

The crypto stuff would need to be looked at if the target you are trying to port for has its own crypto thing but for the most part the one under src/crypto should work as it has been our experience so far.

As an example if you have your own send and receive using the tcp/ip stack on your target they would go in aj_net.c and so on

Hope that helps in some way. Let me know if you have any issues along the way


edit flag offensive delete publish link more


Hi Nikhil, Thanks for the detailed information! I would try porting the thin core to the PLC platform with nucleus OS. Regards, Hangtian

humanmage ( 2014-09-16 18:57:30 -0700 )edit

Seems ajtcl is designed too much for Wifi, it's hard to replace wsl interfaces.

humanmage ( 2014-09-17 02:32:28 -0700 )edit

I replace the wsl interfaces with tcp/ip stack socket interfaces in aj_net.c, and solve all compile problems. Now, the ajtcl is in my PLC firmware, but unfortunately, seems the firmware size is too big, and loading is failed.

humanmage ( 2014-09-17 21:48:13 -0700 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2014-09-14 21:31:43 -0700

Seen: 704 times

Last updated: Sep 16 '14