Okundu Omeni
/
wifi-https-ble-sm-uart-atcmd-5-13-1
this is using the mbed os version 5-13-1
source/common_config.h@93:06e755a80187, 2019-04-14 (annotated)
- Committer:
- ocomeni
- Date:
- Sun Apr 14 14:38:51 2019 +0000
- Revision:
- 93:06e755a80187
- Parent:
- 92:ec9550034276
- Child:
- 95:290859010c8c
fixed bug with wifi configuration API (was adding an extra character causing wifi connection to fail because of incorrect credentials)
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
ocomeni | 74:f26e846adfe9 | 1 | #ifndef __COMMON_CONFIG_H__ |
ocomeni | 74:f26e846adfe9 | 2 | #define __COMMON_CONFIG_H__ |
ocomeni | 74:f26e846adfe9 | 3 | |
ocomeni | 74:f26e846adfe9 | 4 | #define DEFAULT_BAUD_RATE 115200 |
ocomeni | 74:f26e846adfe9 | 5 | #define BUFFER_LEN 256 |
ocomeni | 74:f26e846adfe9 | 6 | #define TX_BUFFER_LEN 4*256 |
ocomeni | 74:f26e846adfe9 | 7 | #define RX_BUFFER_LEN 4*256 |
ocomeni | 74:f26e846adfe9 | 8 | #define BTLE_THREAD_PRIORITY osPriorityRealtime |
ocomeni | 88:7ffa053be662 | 9 | #define WIFI_THREAD_PRIORITY osPriorityHigh |
ocomeni | 74:f26e846adfe9 | 10 | #define ATCMD_THREAD_PRIORITY osPriorityRealtime |
ocomeni | 74:f26e846adfe9 | 11 | #ifndef UBLOX_ODIN_W2_RECV_TIMEOUT |
ocomeni | 84:7c7add00f4bf | 12 | #define UBLOX_ODIN_W2_RECV_TIMEOUT 100 |
ocomeni | 74:f26e846adfe9 | 13 | #endif |
ocomeni | 92:ec9550034276 | 14 | #define USE_MALLOC_FOR_COMMAND_MEMORY_POOL |
ocomeni | 93:06e755a80187 | 15 | #define WIFI_CONNECT_TIMEOUT_SECS 10 |
ocomeni | 87:99b37d26ff2a | 16 | #define PQDSZ 2 // size of Pool/Queue data structures |
ocomeni | 83:9c271a50a70b | 17 | const uint8_t hello_msg[] = {0xaa,0x00,0x96,0x00,0x36,0x00,0x50,0x4f |
ocomeni | 83:9c271a50a70b | 18 | ,0x53,0x54,0x20,0x2f,0x6e,0x75,0x64,0x67 |
ocomeni | 83:9c271a50a70b | 19 | ,0x65,0x62,0x6f,0x78,0x2f,0x76,0x31,0x20 |
ocomeni | 83:9c271a50a70b | 20 | ,0x48,0x54,0x54,0x50,0x2f,0x31,0x2e,0x31 |
ocomeni | 83:9c271a50a70b | 21 | ,0x0d,0x0a,0x48,0x6f,0x73,0x74,0x3a,0x20 |
ocomeni | 83:9c271a50a70b | 22 | ,0x33,0x35,0x2e,0x31,0x37,0x36,0x2e,0x31 |
ocomeni | 83:9c271a50a70b | 23 | ,0x39,0x32,0x2e,0x33,0x33,0x3a,0x38,0x30 |
ocomeni | 83:9c271a50a70b | 24 | ,0x0d,0x0a,0x41,0x63,0x63,0x65,0x70,0x74 |
ocomeni | 83:9c271a50a70b | 25 | ,0x3a,0x20,0x2a,0x2f,0x2a,0x0d,0x0a,0x43 |
ocomeni | 83:9c271a50a70b | 26 | ,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x2d,0x54 |
ocomeni | 83:9c271a50a70b | 27 | ,0x79,0x70,0x65,0x3a,0x20,0x61,0x70,0x70 |
ocomeni | 83:9c271a50a70b | 28 | ,0x6c,0x69,0x63,0x61,0x74,0x69,0x6f,0x6e |
ocomeni | 83:9c271a50a70b | 29 | ,0x2f,0x6f,0x63,0x74,0x65,0x74,0x2d,0x73 |
ocomeni | 83:9c271a50a70b | 30 | ,0x74,0x72,0x65,0x61,0x6d,0x0d,0x0a,0x43 |
ocomeni | 83:9c271a50a70b | 31 | ,0x6f,0x6e,0x74,0x65,0x6e,0x74,0x2d,0x4c |
ocomeni | 83:9c271a50a70b | 32 | ,0x65,0x6e,0x67,0x74,0x68,0x3a,0x20,0x32 |
ocomeni | 83:9c271a50a70b | 33 | ,0x30,0x0d,0x0a,0x0d,0x0a,0x00,0x08,0xd4 |
ocomeni | 83:9c271a50a70b | 34 | ,0xca,0x6e,0x79,0x05,0x4e,0x01,0x68,0x65 |
ocomeni | 83:9c271a50a70b | 35 | ,0x6c,0x6c,0x6f,0x00,0x00,0x91,0xb5,0xa4 |
ocomeni | 83:9c271a50a70b | 36 | ,0x10,0x55}; |
ocomeni | 74:f26e846adfe9 | 37 | #endif // __COMMON_CONFIG_H__ |