Commit graph

9 commits

Author SHA1 Message Date
rljonesau
7be3424359 Switched to HC-05.
quick push for James
2018-10-27 17:35:17 +11:00
rljonesau
a156062a94 Removed String vars - rumours of heap fragmentation causing long term issues
Report data frames within BT functions.
Improved command decode reporting
2018-10-20 22:28:32 +11:00
rljonesau
1325ae6038 Added NV Storage for ESP32
Changed "USB" to "DebugPort"
Tidy up of blue wire data frames and passing about by reference instead of just the data buffer.
Added AppInventor application
2018-10-20 18:11:23 +11:00
rljonesau
5d112d7e64 Added #ifdef BLUETOOTH to knobble Bluetooth functions if required 2018-10-18 21:09:18 +11:00
rljonesau
399ca22c5a Functionality works with ESP32 BLE or classic (not simultaneously)
Use #ifdef ESP32_USE_BLE_RLJ to toggle modes.

Also broken out bluetooth functions into a few files for better separation of code.
2018-10-18 20:49:14 +11:00
rljonesau
baed4b3079 Beefed up Bluetooth handling to include tuning parameters.
Changed Tx headers to [OEM] and [BTC] for the OEM controller and this Bluetooth controller.
Added #ifdefs to accomodate Mega and ESP32.
Built and tested on ESP32, Serial1 talks to heater OK using standard pin numbering :-)
2018-10-15 18:14:12 +11:00
rljonesau
5c1f68369a CProtocol now, not CFrame 2018-09-23 19:15:49 +10:00
rljonesau
961c5b8b29 changed to protocol.h/.cpp 2018-09-23 18:59:19 +10:00
rljonesau
9818b33e47 Automatically detects if another controller exists on the blue wire.
If found, it parrots the settings, but allows on/off commands to be inserted by a user.
If no other controller detected, it falls back and delivers our settings each second.

Currently reports all packets to USB, but will move onto Bluetooth delivery of heater data soon.
2018-09-23 16:31:09 +10:00