Simulating the QCN server and client for the given sensor data