Is it possible that your answer of BLE Callbacks are not complete (maybe I don’t understand the FTMS spec)?
FTMS Tabel 4.23:
Response Code Op Code (0x80)
Request Op Code
Result Code
Response Parameter (if present)
Line 69..67 -> if (pData[0] == 0x01) //initiate procedure to reset treadmill
You answer with: 0x80 0x00
And I think it should be 0x80 0x01 0x00
Line 94..103 -> if (pData[0] == 0x03) //initiate procedure to set Incline
You answer with: 0x80 0x03
And I think it should be 0x80 0x03 0x01
Thanks for this project, it helps me a lot by upgrading my stepper with BLE!
Is it possible that your answer of BLE Callbacks are not complete (maybe I don’t understand the FTMS spec)?
FTMS Tabel 4.23:
Response Code Op Code (0x80)
Request Op Code
Result Code
Response Parameter (if present)
Line 69..67 -> if (pData[0] == 0x01) //initiate procedure to reset treadmill
You answer with: 0x80 0x00
And I think it should be 0x80 0x01 0x00
Line 94..103 -> if (pData[0] == 0x03) //initiate procedure to set Incline
You answer with: 0x80 0x03
And I think it should be 0x80 0x03 0x01
Thanks for this project, it helps me a lot by upgrading my stepper with BLE!