[Tinyos-help] Can i simulate MAC protocal in tossim ?

刘晓杰 ^-^ happyaspen at sjtu.edu.cn
Mon Oct 16 00:55:46 PDT 2006


hi,	everyone

I am trying to simulate mac protocol in ptossim for its code can be used in the mica mote directly. 
	
The mac protocol i want to simulate is SMAC(http://www.isi.edu/ilense/software/smac/) .However, though the author
did provide the tinyos source code ,it couldn't be directly used for simulation in Ptossim. The reason as its author
said is"because S-MAC has a different implementation of the low-level components in the communication stack than standard TinyOS stack. These components need to support TOSSIM (i.e., the pc platform) in order to run S-MAC in TOSSIM." 
	
I know that in the standard TinyOS stack, we use AM(Active Message) component to send and receive packets. Tossim change the mote
interfaces provided to AM to pc interfaces , so we can simulate the communication process at pc.However, instead of AM,SMAC uses its
own components ,so I can't just use "make pc" to simulate it. Now I have a question ,if i want to use Ptossim to simulate SMAC, is it 
available for me just changing the low-lever mote interfaces to pc interfaces without changing ptossim components, or i have to add some 
extra components to ptossim? 
	
I will be very appreciative of any helpful advice.

ps:the attachment is the graph of SMACTest component.I hope it can give some help.
	 
	
	                                       roy liu
	
	
	 
	
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SMACTest component Graph.GIF
Type: image/gif
Size: 52300 bytes
Desc: not available
Url : http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20061016/3f16c843/SMACTestcomponentGraph-0001.gif


More information about the Tinyos-help mailing list