Exportable version of WizziLab's modem driver.

Dependents:   modem_ref_helper

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;