From 45efc2354ed0d93d7ffba35beb3bb76e70e49e0d Mon Sep 17 00:00:00 2001 From: Philippe De Swert Date: Fri, 15 Feb 2019 14:11:41 +0200 Subject: [PATCH] common: Add new NB-IoT technologies Add lte-cat-m1 and lte-cat-nb1 technology identifiers. --- src/common.c | 4 ++++ src/common.h | 2 ++ 2 files changed, 6 insertions(+) diff --git a/src/common.c b/src/common.c index ea7842cc..4dcbc835 100644 --- a/src/common.c +++ b/src/common.c @@ -697,6 +697,10 @@ const char *registration_tech_to_string(int tech) return "hspa"; case ACCESS_TECHNOLOGY_EUTRAN: return "lte"; + case ACCESS_TECHNOLOGY_NB_IOT_M1: + return "lte-cat-m1"; + case ACCESS_TECHNOLOGY_NB_IOT_NB1: + return "lte-cat-nb1"; default: return ""; } diff --git a/src/common.h b/src/common.h index dc618942..8fef4432 100644 --- a/src/common.h +++ b/src/common.h @@ -33,6 +33,8 @@ enum access_technology { ACCESS_TECHNOLOGY_UTRAN_HSUPA = 5, ACCESS_TECHNOLOGY_UTRAN_HSDPA_HSUPA = 6, ACCESS_TECHNOLOGY_EUTRAN = 7, + ACCESS_TECHNOLOGY_NB_IOT_M1 = 8, + ACCESS_TECHNOLOGY_NB_IOT_NB1 = 9, }; /* 27.007 Section 7.2 */