WiP: Added URC support to ATParser

This commit is contained in:
Mati
2019-07-17 16:26:59 +02:00
parent f543aee9a6
commit fb2c58f0c2
6 changed files with 107 additions and 31 deletions

View File

@@ -71,7 +71,10 @@ void workerTaskFunction(void *ptr) {
InOutSerialWorker *inst = reinterpret_cast<InOutSerialWorker *>(ptr);
while (1) {
inst->cellular->Wait(UINT32_MAX);
auto ret = inst->cellular->Wait(UINT32_MAX);
if(ret == 0){
continue;
}
// AT mode is used only during initialization phase
if (inst->mode == InOutSerialWorker::Mode::AT) {