[feature][T8TSK-67][system]The SDK ready mechanism

Change-Id: I163c66524f899aef3e56201d1db8cf7cfb2b8d66
diff --git a/framework/lynq-ril-service/src/ril.cpp b/framework/lynq-ril-service/src/ril.cpp
index e970e9b..2d202f7 100755
--- a/framework/lynq-ril-service/src/ril.cpp
+++ b/framework/lynq-ril-service/src/ril.cpp
@@ -178,6 +178,7 @@
 char *at_buf_ext[MAX_AT_CMD];
 int sockfd = 0;
 int imei_cnt = 0;
+bool sdk_ready = true;
 /*lei add*/
 #if RILC_LOG
     static char printBuf[PRINTBUF_SIZE];
@@ -4249,6 +4250,31 @@
                             }
                         }
                     }
+                    /*lei add for sdk ready 2022/8/17*/
+                    else
+                    {
+                        if(sdk_ready == true)
+                        {
+                            p.setDataPosition(0);
+                            if(p.dataAvail() > 0)
+                            {
+                                p.readInt32(&resp_type);
+                                p.readInt32(&request);
+                                p.readInt32(&slot_id);
+                                p.readInt32(&error1);
+                                if(!error1)
+                                {
+                                   system("uci set lynq_uci.sdk_ready=0");
+                                }
+                                else
+                                {
+                                    system("uci set lynq_uci.sdk_ready=2");
+                                }
+                            }
+                            sdk_ready = false;
+                        }
+                    }
+                    /*lei add for sdk ready 2022/8/17*/
                     break;
                 }
                 /*lei add for AT+CGSN 2022/8/4*/