ONE means a pointer that always refers to a single object, similar to a C++
reference.
http://docs.tinyos.net/index.php/Safe_TinyOS
On Thu, May 19, 2011 at 2:27 AM, 崔晓宗 cpp...@gmail.com wrote:
ctp_routing_header_t* getHeader(message_t* ONE m) {
return (ctp_routing_header_t*)call BeaconSend.getPayload(m, call
BeaconSend.maxPayloadLength());
}
The code above is from Collection Tree Protocol.
What does the 'ONE' mean? Can anyone explain the parameter ( message_t* ONE
m ) for me? Thanks.
--
Regards,
Xiaozong Cui
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
--
-Xiaohui Liu
___
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help