[Tinyos-help] Doubt about Wiring Nucleus

Pablo Gil Montaño pgilmon at yahoo.es
Wed Sep 13 04:21:04 PDT 2006


In order to retrieve routing data I think you can use the interface RouteControl. It is provided by the configuration LQIMultiHopRouter (tinyos-1.x/tos/lib/MultiHopLQI/LQIMultiHopRouter.nc), so you'd just have to wire and use it from the component in which you want to have that information available.



Sumit Gupta <singhals.sumit at gmail.com> escribió: I am trying to get data from SurgeTelos application. Now as per documentation I added a component in main application's Configuration file (i.e. Surge.nc):
  
 components MgmtQueryC;
 Main.StdControl -> MgmtQueryC;
 
 and in Module Files (i.e SurgeM.nc) following code is added:
 
 includes Attrs;
 ...
 provides interface Attr<uint16_t> as XXX @nucleusAttr("XXX");
 ...
 command result_t XXX.get(uint16_t* buf)
 ...
 The SurgeTelos application is using LQIMultiHopRouter for routing purposes. Now I need to retreive some routing data which will be available from the related files of LQIMultiHopRouter - MultiHopLQI.nc and MultihopEngineM.nc.
 
 Now I am wondering that to retreive data can I simply add code in module files or do I also have to add code in configuration file too. I hope my questions are  clear. Please advice as I need to find this soon.
 
 Regards,

 Sumit
 
   
 _______________________________________________
Tinyos-help mailing list
Tinyos-help at Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

 		
---------------------------------

LLama Gratis a cualquier PC del Mundo.
Llamadas a fijos y móviles desde 1 céntimo por minuto.
http://es.voice.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20060913/e4d0da8c/attachment-0001.html


More information about the Tinyos-help mailing list