this is using the mbed os version 5-13-1
Diff: source/common_config.h
- Revision:
- 100:80ef4bc31b7a
- Parent:
- 99:05398b3184f8
- Child:
- 102:9748f290a1a5
--- a/source/common_config.h Mon Apr 22 11:11:41 2019 +0000 +++ b/source/common_config.h Mon Apr 22 18:34:31 2019 +0000 @@ -18,6 +18,7 @@ #define DEFAULT_BTLE_CHANNEL 1 #define WIFI_LINK_ENABLED "+UUWLE:" #define NETWORK_UP_URC "+UUNU" +#define PEER_CONNECTED_URC "+UUDPC:" #define NETWORK_STATUS "+UNSTAT=" #define WIFI_NETWORK_STATUS "+UWSSTAT=" #define UDDRP_ERROR "\r\nERROR\r\n" @@ -30,6 +31,9 @@ #define TCP_PROTOCOL 0 #define UDP_PROTOCOL 1 #define IPv4_CONNECTION 0x02 +#define IP_PEER_HANDLE 0x02 +#define BTLE_PEER_HANDLE 0x01 +#define DEFAULT_LOCAL_PORT 0 #define PQDSZ 2 // size of Pool/Queue data structures typedef enum