From cc78ea9b20ee5e05818999d6286613d50df9fa02 Mon Sep 17 00:00:00 2001 From: Torsten Stauder Date: Fri, 24 Sep 2021 22:54:15 +0200 Subject: [PATCH] Fixing BT-pairing + pinning of lib-releases --- platformio.ini | 24 ++++++++++++------------ src/Bluetooth.cpp | 1 + src/revision.h | 2 +- 3 files changed, 14 insertions(+), 13 deletions(-) diff --git a/platformio.ini b/platformio.ini index 5e3cbba..fc5ee5d 100644 --- a/platformio.ini +++ b/platformio.ini @@ -16,20 +16,20 @@ extra_scripts = pre:processHtml.py lib_deps = SPI Wire - https://github.com/schreibfaul1/ESP32-audioI2S.git - https://github.com/madhephaestus/ESP32Encoder.git - https://github.com/knolleary/pubsubclient.git + https://github.com/schreibfaul1/ESP32-audioI2S.git#dedcbea + https://github.com/madhephaestus/ESP32Encoder.git#bdfbdbc + https://github.com/knolleary/pubsubclient.git#2d228f2 https://github.com/biologist79/ESP32FTPServer https://github.com/FastLED/FastLED.git#3.4.0 - https://github.com/me-no-dev/ESPAsyncWebServer.git - https://github.com/me-no-dev/AsyncTCP - https://github.com/bblanchon/ArduinoJson.git - https://github.com/pschatzmann/ESP32-A2DP.git#5a81452 - https://github.com/Arduino-IRremote/Arduino-IRremote.git - https://github.com/kkloesener/MFRC522_I2C.git - https://github.com/miguelbalboa/rfid.git - https://github.com/tuniii/LogRingBuffer.git - https://github.com/tueddy/PN5180-Library.git + https://github.com/me-no-dev/ESPAsyncWebServer.git#1d46269 + https://github.com/me-no-dev/AsyncTCP.git#ca8ac5f + https://github.com/bblanchon/ArduinoJson.git#f51ccb5 + https://github.com/pschatzmann/ESP32-A2DP.git#2800d69 + https://github.com/Arduino-IRremote/Arduino-IRremote.git#ed94895 + https://github.com/kkloesener/MFRC522_I2C.git#121a27e + https://github.com/miguelbalboa/rfid.git#ba72b92 + https://github.com/tuniii/LogRingBuffer.git#89d7d3e + https://github.com/tueddy/PN5180-Library.git#0353104 platform_packages = platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#1.0.6 diff --git a/src/Bluetooth.cpp b/src/Bluetooth.cpp index 8a5c62d..ab53e71 100644 --- a/src/Bluetooth.cpp +++ b/src/Bluetooth.cpp @@ -22,6 +22,7 @@ void Bluetooth_Init(void) { .data_out_num = I2S_DOUT, .data_in_num = I2S_PIN_NO_CHANGE}; a2dp_sink->set_pin_config(pin_config); + a2dp_sink->activate_pin_code(false); a2dp_sink->start((char *)FPSTR(nameBluetoothDevice)); } else { esp_bt_mem_release(ESP_BT_MODE_BTDM); diff --git a/src/revision.h b/src/revision.h index e8d2178..6f25352 100644 --- a/src/revision.h +++ b/src/revision.h @@ -1,4 +1,4 @@ #ifndef __REVISION_H__ #define __REVISION_H__ - constexpr const char softwareRevision[] PROGMEM = "Software-revision: 20210911-1"; + constexpr const char softwareRevision[] PROGMEM = "Software-revision: 20210924-1"; #endif \ No newline at end of file