SRMCMD(1)
π SRMCMD(1) β srmsync π
okay bestie, sit down, we're doing serial protocols today. this is the manual page for srmsync, page SRMCMD(1), and it's giving "reverse-engineered bike computer energy" in the best way. β¨
πΈ NAME πΈ
srmsync β download for SRM PowerControl π²
β¨ SYNOPSIS β¨
srmsync [options] path
π¦ DESCRIPTION π¦
okay so srmsync is the one that implements the serial protocols for SRM's PowerControl V, PowerControl VI and PowerControl 7. literally what it does is let you download data from the PC that's attached to the serial device at path. that's the whole vibe. π«Ά
data gets stored in a srmwin compatible file store. and the smart part? if possible, only data that the srmwin file store doesn't already know about gets downloaded. not me downloading the same ride twice, couldn't be her. π
π OPTIONS π
here's every single flag, no gatekeeping:
-a,--allβ try to download data that's "deleted" on the PCV. (ngl, PCVI and PC7 don't seem to support getting "deleted" data, so don't come for me if it doesn't work there π)-b,--baud=rate β use the specified baudrate and only that one. by default, all supported baudrates are probed, which is the icon of patience. PCV factory setting is9600baud. PCVI and PV7 always use38400. periodt.-d,--dupβ download and save data that the srmwin store already knows about too. yes, duplicates. you asked for it bestie.-f,--ftdiβ use the ftdi serial driver and open the device by the given description.-h,--helpβ a brief message. that's it, that's the whole flag. π-p,--pc=type β which PowerControl protocol to use. supported are PowerControl5,6, and7. default is"5".-s,--split=seconds β split data on gaps of the specified minimum length. time is given as10*seconds(see--recintforsrmcmd). iykyk.-S,--store=dir β path for your srmwin file store. that's where the_name.SRMfolders live. ποΈ-v,--verboseβ enable verbose status messages, for when you want the program to tell you everything it's going through. main character narration energy.-V,--versionβ show thesrmsyncversion number and exit. bye π-w,--write=destination β write data retrieved to the specified wkt file before splitting.
π EXAMPLES π
steal these, they're cute:
srmsync -S ~/srmwin /dev/ttyUSB0 # linux
srmsync -S ~/srmwin -p 7 /dev/ttyUSB0 # linux, PowerControl 7
π SEE ALSO π
this is just a very simplistic frontend for the lib. please check the source distribution for details. (the real lore is in there, bestie.)
π BUGS π
yes. for sure. π
just keep in mind, that protocol and file formats are reverse engineered...
no cap, that's the actual caveat. reverse-engineered formats mean things can absolutely be weird. tread lightly. π
π AUTHORS π
Rainer Clasen
and that's the page, bestie! π this beauty is from SRM access tool, version 0.1.1~git1, dated 9 Mar 2011. iconic, timeless, slay. π β¨π¦
π¦ where this page comes from
- fedora 43: srmio 0.1.1.1-14.fc43 Β· MIT
- fedora 44: srmio 0.1.1.1-15.fc44 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms