2014-07-10 44 views

回答

0

如何在WP8蓝牙API?... http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj207007(v=vs.105).aspx

async void AppToApp() 
    { 

     // PeerFinder.Start() is used to advertise our presence so that peers can find us. 
     // It must always be called before FindAllPeersAsync. 
     PeerFinder.Start(); 

     var peers = await PeerFinder.FindAllPeersAsync(); 
    } 
+0

这样做是为了把戏? – JayDev

+0

我这样做,但只显示一次连接手机的设备。我需要看到蓝牙激活的范围内的所有设备 – Nicu

+0

@ user3497559您是否尝试过这个示例? http://code.msdn.microsoft.com/wpapps/Bluetooth-app-to-device-644870ba – Kulasangar

相关问题