this is using the mbed os version 5-13-1
Diff: source/common_types.h
- Branch:
- PassingRegression
- Revision:
- 121:ac4f59839e4f
- Parent:
- 120:779b74689747
- Child:
- 122:62166886db5f
--- a/source/common_types.h Mon May 27 17:00:43 2019 +0000
+++ b/source/common_types.h Sat Jun 01 15:29:03 2019 +0000
@@ -250,10 +250,16 @@
uint16_t remote_port; /* remote port */
} internet_config_t;
+typedef struct {
+ bool ble_enable; /* enable BLE on startup */
+ bool wifi_enable; /* enable WiFi on startup */
+} startup_config_t;
+
/** application configuration structure
*/
typedef struct {
+ startup_config_t startup_config;
uart_config_t uart_config; /* UART configuration */
wifi_config_t wifi_config; /* wifi configuration */
ble_config_t ble_config; /* ble configuration */
@@ -279,14 +285,14 @@
typedef struct {
ble_cmd_t ble_cmd; /* BLE command */
int dataLen; /* size of data in buffer */
- uint8_t buffer[MAX_BLE_PACKET_SIZE]; /* buffer length */
+ uint8_t buffer[MAX_BLE_POOL_DATA_SIZE]; /* buffer length */
} at_ble_msg_t;
typedef struct {
at_cmd_resp_t at_resp; /* AT response */
int dataLen; /* size of data in buffer */
- uint8_t buffer[MAX_BLE_PACKET_SIZE]; /* buffer length */
+ uint8_t buffer[MAX_BLE_POOL_DATA_SIZE]; /* buffer length */
} ble_at_msg_t;