2018-10-30 07:56:51 +00:00
|
|
|
// Place Holder Config File - User config vars and defines to be moved here
|
2018-10-30 08:00:19 +00:00
|
|
|
// Jimmy C
|
2018-10-30 11:05:29 +00:00
|
|
|
|
2018-10-31 18:57:21 +00:00
|
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Configure bluetooth options
|
|
|
|
// ** Recommended to use HC-05 for now **
|
2018-10-31 20:55:25 +00:00
|
|
|
// If none are enabled, we'll use an abstract class that only reports
|
|
|
|
// to the debug port what would have been sent
|
2018-10-31 18:57:21 +00:00
|
|
|
//
|
2018-10-31 20:55:25 +00:00
|
|
|
#define USE_HC05_BLUETOOTH 1
|
|
|
|
#define USE_BLE_BLUETOOTH 0
|
|
|
|
#define USE_CLASSIC_BLUETOOTH 0
|
|
|
|
|
2018-11-07 18:23:40 +00:00
|
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Configure WiFi options
|
|
|
|
//
|
|
|
|
// *** Presently ESP32 Bluetooth and WiFi do not co-exist well (ala don't work!) ***
|
|
|
|
// HC-05 works OK with WiFi
|
|
|
|
//
|
|
|
|
#define USE_WIFI 1
|
|
|
|
#define USE_OTA 1
|
|
|
|
#define USE_WEBSERVER 1
|
2018-11-07 10:31:00 +00:00
|
|
|
|
2018-10-31 20:55:25 +00:00
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
// limit rate of Bluetooth delivery from enthusiastic OEM controllers
|
|
|
|
//
|
|
|
|
#define OEM_TO_BLUETOOTH_MODERATION_TIME 700
|
2018-11-06 03:23:28 +00:00
|
|
|
// show when we did moderate data frames to bluetooth
|
2018-10-31 20:55:25 +00:00
|
|
|
#define REPORT_SUPPRESSED_OEM_DATA_FRAMES 0
|
|
|
|
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
// debug reporting options
|
|
|
|
//
|
|
|
|
// true: each frame of data is reported on a new lines
|
|
|
|
// false: controller, then heater response frmaes are reported on a single line (excel CSV worthy!)
|
|
|
|
//
|
|
|
|
#define TERMINATE_OEM_LINE false /* when an OEM controller exists */
|
|
|
|
#define TERMINATE_BTC_LINE false /* when an OEM controller does not exist */
|
|
|
|
|
2018-11-06 09:43:54 +00:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
// LED monitoring
|
|
|
|
//
|
|
|
|
// 1: enable specific LED function
|
|
|
|
// 0: disable specific LED function
|
|
|
|
//
|
|
|
|
#define RX_LED 1 /* flash when receiving blue wire data */
|
|
|
|
#define BT_LED 0 /* flash when sending bluetooth data */
|
2018-11-13 11:02:14 +00:00
|
|
|
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
// DS18B20 temperature sensing
|
|
|
|
//
|
|
|
|
#define TEMPERATURE_INTERVAL 1000
|
2018-11-19 19:31:20 +00:00
|
|
|
|
|
|
|
|
|
|
|
#define SUPPORT_OEM_CONTROLLER 0
|