this is using the mbed os version 5-13-1
Diff: source/common_types.h
- Revision:
- 93:06e755a80187
- Parent:
- 92:ec9550034276
- Child:
- 95:290859010c8c
--- a/source/common_types.h Sat Apr 13 14:17:29 2019 +0000
+++ b/source/common_types.h Sun Apr 14 14:38:51 2019 +0000
@@ -70,7 +70,8 @@
AT_HTTPS_RESP,
AT_HTTPS_RESP_DOWNLOAD,
AT_HTTP_RESP,
- AT_HTTP_RESP_DOWNLOAD
+ AT_HTTP_RESP_DOWNLOAD,
+ AT_COMMAND_FAILED
}at_cmd_resp_t;
typedef enum edm_msg_id
@@ -95,7 +96,8 @@
typedef enum channel_id
{
WIFI_CHANNEL = 0x00,
- BLE_CHANNEL = 0x01
+ BLE_CHANNEL = 0x01,
+ NO_CHANNEL = 0xFF
}channel_id_t;
@@ -128,6 +130,7 @@
typedef struct {
wifi_cmd_t wifi_cmd; /* wifi command */
+ uint8_t padding[4-sizeof(wifi_cmd_t)]; /* padding */
} wifi_cmd_message_t;
typedef struct {
@@ -136,6 +139,7 @@
typedef struct {
wifi_cmd_t wifi_cmd; /* wifi data command */
+ uint8_t padding[4-sizeof(wifi_cmd_t)]; /* padding */
int dataLen; /* size of data in buffer */
uint8_t buffer[TX_BUFFER_LEN]; /* buffer length */
} wifi_data_msg_t;