Skip to content

Commit

Permalink
Proform Rower (Proform Sport RL) cannot change resistance from app #1643
Browse files Browse the repository at this point in the history
  • Loading branch information
cagnulein committed Sep 28, 2023
1 parent 880ac67 commit 39e2ef5
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/proformrower.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -596,6 +596,9 @@ void proformrower::btinit() {
uint8_t initData11_proform_rower_sport_rl[] = {0x01, 0x12, 0x3c, 0x4c, 0x5a, 0x66, 0x90, 0x88, 0xa6, 0xc2, 0xe4, 0x04, 0x22, 0x4e, 0x98, 0xb0, 0xce, 0x1a, 0x2c, 0x7c};
uint8_t initData12_proform_rower_sport_rl[] = {0xff, 0x08, 0x8a, 0xd6, 0x20, 0x98, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};

uint8_t noOpData7_proform_rower_sport_rl[] = {0x00, 0x12, 0x02, 0x04, 0x02, 0x15, 0x14, 0x15, 0x02, 0x0e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
uint8_t noOpData8_proform_rower_sport_rl[] = {0xff, 0x07, 0x00, 0x00, 0x00, 0x10, 0x01, 0x00, 0x4a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};

writeCharacteristic(initData1, sizeof(initData1), QStringLiteral("init"), false, false);
QThread::msleep(400);
writeCharacteristic(initData2, sizeof(initData2), QStringLiteral("init"), false, false);
Expand Down Expand Up @@ -637,6 +640,16 @@ void proformrower::btinit() {
QThread::msleep(400);
writeCharacteristic(noOpData1, sizeof(noOpData1), QStringLiteral("init"), false, false);
QThread::msleep(400);
writeCharacteristic(noOpData7_proform_rower_sport_rl, sizeof(noOpData7_proform_rower_sport_rl), QStringLiteral("init"), false, false);
QThread::msleep(400);
writeCharacteristic(noOpData8_proform_rower_sport_rl, sizeof(noOpData8_proform_rower_sport_rl), QStringLiteral("init"), false, true);
QThread::msleep(400);
writeCharacteristic(noOpData1, sizeof(noOpData1), QStringLiteral("init"), false, false);
QThread::msleep(400);
writeCharacteristic(noOpData2, sizeof(noOpData2), QStringLiteral("init"), false, false);
QThread::msleep(400);
writeCharacteristic(noOpData3, sizeof(noOpData3), QStringLiteral("init"), false, false);
QThread::msleep(400);
} else {
writeCharacteristic(initData10, sizeof(initData10), QStringLiteral("init"), false, false);
QThread::msleep(400);
Expand Down

0 comments on commit 39e2ef5

Please sign in to comment.