mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-22 10:30:13 +00:00
No sniffer yet for RF230BB
This commit is contained in:
parent
23f6949af6
commit
98b69e1bff
@ -222,9 +222,11 @@ void menu_process(char c)
|
||||
|
||||
//If valid input, change it
|
||||
if (tempchannel) {
|
||||
#if !RF230BB
|
||||
radio_set_operating_channel(tempchannel);
|
||||
eeprom_write_byte((uint8_t *) 9, tempchannel); //Write channel
|
||||
eeprom_write_byte((uint8_t *)10, ~tempchannel); //Bit inverse as check
|
||||
#endif
|
||||
}
|
||||
|
||||
menustate = normal;
|
||||
@ -296,9 +298,11 @@ void menu_process(char c)
|
||||
break;
|
||||
|
||||
case 'c':
|
||||
#if !RF230BB
|
||||
PRINTF_P(PSTR("Select 802.15.4 Channel in range 11-26 [%d]: "), radio_get_operating_channel());
|
||||
menustate = channel;
|
||||
channel_string_i = 0;
|
||||
#endif
|
||||
break;
|
||||
|
||||
|
||||
@ -313,7 +317,9 @@ void menu_process(char c)
|
||||
PRINTF_P(PSTR("decompress 6lowpan headers\n\r * Will "));
|
||||
if (usbstick_mode.raw == 0) { PRINTF_P(PSTR("not "));}
|
||||
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());
|
||||
#endif
|
||||
break;
|
||||
|
||||
case 'u':
|
||||
|
Loading…
Reference in New Issue
Block a user