Browse Source

Fixing BT-pairing + pinning of lib-releases

master
Torsten Stauder 4 years ago
parent
commit
cc78ea9b20
  1. 24
      platformio.ini
  2. 1
      src/Bluetooth.cpp
  3. 2
      src/revision.h

24
platformio.ini

@ -16,20 +16,20 @@ extra_scripts = pre:processHtml.py
lib_deps = lib_deps =
SPI SPI
Wire 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/biologist79/ESP32FTPServer
https://github.com/FastLED/FastLED.git#3.4.0 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 = platform_packages =
platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#1.0.6 platformio/framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#1.0.6

1
src/Bluetooth.cpp

@ -22,6 +22,7 @@ void Bluetooth_Init(void) {
.data_out_num = I2S_DOUT, .data_out_num = I2S_DOUT,
.data_in_num = I2S_PIN_NO_CHANGE}; .data_in_num = I2S_PIN_NO_CHANGE};
a2dp_sink->set_pin_config(pin_config); a2dp_sink->set_pin_config(pin_config);
a2dp_sink->activate_pin_code(false);
a2dp_sink->start((char *)FPSTR(nameBluetoothDevice)); a2dp_sink->start((char *)FPSTR(nameBluetoothDevice));
} else { } else {
esp_bt_mem_release(ESP_BT_MODE_BTDM); esp_bt_mem_release(ESP_BT_MODE_BTDM);

2
src/revision.h

@ -1,4 +1,4 @@
#ifndef __REVISION_H__ #ifndef __REVISION_H__
#define __REVISION_H__ #define __REVISION_H__
constexpr const char softwareRevision[] PROGMEM = "Software-revision: 20210911-1";
constexpr const char softwareRevision[] PROGMEM = "Software-revision: 20210924-1";
#endif #endif
Loading…
Cancel
Save