优化sim部分的demo的代码,解决涉及unlock生效但是会报错的问题,优化sim的状态返回,优化电话长度的判断

Change-Id: I61c3e1b7027cc8671ff16d50e046a1e34b82fea5
diff --git a/mbtk/mbtk_rild/src/mbtk_info_server.c b/mbtk/mbtk_rild/src/mbtk_info_server.c
index 81633e1..5345fa9 100755
--- a/mbtk/mbtk_rild/src/mbtk_info_server.c
+++ b/mbtk/mbtk_rild/src/mbtk_info_server.c
@@ -1942,14 +1942,14 @@
         return err;
 #else
     sprintf(cmd, "AT+CPIN=%s,%s", data->puk_value, data->pin_value);
-    int err = at_send_command_singleline(cmd, "+CPIN: READY:", &response);
-    if (err < 0 || response == NULL || response->success == 0 || !response->p_intermediates){
-        if(response) {
+    int err = at_send_command(cmd, &response);
+    if (err < 0 || response->success == 0){
+        if(cme_err) {
             *cme_err = at_get_cme_error(response);
         }
-        LOGD("AT+CPIN fail.");
         goto exit;
     }
+
 #endif
 exit:
     at_response_free(response);