1technophile / OpenMQTTGateway

MQTT gateway for ESP8266 or ESP32 with bidirectional 433mhz/315mhz/868mhz, Infrared communications, BLE, Bluetooth, beacons detection, mi flora, mi jia, LYWSD02, LYWSD03MMC, Mi Scale, TPMS, BBQ thermometer compatibility & LoRa.
https://docs.openmqttgateway.com
GNU General Public License v3.0
3.57k stars 786 forks source link

Using Widora Air (ESP32) - Can't compile with BLE turned on in config. #172

Closed NeoMatrixJR closed 6 years ago

NeoMatrixJR commented 6 years ago

is this normal to have so many multiple definitions? I can't get it to compile.

compile log: - Updated to verbose messages and moved to pastebin

1technophile commented 6 years ago

I relaunched a build to see if esp32 env update makes the build broken, you can follow the result here: https://travis-ci.org/1technophile/OpenMQTTGateway/jobs/336738178

if it is ok (passing), your issue is most likely due to a bad component version

1technophile commented 6 years ago

the components used for this build can be found here: https://github.com/1technophile/OpenMQTTGateway/blob/master/.travis.yml

In particular in your case: https://github.com/nkolban/ESP32_BLE_Arduino/archive/f8fe9d7cdfb20caa54b70849826d1ac6e375ff78.zip overwrite the two files as stated in the wiki

1technophile commented 6 years ago

Indeed the link given in the library folder is not good the last version of ESP32_BLE_Arduino doesn't compile, I confirm that you can take this one and it compile: https://github.com/nkolban/ESP32_BLE_Arduino/archive/f8fe9d7cdfb20caa54b70849826d1ac6e375ff78.zip

NeoMatrixJR commented 6 years ago

@1technophile - I grabbed that last zip you posted and dropped it in place. Do I still need to modify the files with the ones on the wiki? Just straight dropping in the zip produced this: Recompile pastebin with new zip

1technophile commented 6 years ago

Yes you have to overwrite the 2 files

NeoMatrixJR commented 6 years ago

works!