Added wifiDirect functionality