File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed
app/peripherals/ble/pm5/rowing-service/other-characteristics Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 11'use strict'
2- /*
3- Open Rowing Monitor, https://github.com/JaapvanEkris/openrowingmonitor
4- */
52/**
6- * Implementation of the Force Curve Data as defined in:
7- * https://www.concept2.co.uk/files/pdf/us/monitors/PM5_BluetoothSmartInterfaceDefinition.pdf
8- * https://www.concept2.co.uk/files/pdf/us/monitors/PM5_CSAFECommunicationDefinition.pdf
3+ * @copyright [OpenRowingMonitor]{@link https://github.com/JaapvanEkris/openrowingmonitor}
4+ *
5+ * @file Implementation of the Force Curve Data as defined in:
6+ * - @see {@link https://www.concept2.co.uk/files/pdf/us/monitors/PM5_BluetoothSmartInterfaceDefinition.pdf|The PM5 Bluetooth Smart Interface Definition}
7+ * - @see {@link https://www.concept2.co.uk/files/pdf/us/monitors/PM5_CSAFECommunicationDefinition.pdf|The PM5 CSAFE Communication Definition}
98 */
109import loglevel from 'loglevel'
1110
@@ -51,7 +50,7 @@ export class ForceCurveCharacteristic extends GattNotifyCharacteristic {
5150 const split = Math . floor ( data . driveHandleForceCurve . length / chunkSize + ( data . driveHandleForceCurve . length % chunkSize === 0 ? 0 : 1 ) )
5251
5352 let i = 0
54- log . debug ( `Force curve data count: ${ data . driveHandleForceCurve . length } chunk size(number of values): ${ chunkSize } , number of chunks: ${ split } ` )
53+ log . trace ( `Force curve data count: ${ data . driveHandleForceCurve . length } chunk size(number of values): ${ chunkSize } , number of chunks: ${ split } ` )
5554
5655 while ( i < split ) {
5756 const end = ( i + 1 ) * chunkSize < data . driveHandleForceCurve . length ? chunkSize * ( i + 1 ) : data . driveHandleForceCurve . length
You can’t perform that action at this time.
0 commit comments