ThingPlug Test
Dependents: WizFi310_ThingPlug_Test WizFi310_ThingPlug_Test_P
Fork of WizFi310Interface by
Diff: WizFi310/WizFi310_at.cpp
- Revision:
- 1:16e57103a7dd
- Parent:
- 0:df571f8f8c03
- Child:
- 7:b7019399eb1e
diff -r df571f8f8c03 -r 16e57103a7dd WizFi310/WizFi310_at.cpp --- a/WizFi310/WizFi310_at.cpp Wed Oct 05 09:40:30 2016 +0000 +++ b/WizFi310/WizFi310_at.cpp Mon Oct 10 05:12:51 2016 +0000 @@ -69,6 +69,7 @@ if (_state.ok && _state.res == RES_NULL){ break; } + if (_state.failure || t.read_ms() > timeout) { WIZ_WARN("failure of timeout[%d]ms\r\n",t.read_ms());