ubloxcfg
u-blox 9 configuration helpers
|
u-blox 9 positioning receivers configuration library More...
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <inttypes.h>
#include <ctype.h>
#include "config.h"
#include "ubloxcfg.h"
Go to the source code of this file.
Functions | |
const UBLOXCFG_ITEM_t * | ubloxcfg_getItemByName (const char *name) |
Get configuration item info by name. More... | |
const UBLOXCFG_ITEM_t * | ubloxcfg_getItemById (const uint32_t id) |
Get configuration item info by key ID. More... | |
const UBLOXCFG_ITEM_t ** | ubloxcfg_getAllItems (int *num) |
Get list of all items. More... | |
const UBLOXCFG_MSGRATE_t * | ubloxcfg_getMsgRateCfg (const char *msgName) |
Get configuration items for output message rate configuration. More... | |
const UBLOXCFG_MSGRATE_t ** | ubloxcfg_getAllMsgRateCfgs (int *num) |
Get list of all output message rate configurations. More... | |
bool | ubloxcfg_makeData (uint8_t *data, const int size, const UBLOXCFG_KEYVAL_t *keyVal, const int nKeyVal, int *dataSize) |
Configuration data from key-value list. More... | |
bool | ubloxcfg_parseData (const uint8_t *data, const int size, UBLOXCFG_KEYVAL_t *keyVal, const int maxKeyVal, int *nKeyVal) |
Key-value list from configuration data. More... | |
const char * | ubloxcfg_typeStr (UBLOXCFG_TYPE_t type) |
Stringify item type. More... | |
bool | ubloxcfg_stringifyValue (char *str, const int size, const UBLOXCFG_TYPE_t type, const UBLOXCFG_ITEM_t *item, const UBLOXCFG_VALUE_t *val) |
Stringify item value. More... | |
bool | ubloxcfg_splitValueStr (char *str, char **valueStr, char **prettyStr) |
Split stringified value string. More... | |
bool | ubloxcfg_stringifyKeyVal (char *str, const int size, const UBLOXCFG_KEYVAL_t *keyVal) |
Stringify key-value pair (for debugging) More... | |
bool | ubloxcfg_valueFromString (const char *str, UBLOXCFG_TYPE_t type, const UBLOXCFG_ITEM_t *item, UBLOXCFG_VALUE_t *value) |
Convert string to value. More... | |
const char * | ubloxcfg_layerName (const UBLOXCFG_LAYER_t layer) |
Get name for layer. | |
bool | ubloxcfg_layerFromName (const char *name, UBLOXCFG_LAYER_t *layer) |
Get layer from name. More... | |
uint16_t | ubloxcfg_getVersion (void) |
Get library version. More... | |
const char ** | ubloxcfg_getSources (int *numSources) |
Get strings describing the data sources. | |
u-blox 9 positioning receivers configuration library
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this program. If not, see https://www.gnu.org/licenses/.
Definition in file ubloxcfg.c.