---
 plugins/ofono.c |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/plugins/ofono.c b/plugins/ofono.c
index aa9a776..97b1f24 100644
--- a/plugins/ofono.c
+++ b/plugins/ofono.c
@@ -51,6 +51,9 @@
 #define OFONO_CM_INTERFACE             OFONO_SERVICE ".ConnectionManager"
 #define OFONO_CONTEXT_INTERFACE                OFONO_SERVICE 
".ConnectionContext"
 
+#define OFONO_CDMA_CM_INTERFACE                OFONO_SERVICE 
".cdma.ConnectionManager"
+#define OFONO_CDMA_NETREG_INTERFACE    OFONO_SERVICE 
".cdma.NetworkRegistration"
+
 #define MODEM_ADDED                    "ModemAdded"
 #define MODEM_REMOVED                  "ModemRemoved"
 #define PROPERTY_CHANGED               "PropertyChanged"
@@ -68,6 +71,8 @@ enum ofono_api {
        OFONO_API_SIM =         0x1,
        OFONO_API_NETREG =      0x2,
        OFONO_API_CM =          0x4,
+       OFONO_API_CDMA_NETREG = 0x8,
+       OFONO_API_CDMA_CM =     0x10,
 };
 
 /*
@@ -617,6 +622,12 @@ static uint8_t extract_interfaces(DBusMessageIter *array)
                        interfaces |= OFONO_API_NETREG;
                else if (g_str_equal(name, OFONO_CM_INTERFACE) == TRUE)
                        interfaces |= OFONO_API_CM;
+               else if (g_str_equal(name,
+                               OFONO_CDMA_CM_INTERFACE) == TRUE)
+                       interfaces |= OFONO_API_CDMA_CM;
+               else if (g_str_equal(name,
+                               OFONO_CDMA_NETREG_INTERFACE) == TRUE)
+                       interfaces |= OFONO_API_CDMA_NETREG;
 
                dbus_message_iter_next(&entry);
        }
-- 
1.7.1

_______________________________________________
connman mailing list
connman@connman.net
http://lists.connman.net/listinfo/connman

Reply via email to