Hi everyone
I've been trying to get it to work for days a mqtt broker on an esp8266 with #if C code and calling it with RunNative in B4R.
If I program the esp8266 with Arduino code everything works. I tried three different brokers with C code for arduino in B4R
I also created a b4r library b4xlib which I included both the connection station and the broker.
But after programming with B4R it doesn't work.
Log client B4J
What I don't understand is why if I program it with arduino everything works,
while with B4R with arduino code in C and RunNative it doesn't work.
p.s. (I know I should be using Raspberry for this)
I found 2 forum threads about it
https://www.b4x.com/android/forum/threads/mqtt-broker-on-esp8266.89578/#content
https://www.b4x.com/android/forum/threads/porting-arduino-code-to-b4r.92985/#content
Thank you for help
I attach the files of the tests I did
I've been trying to get it to work for days a mqtt broker on an esp8266 with #if C code and calling it with RunNative in B4R.
If I program the esp8266 with Arduino code everything works. I tried three different brokers with C code for arduino in B4R
I also created a b4r library b4xlib which I included both the connection station and the broker.
But after programming with B4R it doesn't work.
Log client B4J
B4X:
(ConnectException) java.net.ConnectException: Connection timed out: no further information
while with B4R with arduino code in C and RunNative it doesn't work.
p.s. (I know I should be using Raspberry for this)
I found 2 forum threads about it
https://www.b4x.com/android/forum/threads/mqtt-broker-on-esp8266.89578/#content
https://www.b4x.com/android/forum/threads/porting-arduino-code-to-b4r.92985/#content
Thank you for help
I attach the files of the tests I did