151152153154155156157158159160161
radioOff(); } } }); radio.addChannelListener(new ChannelListener() { public void channelChanged(int channel) { /* XXX Currently assumes zero channel switch time */ lastEvent = RadioEvent.UNKNOWN; setChanged(); notifyObservers();
130131132133134135136137138139140
167168169170171172173174175176177
radioOff(); } } }); cc1120.addChannelListener(new ChannelListener() { public void channelChanged(int channel) { /* XXX Currently assumes zero channel switch time */ lastEvent = RadioEvent.UNKNOWN; setChanged(); notifyObservers();
166167168169170171172173174175176
radioOff(); } } }); cc1101.addChannelListener(new ChannelListener() { public void channelChanged(int channel) { /* XXX Currently assumes zero channel switch time */ lastEvent = RadioEvent.UNKNOWN; setChanged(); notifyObservers();