Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: modem_ref_helper_for_v5_3_217
Diff: src/modem_ref.cpp
- Revision:
- 25:14c01b9fc04d
- Parent:
- 24:3d8dd1d6e3de
- Child:
- 26:2c934a269914
--- a/src/modem_ref.cpp Wed Jan 31 11:37:58 2018 +0000
+++ b/src/modem_ref.cpp Tue Feb 27 11:05:38 2018 +0000
@@ -152,10 +152,12 @@
g_modem.istatus.data);
break;
case ALP_OPCODE_RSP_URC:
- if (r.meta.urc.type == ALP_URC_TYPE_LQUAL)
+ if (ALP_URC_TYPE_LQUAL == r.meta.urc.type)
g_modem.cb->lqual(r.meta.urc.ifid,r.meta.urc.per);
- else if (r.meta.urc.type == ALP_URC_TYPE_LQUAL)
+ else if (ALP_URC_TYPE_LDOWN == r.meta.urc.type)
g_modem.cb->ldown(r.meta.urc.ifid);
+ else if (ALP_URC_TYPE_BUSY == r.meta.urc.type)
+ g_modem.cb->busy(r.meta.urc.ifid);
else
ASSERT(false,"ASSERT: Unsupported ALP URC: %d\n",r.meta.urc.type);
break;