IOT and M2M solutions: Industry 4.0 platform