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:
- 118:8df0e9c2ee3f
- Parent:
- 110:c722dda4f2ff
- Child:
- 119:8d939a902333
--- a/source/common_config.h Sun May 19 16:22:59 2019 +0000 +++ b/source/common_config.h Sat May 25 16:25:42 2019 +0000 @@ -12,7 +12,7 @@ #define UBLOX_ODIN_W2_RECV_TIMEOUT 5 #endif #define USE_MALLOC_FOR_COMMAND_MEMORY_POOL -#define WIFI_CONNECT_TIMEOUT_SECS 10 +#define WIFI_CONNECT_TIMEOUT_SECS 30 #define MAIN_LOOP_WAIT_TIME_MS 100 // milliseconds #define WIFI_MAIN_LOOP_WAIT_TIME_MS 101 // milliseconds #define MAX_RESPONSE_STRING_LEN 512 // maximum response string length of 512 bytes @@ -36,12 +36,15 @@ #define IP_PEER_HANDLE 0x02 #define BTLE_PEER_HANDLE 0x01 #define DEFAULT_LOCAL_PORT 0 -#define PQDSZ 2 // size of Pool/Queue data structures +#define PQDSZ 2 // size of Wifi Pool/Queue data structures +#define PQDSZ_BLE 8 // size of BLE Pool/Queue data structures #define MAX_HTTP_HDR_LEN 512 #define HTTP_HEADER_START_LINE "HTTP/1.1 " #define HTTP_HEADER_CONTENT_TYPE "Content-Type:" #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 ENABLE_MEMORY_CHECKS #define SEND_DEBUG_MESSAGES typedef enum