[Tinyos-help] Memory models of TinyOS

2009-12-14 Thread paul.m
Hello I would like to ask you. I have found page about Stack Analysis on Wiki: http://docs.tinyos.net/index.php/Stack_Analysis I am interested in the part Memory Models. But I do not know some things. There is written that at any time at most one task may be using the stack. What about case,

[Tinyos-help] Task, event, scheduler, memory

2009-11-28 Thread paul.m
Hello I would like to ask you several things: 1) I red that tasks can be posted by component with parameter (for example uint16_t) - what are these task with parameter good for? When they are used? 2) Where are events stored? When there are more events in sequence, where they are stored? Are

[Tinyos-help] TaskBasic interface

2009-11-28 Thread paul.m
Hello Could you please help me? I do not understand the TaskBasic interface in TinyOS and the post and task keywords. interface TaskBasic { async command error_t postTask(); void event runTask(); } I red TEP106 and other materials but do not understand it. There is: When a component