connecting 2 devices using wifi direct and controlling bluetooth functionality