我想發送消息給BLE設備。根據我的理解,首先必須發現設備服務,然後將消息發送到服務特性。因此,這裏是我做過什麼: public class BluetoothLeService extends Service {
private BluetoothManager mBluetoothManager;
private BluetoothAdapter mBluetoothAdapter;
p
我正在編寫一個WPF應用程序(不是UWP),我需要運行BluetoothLE。 我加入了藍牙usings: using Windows.Devices.Bluetooth;
using Windows.Devices.Bluetooth.GenericAttributeProfile;
,我加入到C中的參考文獻:\程序文件(x86)\參考大會\微軟\ Framework.NETCore \