What u can do is put a switch case in the AM.h,
for each case u want u can define the TOSH_DATA_LENGTH for various
sizes. I think this will work, May be u can use a global variable to
define the cases

jagan

On 4/26/06, Tony L <[EMAIL PROTECTED]> wrote:
Hi,

I am using the Pong application on tmote sky. I want to send different
packet size when I invoke java PingPong. For example, the mote will send 12
bytes Pong message when I invoke "java PingPong 12". Is there any idea how
to change the PongMsg.h file or PongM.nc file? Thanks.

Best regards
Tony

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

_______________________________________________
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