bluetoothle1中连接断开蓝牙有列子,有没有bluetoothle1使用串口的udid,像串口一样通讯,发送读取字节的列子,
发送数据BluetoothLE1.WriteCharacteristic(TBluetoothLEDevice ADevice,TBluetoothGattCharacteristic ACharacteristic);ADevice.WriteCharacteristic(AChar);
接收数据procedure BluetoothLE1CharacteristicRead(const Sender: TObject; const ACharacteristic: TBluetoothGattCharacteristic;
AGattStatus: TBluetoothGattStatus);
的相关例子
发送数据BluetoothLE1.WriteCharacteristic(TBluetoothLEDevice ADevice,TBluetoothGattCharacteristic ACharacteristic);ADevice.WriteCharacteristic(AChar);
接收数据procedure BluetoothLE1CharacteristicRead(const Sender: TObject; const ACharacteristic: TBluetoothGattCharacteristic;
AGattStatus: TBluetoothGattStatus);
的相关例子
D:\Program Files\Embarcadero\Studio\17.0\Samples\Object Pascal\Multi-Device Samples\Device Sensors and Services\Bluetooth
主要一些使用蓝牙的udid的,没有教材很难写啊