Skip to content

Commit 3180fcc

Browse files
authored
Remove characteristic filtering for USDC_D700
Removed specific characteristic checks for USDC_D700.
1 parent f5ad626 commit 3180fcc

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

src/devices/ftmsbike/ftmsbike.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1525,13 +1525,6 @@ void ftmsbike::stateChanged(QLowEnergyService::ServiceState state) {
15251525
qDebug() << QStringLiteral("descriptor uuid") << d.uuid() << QStringLiteral("handle") << d.handle();
15261526
}
15271527

1528-
QBluetoothUuid _specificCharacteristic((quint16)0x2AD2); // FTMS Bike Data
1529-
QBluetoothUuid _specificCharacteristic2((quint16)0x2AD9);
1530-
if (USDC_D700 && c.uuid() != _specificCharacteristic && c.uuid() != _specificCharacteristic2) {
1531-
qDebug() << QStringLiteral("USDC_D700: skipping non-0x2AD2 characteristic") << c.uuid();
1532-
continue;
1533-
}
1534-
15351528
if ((c.properties() & QLowEnergyCharacteristic::Notify) == QLowEnergyCharacteristic::Notify) {
15361529
QByteArray descriptor;
15371530
descriptor.append((char)0x01);

0 commit comments

Comments
 (0)