Defines the eBike drive mode of the specific vendor protocol.
In ascending order. Depending on the Supported Drive Modes
constonDriveModeChange= (value:number, timestamp?:Date) => {console.log(value, timestamp);};COBI.motor.driveMode.read(onDriveModeChange); // Instantly get the current valueCOBI.motor.driveMode.subscribe(onDriveModeChange);COBI.motor.driveMode.unsubscribe(onDriveModeChange);
constonDriveModeChange= (value, timestamp) => {console.log(value, timestamp);};COBI.motor.driveMode.read(onDriveModeChange); // Instantly get the current valueCOBI.motor.driveMode.subscribe(onDriveModeChange);COBI.motor.driveMode.unsubscribe(onDriveModeChange);