You are helping a client connect two devices by bluetooth. W…