LOCAL_CFLAGS += -DNEEDS_ROAMING_PROTOCOL_FIELD
endif
+ifeq ($(BOARD_NEEDS_IMS_TYPE_FIELD), true)
+LOCAL_CFLAGS += -DNEEDS_IMS_TYPE_FIELD
+endif
+
LOCAL_C_INCLUDES += $(LOCAL_PATH)/include
LOCAL_C_INCLUDES += external/nanopb-c
LOCAL_C_INCLUDES += $(LOCAL_PATH)/../include
pf.roamingProtocol = "IP";
#endif
+#ifdef NEEDS_IMS_TYPE_FIELD
+ if (p.readInt32(&t) == NO_ERROR)
+ pf.imsType = (int) t;
+ else
+ pf.imsType = 0;
+#endif
+
startRequest;
appendPrintBuf("%sapn=%s, protocol=%s, authtype=%d, username=%s, password=%s",
printBuf, pf.apn, pf.protocol, pf.authtype, pf.username, pf.password);
#ifdef NEEDS_ROAMING_PROTOCOL_FIELD
appendPrintBuf("%sroamingProtocol=%s", printBuf, pf.roamingProtocol);
+#endif
+#ifdef NEEDS_IMS_TYPE_FIELD
+ appendPrintBuf("%simsType=%d", printBuf, pf.pf.imsType);
#endif
closeRequest;
printRequest(pRI->token, pRI->pCI->requestNumber);