marcoschwartz / aREST

A RESTful environment for Arduino
http://aREST.io/
Other
1.2k stars 279 forks source link

ethernet_cloud sketch don't run #296

Closed flaviopalermoiot closed 3 years ago

flaviopalermoiot commented 3 years ago

Hello, I'm a new user, I installed his library today. I did some tests with the ethernet_cloud sketch, I also had to install the PubSubClient-2.8.0 library, because the sketch gave me an error at line 13 #include . Now it gives me an error on line 57 which I don't understand. I attach error message. Thank you in advance . Kind regards Flavio Palermo

Arduino:1.8.13 (Windows 10), Scheda:"Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"

Z:\Arduino prg\Ethernet_cloud_arest\Ethernet_cloud_arest.ino: In function 'void setup()':

Ethernet_cloud_arest:57:26: error: 'class aREST' has no member named 'get_topic'; did you mean 'out_topic'?

char* out_topic = rest.get_topic();

                      ^~~~~~~~~

                      out_topic

exit status 1

'class aREST' has no member named 'get_topic'; did you mean 'out_topic'?

marcoschwartz commented 3 years ago

Hi, thanks for reporting this one - will test it on my own Ethernet board and update this!

marcoschwartz commented 3 years ago

This is now fixed in the latest release!