Add WEA 3.0 CB message info and chipset info 14/234814/2 accepted/tizen_6.0_unified accepted/tizen_6.0_unified_hotfix accepted/tizen_6.5_unified tizen_6.0 tizen_6.0_hotfix tizen_6.5 accepted/tizen/6.0/unified/20201030.113233 accepted/tizen/6.0/unified/hotfix/20201103.001107 accepted/tizen/6.5/unified/20211028.120804 accepted/tizen/unified/20200629.143513 submit/tizen/20200626.014929 submit/tizen_6.0/20201029.205105 submit/tizen_6.0_hotfix/20201102.192505 submit/tizen_6.0_hotfix/20201103.114805 submit/tizen_6.5/20211028.162501 tizen_6.0.m2_release tizen_6.5.m2_release
authorsinikang <sinikang@samsung.com>
Fri, 29 May 2020 03:59:29 +0000 (12:59 +0900)
committersinikang <sinikang@samsung.com>
Tue, 9 Jun 2020 06:38:03 +0000 (15:38 +0900)
Change-Id: I96e4f3013f1222e52383de34d5a717d6e540852b
Signed-off-by: sinikang <sinikang@samsung.com>
introspection/modem.xml
introspection/sms.xml
packaging/tel-plugin-dbus_tapi.spec
src/dtapi_modem.c
src/dtapi_sms.c

index 3e78df9..6846752 100644 (file)
@@ -59,6 +59,7 @@
                        <arg direction="out" type="s" name="product_code"/>
                        <arg direction="out" type="s" name="prl_version"/>
                        <arg direction="out" type="s" name="eri_version"/>
+                       <arg direction="out" type="s" name="cp_chipset"/>
                </method>
 
                <!--
index c7e35ee..545734f 100644 (file)
@@ -16,7 +16,7 @@
                        @moreMsg: MoreMsgToSend
                        @result: Success(0)
 
-                       Sends an SMS message to the networ
+                       Sends an SMS message to the network
                -->
                <method name="SendMsg">
                        <arg direction="in" type="i" name="format"/>
                        <arg type="i" name="cbMsgType"/>
                        <arg type="i" name="msgLength"/>
                        <arg type="s" name="tpdu"/>
+                       <arg type="i" name="wacLen"/>
+                       <arg type="s" name="wacData"/>
                </signal>
 
                <!--
index 9b69365..a2652f3 100644 (file)
@@ -1,6 +1,6 @@
 %define major 0
 %define minor 4
-%define patchlevel 07
+%define patchlevel 8
 
 Name:           tel-plugin-dbus_tapi
 Version:        %{major}.%{minor}.%{patchlevel}
index d729a35..dc87f53 100644 (file)
@@ -363,7 +363,8 @@ gboolean dbus_plugin_modem_response(struct custom_data *ctx,
                        dbus_info->invocation, resp_get_version->result,
                        resp_get_version->software, resp_get_version->hardware,
                        resp_get_version->calibration, resp_get_version->product_code,
-                       resp_get_version->prl_version, resp_get_version->eri_version);
+                       resp_get_version->prl_version, resp_get_version->eri_version,
+                       resp_get_version->cp_chipset);
        }
        break;
 
index 46384cd..cc0fd93 100644 (file)
@@ -1055,17 +1055,22 @@ gboolean dbus_plugin_sms_notification(struct custom_data *ctx,
        case TNOTI_SMS_CB_INCOM_MSG: {
                const struct tnoti_sms_cellBroadcast_msg *noti = data;
                gchar *tpdu = NULL;
+               gchar *wac = NULL;
 
                info("[%s] SMS_CB_INCOM_MSG (len[%d])", cp_name, data_len);
 
                tpdu = g_base64_encode((const guchar*)(noti->cbMsg.msgData), SMS_CB_SIZE_MAX+1);
+               wac = g_base64_encode((const guchar*)(noti->cbMsg.wacData), noti->cbMsg.wacLen);
 
                telephony_sms_emit_incomming_cb_msg(sms,
                        noti->cbMsg.cbMsgType,
                        noti->cbMsg.length,
-                       tpdu);
+                       tpdu,
+                       noti->cbMsg.wacLen,
+                       wac);
 
                g_free(tpdu);
+               g_free(wac);
        }
        break;