Home > other >  Bluetooth devices returned data how to read
Bluetooth devices returned data how to read

Time:12-04

Case description:
Pairing bluetooth adapter, read the bluetooth device, and the connection, the bluetooth devices to send data via the WPF development of software, such as: ABC, bluetooth devices, after receipt of the ABC will return to DEF, question: can you tell me the WPF software to can read the data returned,

The following is write ABC information to the bluetooth device:
Var writeBuffer=CryptographicBuffer. DecodeFromHexString (" ABC ");
Var result=await selectedCharacteristic. WriteValueWithResultAsync (writeBuffer)

Could you tell me how to read a bluetooth device information?

Please write the code, thank you!
  • Related