There is a tos/interfaces/MemAlloc.nc interface but I don't know
where it is implemented. I know I've seen mention of it on this list,
so search back and see what you can find. A good place to start is:
    http://www.moteiv.com/community/TinyOS_Information

Otherwise you can compile in a large buffer and manage it on your own.
Nothing prevents you from making a linked list -- unless the
"no-limitation" part is important -- remember you've only got around
4KB to play with...

Also if you are not intimate with C, start out easy. Go get a copy
of Kernigan and Ritchie, The C Programming Manual and memorize it.
MS


Supasate Choochaisri wrote:
Hi all,

I'm a novice in programming in nesC and C language.

I wonder that if each mote requires to create a list that can add or remove object with no limitation and send that list over the network, but nesC is not allowed the dynamic allocation, so I cannot program with Vector or LinkedList.

Is there any work around???

Thanks in advance.

Ping


------------------------------------------------------------------------

_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to