Simple Java application to implement the link between Gateway and IoT Platform