Bluetooth problem nodemcu

please help me, library has instaled, esp8266 nodemcu

Arduino:1.8.19 (Windows Store 1.8.57.0) (Windows 10), Płytka:"NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Disabled (new aborts on oom), Disabled, All SSL ciphers (most compatible), 32KB cache + 32KB IRAM (balanced), Use pgm_read macros for IRAM/PROGMEM, 4MB (FS:2MB OTA:~1019KB), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200"

sketch_may09a:3:17: error: no matching function for call to 'BluetoothSerial::BluetoothSerial()'

3 | BluetoothSerial SerialBT;

  |                 ^~~~~~~~

In file included from D:\Dokumenty\Arduino\sketch_may09a\sketch_may09a.ino:1:

D:\Dokumenty\Arduino\libraries\BluetoothSerial\src/BluetoothSerial.h:42:5: note: candidate: 'BluetoothSerial::BluetoothSerial(HardwareSerial&, bool)'

42 | BluetoothSerial(HardwareSerial& serial, bool verbose = true);

  |     ^~~~~~~~~~~~~~~

D:\Dokumenty\Arduino\libraries\BluetoothSerial\src/BluetoothSerial.h:42:5: note: candidate expects 2 arguments, 0 provided

D:\Dokumenty\Arduino\libraries\BluetoothSerial\src/BluetoothSerial.h:17:7: note: candidate: 'constexpr BluetoothSerial::BluetoothSerial(const BluetoothSerial&)'

17 | class BluetoothSerial {

  |       ^~~~~~~~~~~~~~~

D:\Dokumenty\Arduino\libraries\BluetoothSerial\src/BluetoothSerial.h:17:7: note: candidate expects 1 argument, 0 provided

D:\Dokumenty\Arduino\libraries\BluetoothSerial\src/BluetoothSerial.h:17:7: note: candidate: 'constexpr BluetoothSerial::BluetoothSerial(BluetoothSerial&&)'

D:\Dokumenty\Arduino\libraries\BluetoothSerial\src/BluetoothSerial.h:17:7: note: candidate expects 1 argument, 0 provided

D:\Dokumenty\Arduino\sketch_may09a\sketch_may09a.ino: In function 'void setup()':

sketch_may09a:9:18: error: invalid conversion from 'const char*' to 'int' [-fpermissive]

9 |   SerialBT.begin("ESP32 LED"); // Inicjalizacja komunikacji Bluetooth z nazwą modułu

  |                  ^~~~~~~~~~~

  |                  |

  |                  const char*

In file included from D:\Dokumenty\Arduino\sketch_may09a\sketch_may09a.ino:1:

D:\Dokumenty\Arduino\libraries\BluetoothSerial\src/BluetoothSerial.h:51:20: note: initializing argument 1 of 'void BluetoothSerial::begin(int)'

51 | void begin(int baudRate = 9600);

  |                ~~~~^~~~~~~~~~~~~~~

D:\Dokumenty\Arduino\sketch_may09a\sketch_may09a.ino: In function 'void loop()':

sketch_may09a:14:16: error: 'class BluetoothSerial' has no member named 'available'

14 | if (SerialBT.available()) {

  |                ^~~~~~~~~

sketch_may09a:15:34: error: 'class BluetoothSerial' has no member named 'read'

15 | char receivedChar = SerialBT.read(); // Odczyt danych z modułu Bluetooth

  |                                  ^~~~

sketch_may09a:19:16: error: 'class BluetoothSerial' has no member named 'println'

19 | SerialBT.println("LED on"); // Wysłanie wiadomości zwrotnej przez Bluetooth

  |                ^~~~~~~

sketch_may09a:22:16: error: 'class BluetoothSerial' has no member named 'println'

22 | SerialBT.println("LED off"); // Wysłanie wiadomości zwrotnej przez Bluetooth

  |                ^~~~~~~

Znaleziono wiele bibliotek w "BluetoothSerial.h"

Wykorzystane: D:\Dokumenty\Arduino\libraries\BluetoothSerial

Niewykorzystane: D:\Dokumenty\Arduino\libraries\BluetoothSerial-1.1.0

exit status 1

no matching function for call to 'BluetoothSerial::BluetoothSerial()'

Ten raport powinien zawierać więcej informacji jeśli w
File -> Preferencje zostanie włączona opcja "Pokaż
szczegółowe informacje podczas kompilacji"

Welcome to the forum

Your topic has nothing to do with the installation or operation of IDE 1,x so it has been moved to the Programming Qustions category of the forum

Please post your full sketch, using code tags when you do

In my experience the easiest way to tidy up the code and add the code tags is as follows

Start by tidying up your code by using Tools/Auto Format in the IDE to make it easier to read. Then use Edit/Copy for Forum and paste what was copied in a new reply. Code tags will have been added to the code to make it easy to read in the forum thus making it easier to provide help.

Is the BluetoothSerial library compatible with the ESP8266 or only the ESP32 ?

See arduino-esp32/libraries/BluetoothSerial at master · espressif/arduino-esp32 · GitHub

In fact, can the ESP8266 do Bluetooth at all ?

I think the answer is No and No.