this is using the mbed os version 5-13-1
Diff: source/ATCmdManager.h
- Revision:
- 103:7b566b522427
- Parent:
- 99:05398b3184f8
- Child:
- 104:11e9605093c9
--- a/source/ATCmdManager.h Wed Apr 24 17:34:17 2019 +0000
+++ b/source/ATCmdManager.h Thu May 02 21:50:17 2019 +0000
@@ -15,6 +15,7 @@
#define OK_RESP "\r\nOK\r\n"
#define ERROR_RESP "\r\nERROR\r\n"
+#define BOX_UBLOX_DEMO_TESTING
extern void print_memory_info();
class ATCmdManager {
public:
@@ -69,6 +70,9 @@
edm_header_t edm_hdr;
uint8_t *rx_buf_ptr;
int debug_flag;
+#ifdef BOX_UBLOX_DEMO_TESTING
+ bool check_for_at_cmd;
+#endif
// OOB processing
void _process_oob(uint32_t timeout, bool all);
@@ -121,6 +125,7 @@
void sendAtConfirmationFreeMpool(const char *buf);
void sendAtEvent(const char *buf);
void sendConnectEvent(const uint8_t *buf, int len);
+ int readAtCommandString(char *strbuf, size_t bufLen);
/**
* Allows timeout to be changed between commands