[Feature][ZXW-253]delete sms set centeraddress demo

Only Configure: No
Affected branch: master
Affected module: SIM
Is it affected on both ZXIC and MTK: only ZXIC
Self-test: Yes
Doc Update: No

Change-Id: Ib0865e7e1b9132466cb0798d2458f116a3f3a4ce
diff --git a/cap/zx297520v3/sources/meta-zxic-custom/recipes-lynq/lynq-qser-sms-demo/files/lynq-qser-sms-demo.cpp b/cap/zx297520v3/sources/meta-zxic-custom/recipes-lynq/lynq-qser-sms-demo/files/lynq-qser-sms-demo.cpp
index a7d62ec..975c309 100755
--- a/cap/zx297520v3/sources/meta-zxic-custom/recipes-lynq/lynq-qser-sms-demo/files/lynq-qser-sms-demo.cpp
+++ b/cap/zx297520v3/sources/meta-zxic-custom/recipes-lynq/lynq-qser-sms-demo/files/lynq-qser-sms-demo.cpp
@@ -27,7 +27,7 @@
 int (*qser_sms_addrxmsghandler)(QSER_SMS_RxMsgHandlerFunc_t handlerPtr, void* contextPtr);

 int (*qser_sms_deletefromstorage)(sms_client_handle_type  h_sms, QSER_sms_storage_info_t  *pt_sms_storage);

 int (*qser_sms_getsmscenteraddress)(sms_client_handle_type h_sms, QSER_sms_service_center_cfg_t *set_sca_cfg);

-int (*qser_sms_setsmscenteraddress)(sms_client_handle_type h_sms, QSER_sms_service_center_cfg_t *get_sca_cfg);

+//int (*qser_sms_setsmscenteraddress)(sms_client_handle_type h_sms, QSER_sms_service_center_cfg_t *get_sca_cfg);

 

 void qser_sms_handler(QSER_SMS_MsgRef msgRef, void* contextPtr) {

     printf("[%s-%d] sms handler, msgRef->sms_data = %s,addr =%s\n", __FUNCTION__, __LINE__, msgRef->sms_data, msgRef->src_addr);

@@ -124,9 +124,10 @@
         printf("qser_sms_getsmscenteraddress dlsym error\n");

     }

     sleep(1);

+#if 0

     QSER_sms_service_center_cfg_t set_sca_cfg;

     memset(set_sca_cfg.service_center_addr, 0, sizeof(set_sca_cfg.service_center_addr));

-    strncpy(set_sca_cfg.service_center_addr, "+8613800230500", 14);//smsc ÊǸù¾Ý²»Í¬ÔËÓªÉÌ£¬²»Í¬¿¨À´ÅäÖõÄ

+    strncpy(set_sca_cfg.service_center_addr, "+8613800230500", 14);//smsc need userchange

     qser_sms_setsmscenteraddress = (int (*)(sms_client_handle_type h_sms, QSER_sms_service_center_cfg_t *set_sca_cfg))dlsym(dlHandle_sms,"qser_sms_setsmscenteraddress");

     if(NULL != qser_sms_setsmscenteraddress)

     {

@@ -140,7 +141,7 @@
     }else{

         printf("qser_sms_setsmscenteraddress dlsym error\n");

     }

-

+#endif

    // char telephony_num[SMS_BUF] = {};

     char msg[MSG_BUF] = {};

     QSER_sms_info_t  pt_sms_info;