this is using the mbed os version 5-13-1
Diff: source/ATCmdManager.h
- Revision:
- 83:9c271a50a70b
- Parent:
- 82:10072c1794d3
- Child:
- 84:7c7add00f4bf
--- a/source/ATCmdManager.h Sun Mar 24 17:32:06 2019 +0000
+++ b/source/ATCmdManager.h Tue Mar 26 23:33:51 2019 +0000
@@ -2,6 +2,7 @@
#define __ATCMD_MANAGER_H__
#include <events/mbed_events.h>
#include <mbed.h>
+#include <vector>
#include "ATCmdParser.h"
#include "BleManager.h"
#include "WiFiManager.h"
@@ -63,7 +64,8 @@
//pointer to response data - should be deleted after processing
at_data_msg_t *resp_data;
-
+ edm_header_t edm_hdr;
+ uint8_t *rx_buf_ptr;
// OOB processing
void _process_oob(uint32_t timeout, bool all);
@@ -90,6 +92,7 @@
void _oob_setWiFiSSID();
void _oob_setWiFiPWD();
void _oob_setWiFiSecurity();
+ void _oob_sendHttpMessage();
wifi_config_t init_wifi_config();
const char * sec2str(nsapi_security_t sec);
bool queueWiFiCommand(wifi_cmd_t cmd);
@@ -98,7 +101,9 @@
bool dequeueATdataResponse();
void processResponses();
bool setNextResponse(at_cmd_resp_t resp);
- int readBytes(uint8_t *buf, int maxBytes);
+ int ReadBytes(uint8_t *buf, int maxBytes);
+ int readStringBytes(uint8_t *buf, int maxBytes);
+ bool validate(edm_header_t edm_header);
/**