On Thu, Apr 10, 2008 at 6:55 AM, Hazem Al- Ojeh
<[EMAIL PROTECTED]> wrote:
>
>
>  Hi all,
>
>  I am trying to follow lesson 12 instructions to build the EasyCollection
>  example, so I copied the file shown there, but I keep getting a bunch of 
> errors,
>  the first one is:
>
>  EasyCollectionC.nc:40: too many arguments to function 'Send.getPayload'.. So 
> is
>  the code given there missing something??
>

You need to upgrade your TinyOS to the latest version because the Send
interface has been changed. Specifically getPayload used to be:

  command void* getPayload(message_t* msg);

and now it is:

  command void* getPayload(message_t* msg, uint8_t len);


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

Reply via email to