this is using the mbed os version 5-13-1
Diff: source/common_types.h
- Revision:
- 92:ec9550034276
- Parent:
- 90:ed0267eca7b5
- Child:
- 93:06e755a80187
--- a/source/common_types.h Sun Apr 07 17:31:56 2019 +0000
+++ b/source/common_types.h Sat Apr 13 14:17:29 2019 +0000
@@ -19,7 +19,7 @@
/** ble configuration structure
*/
-typedef struct ble_config {
+typedef struct {
char deviceName[BLE_MAX_DEVICE_NAME_LEN]; /* BLE Device Name */
uint16_t advInterval; /* advertising interval in msecs */
uint16_t advTimeout; /* advertising timeout in secs */
@@ -29,7 +29,7 @@
/** ble configuration structure
*/
-typedef struct wifi_config {
+typedef struct {
char ssid[MAX_SSID_LEN]; /* WiFi SSID */
char pass[MAX_PASSKEY_LEN]; /* WiFi Passkey */
nsapi_security_t security; /* WiFi security */
@@ -37,13 +37,13 @@
/** ble configuration structure
*/
-typedef struct app_config {
+typedef struct {
wifi_config_t wifi_config; /* wifi configuration */
ble_config_t ble_config; /* ble configuration */
} app_config_t;
-typedef enum wifi_cmd
+typedef enum
{
WIFI_CMD_NONE,
WIFI_CMD_CONFIG,
@@ -56,7 +56,7 @@
WIFI_CMD_SEND_HTTP_REQ
}wifi_cmd_t;
-typedef enum at_cmd_resp
+typedef enum
{
AT_RESP_NONE,
AT_SCAN_RESP,