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:
- 39:bc4fccf2d84b
- Parent:
- 37:f5424d109c6d
- Child:
- 41:6f83174ffed4
--- a/src/modem_ref.cpp Thu Oct 04 09:58:18 2018 +0000
+++ b/src/modem_ref.cpp Thu Oct 04 11:42:00 2018 +0000
@@ -4,7 +4,7 @@
#include "modem_ref.h"
#include "kal_crypto.h"
-#if 1
+#if 0
#define REF_PRINT(...) PRINT(__VA_ARGS__)
#define URC_PRINT(...) PRINT(__VA_ARGS__)
#else
@@ -75,7 +75,7 @@
s8 err = ALP_ERR_NONE;
u8 eop;
uint32_t parsed;
- //REF_PRINT("input 0x%x/%d Bytes\n",flowid,size);
+ REF_PRINT("input 0x%x/%d Bytes\n",flowid,size);
switch (flowid)
{
case WC_FLOW_ALP_UNS:
@@ -88,7 +88,7 @@
break;
}
rem -= parsed;
- //REF_PRINT("Rem %d Bytes\n", rem);
+ REF_PRINT("Rem %d Bytes\n", rem);
// This should always be a TAG'ed request in case of FS access...
if (r.type == ALP_OPCODE_TAG)
{
@@ -193,6 +193,7 @@
break;
}
rem -= parsed;
+ REF_PRINT("Rem %d Bytes\n", rem);
ASSERT((r.type == ALP_OPCODE_RSP_TAG),"ASSERT: expecting RESP_TAG got %d\n",r.type);
id = r.meta.tag.id;
@@ -219,6 +220,7 @@
break;
}
rem -= parsed;
+ REF_PRINT("Rem %d Bytes\n", rem);
switch (r.type)
{