appzer / pushsafer-arduino-library

Arduino library for Pushsafer.com
23 stars 9 forks source link

Compile error #6

Closed svdrummer closed 3 years ago

svdrummer commented 3 years ago

Latest compile error. Have I missed something? C:\Users\cruis\Documents\Arduino\libraries\pushsafer-arduino-library-master\src\Pushsafer.cpp: In member function 'String Pushsafer::sendEvent(PushSaferInput)': C:\Users\cruis\Documents\Arduino\libraries\pushsafer-arduino-library-master\src\Pushsafer.cpp:75:14: error: 'struct PushSaferInput' has no member named 'time2live' if(input.time2live != "") ^ C:\Users\cruis\Documents\Arduino\libraries\pushsafer-arduino-library-master\src\Pushsafer.cpp:77:72: error: 'struct PushSaferInput' has no member named 'time2live' start_request = start_request + buildString(boundary, "l", input.time2live); ^ C:\Users\cruis\Documents\Arduino\libraries\pushsafer-arduino-library-master\src\Pushsafer.cpp:113:10: warning: unused variable 'c' [-Wunused-variable] char c; ^

appzer commented 3 years ago

All works fine! Simple copy all downoaded files to your Arduino Libraries folder

Arduino\libraries\pushsafer-arduino-library

Zwischenablage01

svdrummer commented 3 years ago

As can be seen. I have the files in the library folder. I used library manager to get them there. The time2 section is throwing an issue. I will delete all and try a manual copy paste.

On Sun, 21 Feb 2021, 4:06 am Kevin Siml, notifications@github.com wrote:

Closed #6 https://github.com/appzer/pushsafer-arduino-library/issues/6.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/appzer/pushsafer-arduino-library/issues/6#event-4355549799, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJ7LPA5HRL5KUE5CF6LPJRTS772ZTANCNFSM4X57V6HQ .