From 4c40dfae01d46d581a025c721f5cf465d8c298b1 Mon Sep 17 00:00:00 2001 From: zhujc0606 Date: Thu, 6 Apr 2023 16:50:11 +0800 Subject: [PATCH] =?UTF-8?q?IssueNo:telephony=5Fdata=20=E7=BB=93=E6=9E=84?= =?UTF-8?q?=E4=BD=93=E6=95=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Description: telephony_data Sig: SIG_Telephony Feature or Bugfix:telephony_data 结构体整改 Binary Source: No Signed-off-by: zhujc0606 Change-Id: I3eca98a768b058e2b6c30be4c17764d055e1f7f9 --- opkey/include/opkey_data.h | 22 +++++++++--------- pdp_profile/include/pdp_profile_data.h | 32 +++++++++++++------------- 2 files changed, 27 insertions(+), 27 deletions(-) diff --git a/opkey/include/opkey_data.h b/opkey/include/opkey_data.h index 918a232c..2f108324 100644 --- a/opkey/include/opkey_data.h +++ b/opkey/include/opkey_data.h @@ -34,17 +34,17 @@ public: }; struct OpKey { - int opkeyId; - std::string mccmnc; - std::string gid1; - std::string gid2; - std::string imsi; - std::string spn; - std::string iccid; - std::string operatorName; - std::string operatorKey; - std::string operatorKeyExt; - int ruleId; + int opkeyId = 0; + std::string mccmnc = ""; + std::string gid1 = ""; + std::string gid2 = ""; + std::string imsi = ""; + std::string spn = ""; + std::string iccid = ""; + std::string operatorName = ""; + std::string operatorKey = ""; + std::string operatorKeyExt = ""; + int ruleId = 0; }; constexpr const char *MCCMNC_INDEX = "mccmncIndex"; diff --git a/pdp_profile/include/pdp_profile_data.h b/pdp_profile/include/pdp_profile_data.h index 2a8db829..5ca622ca 100755 --- a/pdp_profile/include/pdp_profile_data.h +++ b/pdp_profile/include/pdp_profile_data.h @@ -41,22 +41,22 @@ public: }; struct PdpProfile { - int profileId; - std::string profileName; - std::string mcc; - std::string mnc; - std::string apn; - int authType; - std::string authUser; - std::string authPwd; - std::string apnTypes; // see ApnType - int isRoamingApn; - std::string homeUrl; - std::string proxyIpAddress; - std::string mmsIpAddress; - std::string pdpProtocol; // see PdpProtocol - std::string roamPdpProtocol; - int bearingSystemType; // see BearingSystemType + int profileId = 0; + std::string profileName = ""; + std::string mcc = ""; + std::string mnc = ""; + std::string apn = ""; + int authType = 0; + std::string authUser = ""; + std::string authPwd = ""; + std::string apnTypes = ""; // see ApnType + int isRoamingApn = 0; + std::string homeUrl = ""; + std::string proxyIpAddress = ""; + std::string mmsIpAddress = ""; + std::string pdpProtocol = ""; // see PdpProtocol + std::string roamPdpProtocol = ""; + int bearingSystemType = 0; // see BearingSystemType }; -- Gitee