0x89 is like a channel for demultiplexing packet received/send between 
different applications.
You can use any parameter in SerialActiveMessageC.AMReceive[Parameter] 
as long as it is less than 256 and is same used by the sending 
application on the PC. If the sending application is sending to a  
channel X and you are receiving at different channel Y then you will not 
receive that packet being send. The TestSerial application use 0x89 as 
the channel to send packets (that you can change though).

-- 
best regards,

Faisal Aslam
Ph.D. Candidate
University of Freiburg, Germany
http://cone.informatik.uni-freiburg.de/people/aslam/



Shen Lee wrote:
> components SerialActiveMessageC as AM;
> App.AMSend -> AM.AMSend[0x89];
>
> What does the Parameter  0x89 mean?
>
> If I want to wire App.AMReceive to 
> SerialActiveMessageC.AMReceive[Parameter], which parameter should be 
> used in order to send packets from PC to motes over serial?
>
> Best Regards,
>
> -- 
> Shen Li
> State Key Laboratory for Novel Software Technology,
> Dept. of Computer Science and Technology,
> Nanjing University, P.R.China
> Homepage: http://sites.google.com/site/homepageofshenli
> ------------------------------------------------------------------------
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


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

Reply via email to