[Tinyos-help] Intercept Mesg
Yong, Chee Yeew
Chee-Yeew.Yong at thalesgroup.com
Thu Nov 11 04:38:42 PST 2010
Looking at the structs that you are using, I am guessing you are using
Moteworks version of tinyos-1.x.
I'm slightly rusty now having not used Moteworks for a while, so this is to
the best of my recollection:
1) If you choose to continue forwarding your message, it will be unicast
'towards' the base station. The underlying MAC is broadcast, though, so this
is something you can exploit. I strongly encourage you to read sections
5.2.2 and 5.2.3 of the XMesh manual (its only 2 pages long!).
2) As you state, ReceiveMsg is an _interface_, so depending on what it is
3) Not sure what you mean. Its better to state what you want to achieve.
4) There's no context, so I don't know which one is correct (that's
essentially what you are interested in). I usually use the latter format to
fill an outgoing message.
5? ) Use MODE_ONE_HOP_BROADCAST. You need section 5.2.1 of the XMesh
From: tinyos-help-bounces at millennium.berkeley.edu
[mailto:tinyos-help-bounces at millennium.berkeley.edu]On Behalf Of
Sent: 11 November 2010 12:11
To: tinyos-help at millennium.berkeley.edu
Subject: [Tinyos-help] Intercept Mesg
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 (
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
Please Help me >> Project of my deadline is very close.
Please consider the environment before printing a hard copy of this
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:
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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Tinyos-help