X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fchips%2Frf230%2FRadioState.nc;h=cae77813cbb252591d057ac7ecb943fddb2913d6;hb=60f8c4ec4b792c6a99d5ef66ee413e8712a10a1e;hp=725438355583c44c1e68fcff4d955d183d53534c;hpb=2bdca3de5f2b193449d36f974c82626210b9cc9e;p=tinyos-2.x.git diff --git a/tos/chips/rf230/RadioState.nc b/tos/chips/rf230/RadioState.nc index 72543835..cae77813 100644 --- a/tos/chips/rf230/RadioState.nc +++ b/tos/chips/rf230/RadioState.nc @@ -56,4 +56,9 @@ interface RadioState * transition and setChannel command when it is completed. */ tasklet_async event void done(); + + /** + * Returns the currently selected channel. + */ + tasklet_async command uint8_t getChannel(); }