Improvement of interactive menu to be more user friendly and only showing options that have been compiled in the program.
Reorganize the run menu:
show only sensor that are compiled. Use the run_help and run_name arrays for menu help and command syntax. Indices of variable in those arry must match. and the array should remain the same size no matter the compilation choice that one variable is always stored in the same place in the EEPROM. So change #if to normal if statement but replace by dummy/empty command.
Variable to migrate to config.h:
4g apn, 4g pin ,
lora.mode, xbee.network, lan.wait,
all the log.xxx functions,
add automatism for deducing lan.type and wan.type from the flags WITH_
Improvement of interactive menu to be more user friendly and only showing options that have been compiled in the program.
Reorganize the
run
menu:run_help
andrun_name
arrays for menu help and command syntax. Indices of variable in those arry must match. and the array should remain the same size no matter the compilation choice that one variable is always stored in the same place in the EEPROM. So change#if
to normalif
statement but replace by dummy/empty command.Variable to migrate to
config.h
:4g apn
,4g pin
,lora.mode
,xbee.network
,lan.wait
,log.xxx
functions,lan.type
andwan.type
from the flagsWITH_