B4R Question Arduino & FireBase

biggiu

Member
Licensed User
Longtime User
Hello,
I am trying to make an application that uses arduino and ESP8266. I have tried several tutorials found around the web but have not achieved any results. Now I would like to try this development environment and see how good it is. My primary need is to exchange data via WiFi with a stand alone application developed in VB.Net. To do this, it seemed correct to use the Google FireBase database. I have seen that arduino has dedicated libraries. I would kindly like to know if B4R manages these libraries and possibly have some tutorials or examples from which to practice.
Thank you all for your kind cooperation.
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
There are no Firebase libraries available for B4R. You can use the REST API with rHttpUtils as demonstrated here: https://www.b4x.com/android/forum/threads/firebase-push-messages-fcm.81025/#content

I wouldn't use Firebase for this. There are very simple ways to exchange data. MQTT, WebSockets and many others. It would have been better to develop the desktop side with B4J but I'm sure that there are solutions available for .Net as well.

MQTT: https://www.b4x.com/android/forum/threads/mqtt.65669/#content
Socket example: https://www.b4x.com/android/forum/threads/esp-configurator-based-on-b4rserializator.81452/#content
Another one: https://www.b4x.com/android/forum/t...d-and-receive-objects-instead-of-bytes.72404/

WebSocket: https://www.b4x.com/android/forum/threads/websocketclient.66212/#content
 
Upvote 0
Top