> (*My problem*) To join and transfer message to the network of Coordinator is > ok, but in part of start another network by using MLME_START.request > is not running. and Cluster head cannot start a new network, communicate > with Sensor node. The Responsibility of Cluster head is dual > function: one for Sensor node and another one for Coordinator.
It sounds like you want to build a multihop network in a beacon-enabled PAN. The simplest would be a 3-node topology n1 <-> n2 <-> n3, i.e. n3 should reach n1 only via n2. Assuming that n1 is you PAN coordinator, it would start the network with MLME_START. n2 would first scan for/track the beacons of n1 (MLME_SYNC) and afterwards transmit periodic beacons itself (MLME_START with an appropriate StartTime parameter). Finally n3 would scan for/track the beacons of n2 (MLME_SYNC). Before you try this, make sure that you use the latest cvs version, because there were some fixes lately. http://sourceforge.net/projects/tinyos/develop > (*) I have some questions: > - How can I use multi channel in one device such as Coordinator and Cluster > head? Do you mean multiple channels (RF frequencies) in the same PAN? This is not supported in IEEE 802.15.4-2006. > - How can I make the Cluster head has dual function for Coordinator and > Sensor node? This would be n2 (see above) > - In the Makefile, what's meaning of CFLAGS += -DIEEE154_BEACON_TX_DISABLED, > PFLAGS += -DIEEE154_BEACON_SYNC_DISABLED -DIEEE154_SCAN_DISAB! LED? > and where can I find DIEEE154_BEACON_TX_DISABLED? These flags disable some modules to save memory. See tinyos-2.x/tos/lib/mac/tkn154/TKN154.h (line 233 and below) Jan 2010/3/24 Anh Dung Vu <[email protected]>: > Hello everyone! > > Now I feel very confusing about the TKN154. I appreciate any answer for me, > this will help me much! > > > (*) First time: I can make the code to communication and transfer data > between Coor and SN. (It's running ok) > - Coordinator interfaces: MLME_RESET, MLME_START, MCPS_DATA, MLME_ASSOCIATE, > MLME_SET, MLME_GET... > Coordinator start network and receive message from Sensor node and then send > another message to sensor node. > - Sensor node interfaces: MLME_RESET, MLME_SCAN, MCPS_DATA, MLME_ASSOCIATE, > MLME_SET, MLME_GET... > Sensor node join to the network of coordinator, send message to coordinator > and then receive message from coordinator > > (*) Now I want to build the system including: Coordinator (Coor), Cluster > head (CLH) and Sensor node (SN). I want to > build Cluster head (CLH) to do this thing as follow: > - firstly, Cluster head join to the network of Coordinator by using > MLME_SCAN, MLME_ASSOCIATE > - Secondly, if j! oining network is successful, Cluster head will start > another network for Sensor node by using MLME_START > - Thirdly, Cluster head receive message from Coordinator and then forward to > Sensor Node, after that Cluster head receive > message from Sensor node and forward to Coordinator. > (*My problem*) To join and transfer message to the network of Coordinator is > ok, but in part of start another network by using MLME_START.request > is not running. and Cluster head cannot start a new network, communicate > with Sensor node. The Responsibility of Cluster head is dual > function: one for Sensor node and another one for Coordinator. > > (*) I have some questions: > - How can I use multi channel in one device such as Coordinator and Cluster > head? > - How can I make the Cluster head has dual function for Coordinator and > Sensor node? > - In the Makefile, what's meaning of CFLAGS += -DIEEE154_BEACON_TX_DISABLED, > PFLAGS += -DIEEE154_BEACON_SYNC_DISABLED -DIEEE154_SCAN_DISAB! LED? > and where can I find DIEEE154_BEACON_TX_DISABLED? > > Do yo u have any solution or some suggestion for that? Please help me right > now and check my source code, It's very important for me. > > Thank you so much for your consideration. > > Dzung Vu Anh. > > NGN LAB - Computer Engineering > AnDong National University - Andong si - South Korea > Tel: +82 54 -820 -7944 > Mobile: 010-6427-1983 > > > ________________________________ > Hotmail: Powerful Free email with security by Microsoft. Get it now. > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
