[Feature][T8TSK-97][AT]at+leapnmod(modify apn info)
Change-Id: Icd40907bc3b21e6b27c5260de0badf45d1e0952f
diff --git a/framework/lynq-ril-service/src/common.cpp b/framework/lynq-ril-service/src/common.cpp
index 2f61845..bf45112 100755
--- a/framework/lynq-ril-service/src/common.cpp
+++ b/framework/lynq-ril-service/src/common.cpp
@@ -194,6 +194,26 @@
static int regCodeToRadioTechnology(int request, int code, int slot);
+void lynq_output_info(const char* format,...)
+{
+ if(ttyGS3_fd < 0)
+ {
+ return;
+ }
+ char buf[1024] = {0};
+ int n;
+ va_list args;
+ va_start(args, format);
+ vsnprintf(buf, sizeof(buf), format, args);
+ va_end(args);
+ n=write(ttyGS3_fd, buf, strlen(buf));
+ if(n < 0)
+ {
+ perror("lynq resp write:");
+ }
+ return;
+}
+
void update_call_state(void *response, size_t responselen, int slot) {
int num = responselen / sizeof(RIL_Call *);
if(num == 0) {