at: parse config file

The AT commands list for each stage is now configured per-device, as 
well as the UART port to be used.

As this list can be changed by the user, there is no more need for a 
special GNSS-related option
This commit is contained in:
Arnaud Ferraris
2021-02-20 15:42:50 +01:00
parent cfbbbd0167
commit 042de572ea
3 changed files with 97 additions and 47 deletions

View File

@@ -267,7 +267,6 @@ int main(int argc, char *argv[])
toml_table_t *toml_manager;
toml_datum_t toml_value;
const GOptionEntry options[] = {
{ "gnss", 'g', 0, G_OPTION_ARG_NONE, &manager.manage_gnss, "Manage the GNSS feature.", NULL },
{ "config", 'c', 0, G_OPTION_ARG_STRING, &config_file, "Config file to use.", NULL },
{ NULL, 0, 0, G_OPTION_ARG_NONE, NULL, NULL, NULL }
};