'use strict' import { PeripheralConstants } from '../../PeripheralConstants.js' /* Open Rowing Monitor, https://github.com/laberning/openrowingmonitor Some PM5 specific constants */ const pm5Constants = { ...PeripheralConstants, // See https://www.concept2.com/service/monitors/pm5/firmware for available versions // please note: hardware versions exclude a software version, and thus might confuse the client ergMachineType: [0x05] } // PM5 uses 128bit UUIDs that are always prefixed and suffixed the same way function getFullUUID (uuid) { return `ce06${uuid}43e511e4916c0800200c9a66` } export { getFullUUID, pm5Constants }