GNSS_TYPE_COUNT
static const char * const gnss_type_names[GNSS_TYPE_COUNT] = {
if (gdev->type < GNSS_TYPE_COUNT)