I don't have access to the XMesh source code. I have not actually used this
mode before, but it doesn't make sense to explicitly broadcast _and_ send to
base. So, its just one hop.

-----Original Message-----
From: (¯`•._.•Lance•._.•´¯) [mailto:[email protected]]
Sent: 12 November 2010 08:39
To: Yong, Chee Yeew
Cc: [email protected]
Subject: Re: [Tinyos-help] Intercept Mesg


Hi Yong,
             May i clarified that is MODE_ONE_HOP_BROADCAST means
broadcasting for one hop but the destination is still the base ? I read the
x-mesh manual but still a bit confuse the usage.

Thanks and Regards,
lance


On Thu, Nov 11, 2010 at 9:39 PM, (¯`•._.•Lance•._.•´¯) <
[email protected] <mailto:[email protected]> > wrote:


I did subscribed to the mailing list and saw ur reply.Thank you very much .
i really appropriate it.

Regarding No 3) i wan to program the micaz to handle different type of
message let's say Muti-hop msg and Tos_Msg .

May i ask , is it possible  to forward the msg from node A to D without
changing any part of the msg Especially the ID . B and C will just receive
and forward it. Let say  msg was originated from node A ( ID= A ) .at the
end when node D receive the msg. the node ID remain unchange  as A .

Thanks for u reply 
regards,
lance 


On Thu, Nov 11, 2010 at 9:29 PM, Yong, Chee Yeew <
[email protected] <mailto:[email protected]> >
wrote:


It seems that you are not subscribed to the mailing list? I prefer to reply
directly to the list, so check out my reply..

-----Original Message-----
From: [email protected]
<mailto:[email protected]>  [mailto:
[email protected]
<mailto:[email protected]> ]On Behalf Of
(¯`*._.*Lance*._.*´¯)
Sent: 11 November 2010 12:11
To: [email protected]
<mailto:[email protected]> 
Subject: [Tinyos-help] Intercept Mesg


Hi all,
         1 )  Currently i am using the Intercept() interface in tinyos 1.x .
The interface says that base on the return value we can choose  either  to
forward the msg or not. My question is that ..the msg is forward to a
particular node or to every nodes within the transmission range (
broadcasting ).
 
         2)  is it true  that  ReceiveMsg interface can only    receive
non-multi hop message ?

         3)  How many buffers can be use for a  micaz mote ?

         4)  Wat is the differenct between 
             pack = (XDataMsg *)&(msg_buffer.data);  and  pack=
(XDataMsg*)call Send.getBuffer(&msg_buffer1, &len);

            Can i  change the BASE_STATION_ADDRESS to TOS_BCAST_ADDR
  
         if (call
Send.send(BASE_STATION_ADDRESS,MODE_UPSTREAM,&msg_buffer1,sizeof(XDataMsg))
!= SUCCESS)


Please Help me >> Project of my deadline is very close.

Thanks
lance
        








Please consider the environment before printing a hard copy of this 

e-mail. 



The information contained in this e-mail is confidential. It is intended 

only for the stated addressee(s) and access to it by any other person is 

unauthorised. If you are not an addressee, you must not disclose, copy, 

circulate or in any other way use or rely on the information contained in 

this e-mail. Such unauthorised use may be unlawful. If you have received 

this e-mail in error, please inform us immediately on +44 (0)118 986 8601 

and delete it and all copies from your system. 



Thales Research and Technology (UK) Limited. A company registered in 

England and Wales. Registered Office: 2 Dashwood Lang Road, The Bourne 

Business Park, Addlestone, Weybridge, Surrey KT15 2NX. Registered Number: 

774298 



Thales UK Limited. A company registered in England and Wales. Registered 

Office: 2 Dashwood Lang Road, The Bourne Business Park, Addlestone, 

Weybridge, Surrey KT15 2NX. Registered Number: 868273 



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

Reply via email to