rpi client.c