From: Philippe De Swert <[email protected]>

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 <stat> */
-- 
2.20.1

_______________________________________________
ofono mailing list
[email protected]
https://lists.ofono.org/mailman/listinfo/ofono

Reply via email to