[Feature][ZXW-228]add at cmd for status&net led

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

Change-Id: I9cbf234dfca499039871dfd3d8c813e7b328947b
diff --git a/cap/zx297520v3/src/lynq/lib/liblynq-at-common/liblynq-at-common.cpp b/cap/zx297520v3/src/lynq/lib/liblynq-at-common/liblynq-at-common.cpp
index ea38faf..391d43c 100755
--- a/cap/zx297520v3/src/lynq/lib/liblynq-at-common/liblynq-at-common.cpp
+++ b/cap/zx297520v3/src/lynq/lib/liblynq-at-common/liblynq-at-common.cpp
@@ -7,6 +7,7 @@
 #include <liblog/lynq_deflog.h>
 #include "include/liblynq-at-common.h"
 #include <include/lynq-qser-autosuspend.h>
+#include <libled/lynq_led.h>
 
 DEFINE_LYNQ_LIB_LOG(LYNQ_AT_COMMON)
 
@@ -67,10 +68,54 @@
     return;
 }
 
+void lynq_handle_netled(char* input)
+{
+    int ret;
+    char buf[64] = {0};
+    int mode = input[strlen(input)-1]-'0';
+    ALOGE("lynq_handle_netled start\n");
+
+    ret = lynq_set_netled_on(mode);
+    if(ret != 0)
+    {
+        sprintf(buf,"+CME ERROR: 100\r\n");
+        handle_output(buf, strlen(buf), Response);
+    }
+    else
+    {
+        lynq_response_ok();
+    }
+
+    return;
+}
+
+void lynq_handle_statusled(char* input)
+{
+    int ret;
+    char buf[64] = {0};
+    int mode = input[strlen(input)-1]-'0';
+
+    ALOGE("lynq_handle_statusled start\n");
+    ret = lynq_set_statusled_on(mode);
+
+    if(ret != 0)
+    {
+        sprintf(buf,"+CME ERROR: 100\r\n");
+        handle_output(buf, strlen(buf), Response);
+    }
+    else
+    {
+        lynq_response_ok();
+    }
+
+    return;
+}
 static Command commands[] =
 {
     {"CGIR",lynq_handle_version},
     {"LEELSP",lynq_handle_autosuspend},
+    {"NETLED",lynq_handle_netled},
+    {"STATUSLED",lynq_handle_statusled},
     {NULL, NULL}
 };