Okundu Omeni
/
wifi-https-ble-sm-uart-atcmd-5-13-1
this is using the mbed os version 5-13-1
Diff: source/common_config.h
- Branch:
- PassingRegression
- Revision:
- 121:ac4f59839e4f
- Parent:
- 119:8d939a902333
- Child:
- 122:62166886db5f
--- a/source/common_config.h Mon May 27 17:00:43 2019 +0000 +++ b/source/common_config.h Sat Jun 01 15:29:03 2019 +0000 @@ -30,11 +30,15 @@ #define WIFI_CONFIG_ID 0 #define WIFI_INTERFACE_ID 0 #define DEFAULT_DNS_ADDRESS "0.0.0.0" +#define BLE_CONNECTION 1 #define TCP_PROTOCOL 0 #define UDP_PROTOCOL 1 #define IPv4_CONNECTION 0x02 #define IP_PEER_HANDLE 0x02 #define BTLE_PEER_HANDLE 0x01 +#define GATT_TYPE 0x00 +#define BLE_UUID_PROFILE 3 +#define BLE_FRAME_SIZE 64 #define DEFAULT_LOCAL_PORT 0 #define PQDSZ 2 // size of Wifi Pool/Queue data structures #define PQDSZ_BLE 8 // size of BLE Pool/Queue data structures @@ -44,7 +48,7 @@ #define HTTP_HEADER_CONTENT_LEN "Content-Length:" #define QUEUE_WAIT_TIMEOUT_MS 1000 #define CLOUD_RETRY_TIME_MS 10000 -#define MAX_BLE_PACKET_SIZE 20 +#define MAX_BLE_POOL_DATA_SIZE 40 #define BLE_PROCESS_QUEUES_INTERVAL_MS 200 // check BLE queues every 200 ms //#define ENABLE_MEMORY_CHECKS #define SEND_DEBUG_MESSAGES