3) TOS messages are generic messages at the MAC level for TinyOS. Multi-hop message is a particular type of TOS message, so yes, it is possible to handle both, but you have to investigate how to use both Xmesh and your TOS meesage handler. XMesh does not support peer-to-peer messaging. You either send to base station or from base station to a node.
-----Original Message----- From: (¯`*._.*Lance*._.*´¯) [mailto:[email protected]] Sent: 11 November 2010 13:39 To: Yong, Chee Yeew Cc: [email protected] Subject: Re: [Tinyos-help] Intercept Mesg 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
