Mod aaa-12 修改LTE模块

RCA:
SOL:
修改人:tongyebin
检视人:
This commit is contained in:
tongyebin 2019-10-10 16:52:42 +08:00
parent dc1a278ce7
commit f688c36b3f
1 changed files with 5 additions and 5 deletions

View File

@ -39,7 +39,7 @@ ret_code LTE_config_init(void)
ret_code ret = RET_OK; ret_code ret = RET_OK;
char result[RESULT_LENGTH] = {0}; char result[RESULT_LENGTH] = {0};
FILE *f = NULL; FILE *f = NULL;
f = popen(INIT_CMD,"r"); f = popen("/etc/ppp/ppp-4g init","r");
if (NULL == f) if (NULL == f)
{ {
@ -176,7 +176,7 @@ ret_code start_lte()
int i = 0; int i = 0;
FILE *f = NULL; FILE *f = NULL;
f = popen(START_CMD,"r"); f = popen("/etc/ppp/ppp-4g","r");
if (NULL == f) if (NULL == f)
{ {
@ -233,7 +233,7 @@ ret_code stop_lte()
char result[RESULT_LENGTH] = {0}; char result[RESULT_LENGTH] = {0};
FILE *f = NULL; FILE *f = NULL;
f = popen(STOP_CMD,"r"); f = popen("/etc/ppp/ppp-4g stop","r");
if (NULL == f) if (NULL == f)
{ {
@ -270,7 +270,7 @@ ret_code restart_lte()
int i = 0; int i = 0;
FILE *f = NULL; FILE *f = NULL;
f = popen(RESTART_CMD,"r"); f = popen("/etc/ppp/ppp-4g restart","r");
if (NULL == f) if (NULL == f)
{ {
@ -372,7 +372,7 @@ ret_code status_lte(pointer output, int *output_len)
ret_code ret = RET_OK; ret_code ret = RET_OK;
FILE *f = NULL; FILE *f = NULL;
f = popen(STATUS_CMD,"r"); f = popen("/etc/ppp/ppp-4g status","r");
if(NULL == f) if(NULL == f)
{ {
rpc_log_info("execuate cmd fail\n"); rpc_log_info("execuate cmd fail\n");