Hi! I'm writing an application (using tinyOS-2.1.1 for an iris mote) that calculates the noise floor level of the channel via the RadioCCA interface,and then sends it to a base mote. During the measurement the mote can be receive only msg that stops measure. Particularly , I use RadioCCA interface,acting like the RadioChannel interface (that use RadioState interface in RF230DriverLayerP). In my application nesC files i've defined a Measure interface to use (just like RadioChannel), wiring it in tos/chips/rf2xx/rf230 files until MessageBufferLayerC (/rf2xx/layers) and defining it in MessageBufferLayerP, where I've defined its commands/events just like done for RadioChannel. Further I've wired RadioCCA in the same way that is wired RadioState and added the Measure.nc file in rf2xx/util. Like RadioChannel that use RadioState (defined in RF230DriverLayerP and RF230DriverHwAckP), I suppose that my Measure interface find RadioCCA interface in the same files. But when I do make, compiler tolds me /opt/tinyos-2.1.1/tos/chips/rf2xx/layers/MessageBufferLayerP.nc: In function `CCADoneTask.runTask': /opt/tinyos-2.1.1/tos/chips/rf2xx/layers/MessageBufferLayerP.nc:289: RadioCCA.request not connected /opt/tinyos-2.1.1/tos/chips/rf2xx/layers/MessageBufferLayerP.nc: In function `MedidaNF.request': /opt/tinyos-2.1.1/tos/chips/rf2xx/layers/MessageBufferLayerP.nc:264: RadioCCA.request not connected where CCADoneTask acts like stateDoneTask defined for RadioChannel (doing actions regarding the error_t object returned by RadioCCA.done()) where I'm wrong? Thanks a lot for any suggestion. Piero
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
