I'm getting started with contiki on the sky mote through a project. I'm trying to get over the air programming to work right now.
I've been looking through examples/sky-shell-exec and apps/shell/. I feel that I need some combination of the functionality that is provided through sky-shell-exec and possibly test-deluge or codeprop. However, reading through the code has lead to me some conceptual roadblocks concerning what code needs to be implemented and what code is already provided in order to get some over the air programming functionality (I'm very new to this and haven't had much embedded systems exposure at all). I apologize for my questions being at sometimes vague and unclear but this is due to my general confusion and don't really know how to proceed any better. I am mainly looking to get something small (example program) working right now that simply can send code to a mote and then that mote be reprogrammed using the sent code (e.g. sent code maybe being just hello-world).
1) How do I simply send code to the mote over the air? I feel like test-deluge is the "wireless" transmission part of the over the air programming problem, but don't fully understand it from the code.
2) What code should be running on a mote in order to receive over the air code?
3) How do I know where this code is stored and then know how to load it? I feel like this step is the sky-shell-exec more or less but again don't fully understand it from the code.
4) I'm reading a lot of things around the web saying that over the air programming is difficult if the code base is large since ram is limited. Where in general am I storing my code when it is wirelessly transmitted and how do I know/verify that it is there? Also, how can I simply know if I will have memory storage problems due to code size (eventually for the project a large code base will need to be transmitted and not just single modules)?
I apologize again for any unwarranted ignorance and I realize there is another thread similar to this one but I've found that I need a more detailed explanation of each component that is mentioned there (thread is: On the Air programming for Contiki).
Thanks
contiki
? – Detrude