[SOLVED] Sync example generates error


When compiling the “Sync” example I get the error:
" error: ISO C++ forbids declaration of ‘BLYNK_CONNECTED’ with no type [-fpermissive]"

I then tried to run Blync.syncAll() directly in the setup routine. I get the error:
error: ‘class BlynkEthernet’ has no member named ‘syncAll’

I am using library v.0.3.1 with IDE v 1.6.5

What am I missing?

Thank you

Hello, you need to take latest library from trunk - “Download ZIP” button. Also this feature works only with local servers at the moment.

Is this still only applicable for local servers? I’m having the same error presented to me.

@joshblease it works on any server. Probably you have outdated library version?