If the e-bike driver is available, up and running.
When this is reported, you can be sure to be on an e-bike and can expect e-bike sepecific information (see motor).
constonMotorInterfaceReadyChange= (value:boolean, timestamp?:Date) => {console.log(value, timestamp);};COBI.hub.motorInterfaceReady.read(onMotorInterfaceReadyChange); // Instantly get the current valueCOBI.hub.motorInterfaceReady.subscribe(onMotorInterfaceReadyChange);COBI.hub.motorInterfaceReady.unsubscribe(onMotorInterfaceReadyChange);
constonMotorInterfaceReadyChange= (value, timestamp) => {console.log(value, timestamp);};COBI.hub.motorInterfaceReady.read(onMotorInterfaceReadyChange); // Instantly get the current valueCOBI.hub.motorInterfaceReady.subscribe(onMotorInterfaceReadyChange);COBI.hub.motorInterfaceReady.unsubscribe(onMotorInterfaceReadyChange);