【发布时间】:2017-01-02 10:44:55
【问题描述】:
我使用 iPhone 在 BLE 广告中发送数据(短字符串),我想从 Windows 设备读取此字符串。
所以我正在尝试来自https://github.com/Microsoft/Windows-universal-samples/tree/master/Samples/BluetoothAdvertisement的示例项目“BluetoothAdvertisement”
我看到我收到了包裹,我可以在回调中读取本地名称等:
private async void OnAdvertisementReceived(BluetoothLEAdvertisementWatcher watcher, BluetoothLEAdvertisementReceivedEventArgs eventArgs)
{ }
但是我怎样才能读取字符串呢?
【问题讨论】:
-
您的问题解决了吗?还有其他更新吗?
标签: c# ios bluetooth uwp bluetooth-lowenergy