Go Down

Topic: unable to send string type data from firebase to esp8266 (Read 95 times) previous topic - next topic

modidhruv001

I am unable to serial print string received from firebase using Firebase.getString command.
the serial monitor doesn't display the string.But I am able to send data from esp8266 to firebse.

I've attached my code.

PaulS

Code: [Select]
  String request = Firebase.getString("message");
Why do you think that passing "message" to getString() will result in the Firebase object returning anything useful?

Code: [Select]
  String eReq;
  EEPROM.get(0,eReq);

You haven't a clue how EEPROM works, do you? What, EXACTLY, is the second argument to the get() method supposed to be? Is that anything like the appropriate type?

The art of getting good answers lies in asking good questions.

modidhruv001

I HAVE A CHILD NODE NAMED MESSAGE IN MY FIREBASE REAL TIME DATABASE

Go Up