Closed nmelin closed 8 years ago
Hi nmelin, I update spark.json file Library version to 0.2.0 now, will publish to Spark.io IDE. This problem was already merged, check the following. https://github.com/hirotakaster/MQTT/commit/922065b2b3d1ae35c37fa2bc37370f35c31a03b0 Thanks.
Hello @hirotakaster ,
I see the #include
has changed from MQTT.h
to MQTT/MQTT.h
.
Is that the only change?
I included this change in my MQTTTEST.INO
file, but the code still fails to compile in the Spark IDE.
Also the MQTT library inside the spark IDE is still listed as "0.1.0".
Do you have any ideas about why the code fails to compile in the spark IDE?
I want to assist with testing, but I don't understand C well enough to understand why the compile is failing.
Thanks.
Hi nmelin, I don't get compile error on Spark IDE Web now. check the next on Spark IDE web.
Hi @nmelin, I finally update MQTT library to 0.2.0 on Spark WebIDE. You can easy to use sample source code. Please check and close this issue. Thanks.
when copying the content of the spark library files verbatim ('MQTT.cpp', 'MQTT.h', 'mqtttest.ino'), the compile fails with the error below.
The same error occurs when forking files directly from https://github.com/hirotakaster/MQTT files.
Has the spark firmware changed enough to break the example code? Using SPARK FIRMWARE V0.3.4. Thanks!
Error Info:
"Error: Could not compile. Please review your code."