No sniffer yet for RF230BB

This commit is contained in:
dak664 2010-02-16 22:55:20 +00:00
parent 23f6949af6
commit 98b69e1bff

View file

@ -222,9 +222,11 @@ void menu_process(char c)
//If valid input, change it //If valid input, change it
if (tempchannel) { if (tempchannel) {
#if !RF230BB
radio_set_operating_channel(tempchannel); radio_set_operating_channel(tempchannel);
eeprom_write_byte((uint8_t *) 9, tempchannel); //Write channel eeprom_write_byte((uint8_t *) 9, tempchannel); //Write channel
eeprom_write_byte((uint8_t *)10, ~tempchannel); //Bit inverse as check eeprom_write_byte((uint8_t *)10, ~tempchannel); //Bit inverse as check
#endif
} }
menustate = normal; menustate = normal;
@ -296,9 +298,11 @@ void menu_process(char c)
break; break;
case 'c': case 'c':
#if !RF230BB
PRINTF_P(PSTR("Select 802.15.4 Channel in range 11-26 [%d]: "), radio_get_operating_channel()); PRINTF_P(PSTR("Select 802.15.4 Channel in range 11-26 [%d]: "), radio_get_operating_channel());
menustate = channel; menustate = channel;
channel_string_i = 0; channel_string_i = 0;
#endif
break; break;
@ -313,7 +317,9 @@ void menu_process(char c)
PRINTF_P(PSTR("decompress 6lowpan headers\n\r * Will ")); PRINTF_P(PSTR("decompress 6lowpan headers\n\r * Will "));
if (usbstick_mode.raw == 0) { PRINTF_P(PSTR("not "));} if (usbstick_mode.raw == 0) { PRINTF_P(PSTR("not "));}
PRINTF_P(PSTR("Output raw 802.15.4 frames\n\r ")); PRINTF_P(PSTR("Output raw 802.15.4 frames\n\r "));
#if !RF230BB
PRINTF_P(PSTR(" * Operates on channel %d\n\r"), radio_get_operating_channel()); PRINTF_P(PSTR(" * Operates on channel %d\n\r"), radio_get_operating_channel());
#endif
break; break;
case 'u': case 'u':