NodeMCU ESP8266 kFirebaseFingerprint Error (Error Compiling For Board NodeMCU 1.0 )

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 มิ.ย. 2021
  • Hi,
    Discussions:-
    github.com/esp8266/Arduino/is...
    Make sure:-
    1. ESP8266 Board version is 2.7.4
    2. Arduino Json Library Version is 5.x
    Complete Error:
    C:\Users\TrickSumo\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp: In member function 'virtual void FirebaseHttpClientEsp8266::begin(const string&)':
    C:\Users\TrickSumo\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:47:50: error: no matching function for call to 'begin(const char*, const char [60])'
    47 | http_.begin(url.c_str(), kFirebaseFingerprint);
    | ^
    In file included from C:\Users\TrickSumo\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:9:
    C:\Users\TrickSumo\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:166:10: note: candidate: 'bool HTTPClient::begin(String, uint16_t, String)' (near match)
    166 | bool begin(String host, uint16_t port, String uri = "/") attribute ((error("obsolete API, use ::begin(WiFiClient, host, port, uri)")));
    | ^~~~~
    C:\Users\TrickSumo\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:166:10: note: conversion of argument 2 would be ill-formed:
    C:\Users\TrickSumo\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:47:30: error: invalid conversion from 'const char*' to 'uint16_t' {aka 'short unsigned int'} [-fpermissive]
    47 | http_.begin(url.c_str(), kFirebaseFingerprint);
    | ^~~~~~~~~~~~~~~~~~~~
    | |
    | const char*
    In file included from C:\Users\TrickSumo\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:9:
    C:\Users\TrickSumo\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:167:10: note: candidate: 'bool HTTPClient::begin(String, const uint8_t*)' (near match)
    167 | bool begin(String url, const uint8_t httpsFingerprint[20]) attribute ((error("obsolete API, use ::begin(WiFiClientSecure, ...)")));
    | ^~~~~
    C:\Users\TrickSumo\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:167:10: note: conversion of argument 2 would be ill-formed:
    C:\Users\TrickSumo\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:47:30: error: invalid conversion from 'const char*' to 'const uint8_t*' {aka 'const unsigned char*'} [-fpermissive]
    47 | http_.begin(url.c_str(), kFirebaseFingerprint);
    | ^~~~~~~~~~~~~~~~~~~~
    | |
    | const char*
    C:\Users\TrickSumo\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp: In member function 'virtual void FirebaseHttpClientEsp8266::begin(const string&, const string&)':
    C:\Users\TrickSumo\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:51:60: error: invalid conversion from 'const char*' to 'const uint8_t*' {aka 'const unsigned char*'} [-fpermissive]
    51 | http_.begin(host.c_str(), kFirebasePort, path.c_str(), kFirebaseFingerprint);
    | ^~~~~~~~~~~~~~~~~~~~
    | |
    | const char*
    In file included from C:\Users\TrickSumo\Documents\Arduino\libraries\firebase-arduino-master\src\FirebaseHttpClient_Esp8266.cpp:9:
    C:\Users\TrickSumo\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.0\libraries\ESP8266HTTPClient\src/ESP8266HTTPClient.h:168:70: note: initializing argument 4 of 'bool HTTPClient::begin(String, uint16_t, String, const uint8_t*)'
    168 | bool begin(String host, uint16_t port, String uri, const uint8_t httpsFingerprint[20]) attribute ((error("obsolete API, use ::begin(WiFiClientSecure, ...)")));
    | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
    exit status 1
    Error compiling for board NodeMCU 1.0 (ESP-12E Module).

ความคิดเห็น • 102

  • @sudhirkotwal2216
    @sudhirkotwal2216 5 หลายเดือนก่อน +1

    Thank you for very good advise. Because I'm using old ESP8266 board, and probably it needs older version of board manager. Thanks again

    • @TrickSumo
      @TrickSumo  5 หลายเดือนก่อน

      😇😇😇

  • @mulroy5542
    @mulroy5542 ปีที่แล้ว +2

    a big thank you from a Frenchman because I too have searched a lot

    • @TrickSumo
      @TrickSumo  ปีที่แล้ว

      Glad it helped.

  • @rifkikamali5150
    @rifkikamali5150 ปีที่แล้ว +2

    Big Thanks from ID🇲🇨

  • @nohafiq3009
    @nohafiq3009 2 ปีที่แล้ว +3

    THANKYOUUU SO MUCHHH ! You saved my life

    • @TrickSumo
      @TrickSumo  2 ปีที่แล้ว +1

      Welcome :)

  • @agradeep23
    @agradeep23 2 ปีที่แล้ว +2

    thankyou so much sir you saved my 6 hrs
    god bless you

    • @TrickSumo
      @TrickSumo  2 ปีที่แล้ว +1

      I'm happy that it helped you :)

  • @abhishekparochiengineerthi7250
    @abhishekparochiengineerthi7250 ปีที่แล้ว +1

    Thank you so much sir

    • @TrickSumo
      @TrickSumo  ปีที่แล้ว

      Most welcome :)

  • @aqildanish2826
    @aqildanish2826 10 หลายเดือนก่อน +1

    Thanks my bro,You save my life !!

    • @TrickSumo
      @TrickSumo  10 หลายเดือนก่อน

      Glad it helped :)

  • @helosr5015
    @helosr5015 2 ปีที่แล้ว +1

    thankyouu sir, it really help me. i have facing this error for 2 days

    • @TrickSumo
      @TrickSumo  2 ปีที่แล้ว +1

      Glad to hear that :)

  • @mithuns1452
    @mithuns1452 ปีที่แล้ว +1

    thanks Bro...Thank U so Much...I have been Facing this error for almost a day...I Surfed through the internet but I dint get any solution....Finally U came bro.......Really Working Bro

    • @TrickSumo
      @TrickSumo  ปีที่แล้ว

      Really happy it helped you! Thank You!

  • @muhammadefanabdulfattah7492
    @muhammadefanabdulfattah7492 2 ปีที่แล้ว +1

    this vid save my day, thanks a ton!

    • @TrickSumo
      @TrickSumo  2 ปีที่แล้ว

      Welcome!!! Your comment made my day :)

  • @techittrangtrechat2504
    @techittrangtrechat2504 2 ปีที่แล้ว +1

    Thank you sir you re really save my life
    God bless you

    • @TrickSumo
      @TrickSumo  2 ปีที่แล้ว

      Nice to know that you find it helpful :)

  • @nimaesmi7534
    @nimaesmi7534 2 ปีที่แล้ว +1

    I am sincerely thankful

  • @ishanchanaka3783
    @ishanchanaka3783 2 ปีที่แล้ว +2

    I trying for this error in before 5 days. I can't find solution for this anyone. Now after i saw your video. Now i did it. Compile done. Your are a got. I waste more time because this error. Thank you very very much.
    💪💪💪💪

    • @TrickSumo
      @TrickSumo  2 ปีที่แล้ว +1

      Happy that it helped. Keep creating :)

  • @chockalingamathilingam4396
    @chockalingamathilingam4396 ปีที่แล้ว

    thank you so much sir
    sir now it is working
    you saved to end of 10 days browsing for this sir

    • @TrickSumo
      @TrickSumo  ปีที่แล้ว

      Glad it helped !!!
      Thanks for your kind words :)

    • @IllIIIIIIllll
      @IllIIIIIIllll ปีที่แล้ว

      Bro can I know the finger print number

  • @rifkinurilham2343
    @rifkinurilham2343 2 ปีที่แล้ว +1

    BIG THANKS TO YOU SIR 🙏 IT'S WORKED

    • @TrickSumo
      @TrickSumo  2 ปีที่แล้ว

      You're welcome :)

  • @AtulYadav-ml4hk
    @AtulYadav-ml4hk 2 ปีที่แล้ว +1

    Thank You So much

    • @TrickSumo
      @TrickSumo  2 ปีที่แล้ว

      You're most welcome

  • @edgarmanriquezherrejon1623
    @edgarmanriquezherrejon1623 2 ปีที่แล้ว +1

    Thank you, it worked!

  • @muhammadarifshidqulaziz4140
    @muhammadarifshidqulaziz4140 2 ปีที่แล้ว

    Thankyouuuuu so much brodi

    • @TrickSumo
      @TrickSumo  2 ปีที่แล้ว

      Happy to help :)

  • @TheRandomTubeYT
    @TheRandomTubeYT 5 หลายเดือนก่อน +1

    omg you are life saver T-T

    • @TrickSumo
      @TrickSumo  5 หลายเดือนก่อน

      😊

  • @NicholasRadina
    @NicholasRadina 2 ปีที่แล้ว +1

    Thank you!

    • @TrickSumo
      @TrickSumo  2 ปีที่แล้ว

      You're welcome!

  • @TacticalStrikeHub
    @TacticalStrikeHub ปีที่แล้ว +1

    thankyou so much bro

  • @worldwait2788
    @worldwait2788 2 ปีที่แล้ว +1

    it worked thanks it was very helpful

    • @TrickSumo
      @TrickSumo  2 ปีที่แล้ว

      You're welcome!

  • @zainabkhalid2714
    @zainabkhalid2714 2 ปีที่แล้ว +1

    Thanks sir! It's really work.
    I am trying to resolve this error last 2 days but it's didn't solve ... Now it's solve ..

    • @TrickSumo
      @TrickSumo  2 ปีที่แล้ว +1

      Welcome :)
      The error occurs because of the Firebase Arduino library. You can try an alternative library to get rid of many fingerprint issues:- th-cam.com/video/nLzC0-VaqDs/w-d-xo.html&lc=UgzZsgxMbFPDcj5msuN4AaABAg

  • @shawonmahmodul8646
    @shawonmahmodul8646 2 ปีที่แล้ว +1

    thank you so much...!!!!!!!!!!!!!!!!!!!!!!!!!

    • @TrickSumo
      @TrickSumo  2 ปีที่แล้ว +1

      You're welcome!

  • @alexanderfernandez9860
    @alexanderfernandez9860 2 ปีที่แล้ว +1

    Thanks you

  • @sivaramasundarr7683
    @sivaramasundarr7683 2 ปีที่แล้ว +1

    Thank you so much sir... Before watching your video, I nearly wasted two days :(

    • @TrickSumo
      @TrickSumo  2 ปีที่แล้ว

      Happy to help

  • @yulianislamprayoga
    @yulianislamprayoga ปีที่แล้ว +1

    THANKYOUUU

    • @TrickSumo
      @TrickSumo  ปีที่แล้ว +1

      You're Welcome :)

  • @all-about-automation
    @all-about-automation 2 ปีที่แล้ว +1

    thanks brother 👍👌

    • @TrickSumo
      @TrickSumo  2 ปีที่แล้ว +1

      Welcome 👍

  • @aryanpokharel1181
    @aryanpokharel1181 7 หลายเดือนก่อน +1

    Thank you brother.

    • @TrickSumo
      @TrickSumo  7 หลายเดือนก่อน

      You're Welcome :)

    • @aryanpokharel1181
      @aryanpokharel1181 7 หลายเดือนก่อน

      @@TrickSumo but im not receiving the LED_STATUS. Could i contact you?

    • @TrickSumo
      @TrickSumo  7 หลายเดือนก่อน

      Yes, feel free to mail me code with full error log.

  • @ahmedmansouri1153
    @ahmedmansouri1153 2 ปีที่แล้ว

    Thank you so Much !!! you saved my life

    • @TrickSumo
      @TrickSumo  2 ปีที่แล้ว

      You're welcome!

  • @89uditha
    @89uditha 2 ปีที่แล้ว

    Thank you very much

    • @TrickSumo
      @TrickSumo  2 ปีที่แล้ว

      You are welcome :)

  • @collegeboyexperiments5780
    @collegeboyexperiments5780 2 ปีที่แล้ว +1

    Thank you so much❤

    • @TrickSumo
      @TrickSumo  2 ปีที่แล้ว

      You're welcome 😊

  • @fayidahmed9879
    @fayidahmed9879 2 ปีที่แล้ว +1

    thank you... you saved me from a hell

    • @TrickSumo
      @TrickSumo  2 ปีที่แล้ว

      Glad I could help :)

  • @PauloZancoski
    @PauloZancoski 2 ปีที่แล้ว

    thank you very much !!!

    • @TrickSumo
      @TrickSumo  2 ปีที่แล้ว +1

      You are welcome!

  • @jahidul_islam_60
    @jahidul_islam_60 ปีที่แล้ว +1

    thank you so much man......
    you just ended my "all day pain in a$$" so much easily..!!!!!

  • @samuelkctweneboah-kodua5660
    @samuelkctweneboah-kodua5660 2 ปีที่แล้ว +1

    congrats is working now ..........1000 video streamed but non .........you are goood
    Executable segment sizes:
    IROM : 333000 - code in flash (default or ICACHE_FLASH_ATTR)
    IRAM : 27268 / 32768 - code in IRAM (ICACHE_RAM_ATTR, ISRs...)
    DATA : 1404 ) - initialized variables (global, static) in RAM/HEAP
    RODATA : 2088 ) / 81920 - constants (global, static) in RAM/HEAP
    BSS : 25128 ) - zeroed variables (global, static) in RAM/HEAP
    Sketch uses 363760 bytes (34%) of program storage space. Maximum is 1044464 bytes.
    Global variables use 28620 bytes (34%) of dynamic memory, leaving 53300 bytes for local variables. Maximum is 81920 bytes.

  • @matias278
    @matias278 2 ปีที่แล้ว +1

    thanksssssssss

  • @digitalworld8739
    @digitalworld8739 ปีที่แล้ว +1

    Thank you 😊 so 😘 much sir 🙏 save in my time 🫂

    • @TrickSumo
      @TrickSumo  ปีที่แล้ว +1

      Glad it helped you 😊

  • @IllIIIIIIllll
    @IllIIIIIIllll ปีที่แล้ว

    Bro can you please tell me the finger print number used here?

  • @samuelkctweneboah-kodua5660
    @samuelkctweneboah-kodua5660 2 ปีที่แล้ว +1

    am about to test mine if everything works i will click the bell icon .......is 5days now of depression and headache

    • @TrickSumo
      @TrickSumo  2 ปีที่แล้ว

      glad to know it helped!!!

  • @navodaashwin8306
    @navodaashwin8306 ปีที่แล้ว +1

    you save me

  • @mwlulud2995
    @mwlulud2995 3 ปีที่แล้ว +1

    Bro please help me I try for 1 hour I have done everything correctly and I still have the same error !!!!!
    I have to do what?

    • @TrickSumo
      @TrickSumo  2 ปีที่แล้ว +1

      Hi
      Is issue resolved?
      Getting same error as in this video?
      If possible, please share complete error.

  • @joefredsantiago4442
    @joefredsantiago4442 2 หลายเดือนก่อน

    can't search esp8266 in the library as of now, can you help me bro?

    • @TrickSumo
      @TrickSumo  2 หลายเดือนก่อน

      Hi
      Make sure to add URL in preferences:- th-cam.com/video/AaWbRhCl0XI/w-d-xo.html

  • @thangdv3608
    @thangdv3608 2 ปีที่แล้ว +1

    Hi bro,
    Can you help me?
    C:\Users\HP\Documents\Arduino\libraries\firebase-arduino-master\src/FirebaseError.h:12:1: error: expected ',' or ';' before 'class'
    class FirebaseError {
    ^
    exit status 1
    Error compiling for board NodeMCU 1.0 (ESP-12E Module).

    • @TrickSumo
      @TrickSumo  2 ปีที่แล้ว +1

      Hi
      Are you sure the code you are uploading to NodeMCU is correct? Mail me if possible.

    • @thangdv3608
      @thangdv3608 2 ปีที่แล้ว +1

      @@TrickSumo Thanks bro, i made it already

    • @TrickSumo
      @TrickSumo  2 ปีที่แล้ว

      Awesome!!!

  • @ngoxuannguyen2625
    @ngoxuannguyen2625 2 ปีที่แล้ว +1

    how to getString with this version??

    • @TrickSumo
      @TrickSumo  2 ปีที่แล้ว +1

      Hi
      Use:- Firebase.getString(firebaseData, "S1");
      Refer to my reply on this page:- gist.github.com/TrickSumo/ae215a3b81e3e07a62e9689a9d8795a0
      #include
      #include
      #define FIREBASE_HOST "" //Your Firebase Project URL goes here without "http:" , "" and "/"
      #define FIREBASE_AUTH "" //Your Firebase Database Secret goes here
      #define WIFI_SSID "" //WiFi SSID to which you want NodeMCU to connect
      #define WIFI_PASSWORD "" //Password of your wifi network
      // Declare the Firebase Data object in the global scope
      FirebaseData firebaseData;
      String val1;
      String zero = "0" , one = "1";
      void setup()
      {
      Serial.begin(115200);
      WiFi.begin(WIFI_SSID, WIFI_PASSWORD); //try to connect with wifi
      Serial.print("Connecting to ");
      Serial.print(WIFI_SSID);
      while (WiFi.status() != WL_CONNECTED)
      {
      Serial.print(".");
      delay(500);
      }
      Serial.print('
      ');
      Serial.print("Connected to ");
      Serial.println(WIFI_SSID);
      Serial.print("IP Address is : ");
      Serial.println(WiFi.localIP()); //print local IP address
      Firebase.begin(FIREBASE_HOST, FIREBASE_AUTH); // connect to firebase
      Firebase.reconnectWiFi(true);
      delay(1000);
      }
      void loop()
      {
      Firebase.getString(firebaseData, "S1");
      val1 = firebaseData.stringData();
      Serial.print('
      ');
      Serial.print("Value 1- ");
      Serial.println(val1);
      delay(1000);
      }

    • @ngoxuannguyen2625
      @ngoxuannguyen2625 2 ปีที่แล้ว +1

      @@TrickSumo thank you very much

    • @TrickSumo
      @TrickSumo  2 ปีที่แล้ว

      Your Welcome :)

  • @rohanthapamagar6120
    @rohanthapamagar6120 10 หลายเดือนก่อน +1

    its not working
    help me

    • @TrickSumo
      @TrickSumo  10 หลายเดือนก่อน

      Hi Rohan,
      Can you share your code, maybe I can help ...

  • @several7366
    @several7366 7 หลายเดือนก่อน

    not working, not helping

    • @TrickSumo
      @TrickSumo  7 หลายเดือนก่อน

      Hi
      Your error is similar or something else?
      You can share the code and error, maybe I can help...

  • @dabhibrijesh6835
    @dabhibrijesh6835 2 ปีที่แล้ว

    Thank you so much sir

    • @TrickSumo
      @TrickSumo  2 ปีที่แล้ว

      Most welcome