commit
0421779dd7
@ -1087,7 +1087,7 @@ static void ec20_init_thread_entry(void *parameter)
|
|||||||
/* show module version */
|
/* show module version */
|
||||||
for (i = 0; i < (int) resp->line_counts - 1; i++)
|
for (i = 0; i < (int) resp->line_counts - 1; i++)
|
||||||
{
|
{
|
||||||
LOG_D("%s", at_resp_get_line(resp, i + 1))
|
LOG_D("%s", at_resp_get_line(resp, i + 1));
|
||||||
}
|
}
|
||||||
/* Use AT+GSN to query the IMEI of module */
|
/* Use AT+GSN to query the IMEI of module */
|
||||||
AT_SEND_CMD(resp, 0, 300, "AT+GSN");
|
AT_SEND_CMD(resp, 0, 300, "AT+GSN");
|
||||||
|
@ -565,7 +565,7 @@ static void esp8266_init_thread_entry(void *parameter)
|
|||||||
/* show module version */
|
/* show module version */
|
||||||
for (i = 0; i < resp->line_counts - 1; i++)
|
for (i = 0; i < resp->line_counts - 1; i++)
|
||||||
{
|
{
|
||||||
LOG_D("%s", at_resp_get_line(resp, i + 1))
|
LOG_D("%s", at_resp_get_line(resp, i + 1));
|
||||||
}
|
}
|
||||||
/* connect to WiFi AP */
|
/* connect to WiFi AP */
|
||||||
if (at_exec_cmd(at_resp_set_info(resp, 128, 0, 20 * RT_TICK_PER_SECOND), "AT+CWJAP=\"%s\",\"%s\"",
|
if (at_exec_cmd(at_resp_set_info(resp, 128, 0, 20 * RT_TICK_PER_SECOND), "AT+CWJAP=\"%s\",\"%s\"",
|
||||||
|
@ -660,7 +660,7 @@ static void m26_init_thread_entry(void *parameter)
|
|||||||
/* show module version */
|
/* show module version */
|
||||||
for (i = 0; i < (int) resp->line_counts - 1; i++)
|
for (i = 0; i < (int) resp->line_counts - 1; i++)
|
||||||
{
|
{
|
||||||
LOG_D("%s", at_resp_get_line(resp, i + 1))
|
LOG_D("%s", at_resp_get_line(resp, i + 1));
|
||||||
}
|
}
|
||||||
/* check SIM card */
|
/* check SIM card */
|
||||||
for (i = 0; i < CPIN_RETRY; i++)
|
for (i = 0; i < CPIN_RETRY; i++)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user