this is using the mbed os version 5-13-1
Diff: source/common_types.h
- Revision:
- 80:e8f0e92e3ac9
- Parent:
- 79:a2187bbfa407
- Child:
- 81:637a87eb8170
--- a/source/common_types.h Wed Mar 20 21:02:47 2019 +0000
+++ b/source/common_types.h Thu Mar 21 22:17:28 2019 +0000
@@ -3,6 +3,7 @@
#include <mbed.h>
#include "ble/BLE.h"
#include "SecurityManager.h"
+#include "common_config.h"
#define BLE_MAX_DEVICE_NAME_LEN 10
#define MAX_SSID_LEN 32
#define MAX_PASSKEY_LEN 32
@@ -48,5 +49,10 @@
wifi_cmd_t wifi_cmd; /* wifi command */
} wifi_cmd_message_t;
+typedef struct {
+ wifi_cmd_t wifi_cmd; /* wifi data command */
+ uint8_t Buffer[TX_BUFFER_LEN]; /* buffer length */
+} wifi_data_msg_t;
+
#endif // __COMMON_TYPES_H__
\ No newline at end of file