samedi 30 juillet 2016

ESP8266 - connect as Server to B4A

I have the following setup:
A car driven by Arduino with B4R app, connected by SerialSoftware to ESP8266.
The ESP is used as Server in the lan and a B4A is trying to connect and establish Astream.
What I get is an error in the ESP and in the B4A on the lines of Astream init.
The codes, B4R ESP :

Code:
  Sub Server_newConnection(NewSocket As WiFiSocket)
Log("new connection")
Wstream.Initialize(NewSocket.Stream,
"Wstream_NewData", "Wstream_Error")
Server.Listen
End Sub
B4A:...

ESP8266 - connect as Server to B4A

from B4X Community - Android, iOS, desktop, server and IoT programming tools http://ift.tt/2aD8smj
via IFTTT

Aucun commentaire:

Enregistrer un commentaire