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/alp_helpers.cpp
- Revision:
- 37:f5424d109c6d
- Parent:
- 35:ac940cf8ebe6
- Child:
- 38:73ad040ae741
diff -r ac940cf8ebe6 -r f5424d109c6d src/alp_helpers.cpp
--- a/src/alp_helpers.cpp Thu Sep 06 10:41:51 2018 +0000
+++ b/src/alp_helpers.cpp Thu Oct 04 09:36:44 2018 +0000
@@ -57,7 +57,7 @@
len += ALP_LFIELD_SIZE(offset) + ALP_LFIELD_SIZE(length);
break;
default:
- //ASSERT(false,"ASSERT: ALP: alp_size unsupported op %d\n",op);
+ ALP_ASSERT(false,"ASSERT: ALP: alp_size unsupported op %d\n",op);
break;
}
return len;
@@ -212,6 +212,13 @@
resp->data = p;
p += resp->meta.itf.length;
}
+ else if (op == ALP_OPCODE_RSP_EOPISTATUS)
+ {
+ resp->type = ALP_OPCODE_RSP_EOPISTATUS;
+ resp->meta.istatus.itf = *p++; // ITF Type
+ p++; // Length (always 1)
+ resp->meta.istatus.err = *p++; // Interface error
+ }
else
{
resp->meta.status.id = *p++; // Action ID
@@ -237,4 +244,3 @@
*payload = p;
return bytes;
} // }}}
-