Hi Antonio, Use the RadioChannel interface of RF230ActiveMessageC (or just ActiveMessageC).
Miklos On Mon, Oct 3, 2011 at 9:36 AM, antonio rosa <[email protected]> wrote: > Hi Miklos, > > I want to set/get radio channel iris mote using MessageBufferLayerC > component and the interface RadioChannel. For this, add the RadioChannel > interface to my app, and when I compile the app (BaseStationC), get these > errors: > > /opt/tinyos-2.1.1/tos/lib/rfxlink/layers/MessageBufferLayerP.nc: In function > `sendTask.runTask': > /opt/tinyos-2.1.1/tos/lib/rfxlink/layers/MessageBufferLayerP.nc(BaseStationC.MessageBufferLayerP.MessageBufferLayerP):199: > RadioSend.send not connected > /opt/tinyos-2.1.1/tos/lib/rfxlink/layers/MessageBufferLayerP.nc(BaseStationC.MessageBufferLayerP.MessageBufferLayerP):214: > Send.sendDone not connected > /opt/tinyos-2.1.1/tos/lib/rfxlink/layers/MessageBufferLayerP.nc: In function > `deliverTask.runTask': > /opt/tinyos-2.1.1/tos/lib/rfxlink/layers/MessageBufferLayerP.nc(BaseStationC.MessageBufferLayerP.MessageBufferLayerP):337: > Receive.receive not connected > /opt/tinyos-2.1.1/tos/lib/rfxlink/layers/MessageBufferLayerP.nc: In function > `RadioChannel.getChannel': > /opt/tinyos-2.1.1/tos/lib/rfxlink/layers/MessageBufferLayerP.nc(BaseStationC.MessageBufferLayerP.MessageBufferLayerP):141: > RadioState.getChannel not connected > /opt/tinyos-2.1.1/tos/lib/rfxlink/layers/MessageBufferLayerP.nc: In function > `RadioChannel.setChannel': > /opt/tinyos-2.1.1/tos/lib/rfxlink/layers/MessageBufferLayerP.nc(BaseStationC.MessageBufferLayerP.MessageBufferLayerP):128: > RadioState.setChannel not connected > > Best Regards, Antonio Rosa. > > > _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
