Skip to content

Commit

Permalink
fix(winrtble): use correct uuid for characteristic (#356)
Browse files Browse the repository at this point in the history
  • Loading branch information
codebk1 authored Dec 14, 2023
1 parent dc6e1a4 commit 1c44c01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/winrtble/peripheral.rs
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ impl ApiPeripheral for Peripheral {
.ok_or_else(|| Error::NotSupported("Service not found for read".into()))?;
let ble_characteristic = ble_service
.characteristics
.get(&descriptor.uuid)
.get(&descriptor.characteristic_uuid)
.ok_or_else(|| Error::NotSupported("Characteristic not found for read".into()))?;
let ble_descriptor = ble_characteristic
.descriptors
Expand Down

0 comments on commit 1c44c01

Please sign in to comment.