add stm32h750 iot explorer examples

This commit is contained in:
supowang
2021-04-25 16:38:56 +08:00
parent 7fbfc662e3
commit 89f53ad026
262 changed files with 27896 additions and 12948 deletions

View File

@@ -13,10 +13,10 @@ static int esp8266_restore(void)
int try = 0;
at_echo_t echo;
tos_at_echo_create(&echo, NULL, 0, NULL);
tos_at_echo_create(&echo, NULL, 0, "ready");
while (try++ < 10) {
tos_at_cmd_exec(&echo, 3000, "AT+RESTORE\r\n");
if (echo.status == AT_ECHO_STATUS_OK) {
tos_at_cmd_exec_until(&echo, 5000, "AT+RESTORE\r\n");
if (echo.status == AT_ECHO_STATUS_EXPECT) {
return 0;
}
}