Android Question Try to make MQTT on ESP8266 Transmitter/receiver commands

Adamdam

Active Member
Licensed User
Longtime User
Dear all.
I found this project:
I compiled it before with ESP32.
I tried to compile it again for ESP8266 but fail, I got this error
1723580048736.png

Can any one help me please to solve this problem,
I need urgent to have MQTT-Client on ESP8266 that and able to transmit and receive with mobile App.
By B4A and B4r or B4A and Arduino.
Thanks on advance.
Best regards
 

XorAndOr

Active Member
Licensed User
Longtime User
Try this
 
Upvote 0

Adamdam

Active Member
Licensed User
Longtime User
Thanks Mr. XorAndOr for your help.

but I still have the same error message at B4R compiler.
1723625595519.png


The error from compiler configuration/setting, any help please.
 
Upvote 0

XorAndOr

Active Member
Licensed User
Longtime User
I tried it just now and it works great
B4X:
esptool.py v3.0
Serial port COM4
Connecting....
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC: 5c:cf:7f:76:fa:48
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Auto-detected Flash size: 4MB
Compressed 289360 bytes to 212101...
Writing at 0x00000000... (7 %)
Writing at 0x00004000... (15 %)
Writing at 0x00008000... (23 %)
Writing at 0x0000c000... (30 %)
Writing at 0x00010000... (38 %)
Writing at 0x00014000... (46 %)
Writing at 0x00018000... (53 %)
Writing at 0x0001c000... (61 %)
Writing at 0x00020000... (69 %)
Writing at 0x00024000... (76 %)
Writing at 0x00028000... (84 %)
Writing at 0x0002c000... (92 %)
Writing at 0x00030000... (100 %)
Wrote 289360 bytes (212101 compressed) at 0x00000000 in 19.0 seconds (effective 122.1 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...

Connected to Router WiFi --> Ok
ESP8266 IP --> 192.168.1.35
Connected to broker --> Ok
I don't know why it gives you an error Recheck the installation of b4r and arduino sdk
 
Upvote 0

Adamdam

Active Member
Licensed User
Longtime User
Yes, Mr. XorAndOr ,
The problem with me due to the B4R compiler setting/configuration.
I need help to find my error and how to solve it.
 
Upvote 0

XorAndOr

Active Member
Licensed User
Longtime User
see here if it can help
 
Upvote 0
Top