Raspberry Pi client disconnects after 20 seconds

OK, it seems you are using some of the original WiringPi based Blynk libraries… well, based on the date in the headers that is.

I do not know much about the WiringPi option… I changed course long ago toward the Node.js method as it seems a more common language for RPi.

So basicly, I haven’t a clue what could be the issue… but I can point you to a few more recent topics using the WiringPi method… perhaps you just need to update whatever needs updating? Perhaps the Blynk Library or even the version of WiringPi?