First, make sure you are running the latest version of S-MAC. You can
get the code either from TinyOS CVS repository (in the contrib/s-mac)
directory or from S-MAC website

http://www.isi.edu/ilense/software/smac/

Take a look at the guide to get you started:

http://www.isi.edu/ilense/software/smac/get_start_1.2.html

Then you can try SMACTest without changing any configurations.
MACComm.broadcastDone(void* msg) works for both low duty mode and fully
active mode. If you can't make the default setting work, you should
carefully check your setup.

If you already made the default setting work (it tests both broadcast
and unicast), check again the changes you made. It will be very helpful
if you program a snooper that logs packets sent from all nodes.

BTW, we have a smac-users mailing list (see the link at the end of this
message). Please post your future S-MAC specific questions to this list.

-Wei

On Tue, 2004-07-20 at 05:45, 신종원 wrote:
> I am using the MICA2 now, and the version of TinyOS is 1.1.0.
> 
>  
> 
> I want to use SMACTest, which is in
> "C:\tinyos\cygwin\opt\tinyos-1.x\contrib\s-mac\apps\SMACTest"
> directory, to test the action of SMAC.
> 
>  
> 
> I have downloaded the upper program to 3 boards using install.1,
> install.2 and install.3, and I have deleted the comments of "#define
> SMAC_NO_SLEEP_CYCLE" in config.h because "BroadcastMessageDone" can
> run with that.
> 
>  
> 
> ---------------------------------------------------------
> 
> Problems:
> 
> 1. In case of broadcast, event result_t MACComm.broadcastDone(void*
> msg) runs correctly, but it can NOT receive message from other nodes.
> 
> 2. In case of unicast, RTS message is transferred 3 times continually,
> but the n+1 node can NOT reveive message and can NOT send CTS message.
> 
> 3. Above problems look like the reception problem.
> 
> 4. I am anxious to get your kind reply on how to solve above problems.
> 
>  
> 
> I have NOT modified the SMACM.nc.
> 
>  
> 
> May I trouble you to tell how to solve these problems?
> 
> Thank you very much.
> 
> 
> 
> ______________________________________________________________________
> _______________________________________________
> Tinyos-users mailing list
> [EMAIL PROTECTED]
> http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-users

_______________________________________________
Tinyos-users mailing list
[EMAIL PROTECTED]
http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-users

Reply via email to