conditional build added for gsm AT commands debug
This commit is contained in:
parent
9d2f6dc3b4
commit
8d8418c8f0
|
|
@ -484,9 +484,9 @@ static HTTP_IO_RESULT HTTPPostSystemSettings(httpd_req_t *req, char *PostData)
|
||||||
{
|
{
|
||||||
if (!strcmp(tmp, (const char*) "1"))
|
if (!strcmp(tmp, (const char*) "1"))
|
||||||
{
|
{
|
||||||
ModemSendAT("AT\r");
|
|
||||||
return HTTP_IO_DONE_NOREFRESH;
|
return HTTP_IO_DONE_NOREFRESH;
|
||||||
}
|
}
|
||||||
|
#if CONFIG_WEBGUIAPP_GPRS_ENABLE
|
||||||
else if (!strcmp(tmp, (const char*) "2"))
|
else if (!strcmp(tmp, (const char*) "2"))
|
||||||
{
|
{
|
||||||
ModemSendAT("AT+CCLK?\r");
|
ModemSendAT("AT+CCLK?\r");
|
||||||
|
|
@ -502,6 +502,7 @@ static HTTP_IO_RESULT HTTPPostSystemSettings(httpd_req_t *req, char *PostData)
|
||||||
ModemSendAT("ATH\r");
|
ModemSendAT("ATH\r");
|
||||||
return HTTP_IO_DONE_NOREFRESH;
|
return HTTP_IO_DONE_NOREFRESH;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
else if (!strcmp(tmp, (const char*) "5"))
|
else if (!strcmp(tmp, (const char*) "5"))
|
||||||
{
|
{
|
||||||
return HTTP_IO_DONE_NOREFRESH;
|
return HTTP_IO_DONE_NOREFRESH;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user