fixed bug on time comparison sequence
fixed bug on mqtt client for comunicacionG4