Tag Archives: killed

Warning: ESPCOMM_SYNC Failed Error: ESPCOMM_open Failed Error: ESPCOMM_UPLo

Warning: espcomm_sync failed
error: espcomm_open failed
error: espcomm_upload_mem failed
error: espcomm_upload_mem failed “
error: espcomm_upload_mem failed”

>
solutions;
First, hardware
1. Check the connection
to confirm the connection is correct,
UTXD — RXD
URXD — TXD
VCC – 3.3 V
GND – GND
2. Check to see if the serial port on ESP8266 is being used by other software stations and click on the serial port monitor. If the serial port window pops up normally, it’s ok,

If you can’t pop up, check the tool — port — (select the appropriate port).
Second, other
1. Select the corresponding development board,

2.
Press Flash (or BOOT) not to lose, and then press the reset button to release, and then click to download, flash(or BOOT) do not loose, download the end of the release.
with ESP12 activation instructions

How to Use paho.mqtt.cpp

install deploy

preparation

$ sudo apt-get install build-essential gcc make cmake cmake-gui cmake-curses-gui
$ sudo apt-get install libssl-dev 
$ sudo apt-get install doxygen graphviz

paho.mqtt.c installation

$ git clone https://github.com/eclipse/paho.mqtt.c.git
$ cd paho.mqtt.c
$ git checkout v1.3.1

$ cmake -Bbuild -H. -DPAHO_WITH_SSL=ON -DPAHO_ENABLE_TESTING=OFF
$ sudo cmake --build build/ --target install
$ sudo ldconfig

paho.mqtt.cpp installation

$ git clone https://github.com/eclipse/paho.mqtt.cpp
$ cd paho.mqtt.cpp
$ cmake -Bbuild -H. -DPAHO_BUILD_DOCUMENTATION=TRUE -DPAHO_BUILD_SAMPLES=TRUE
$ sudo cmake --build build/ --target install
$ sudo ldconfig

basically USES