SRMCMD(1)

πŸ“¦ version 0.1.1.1, in fedora 43, fedora 44

πŸ’– 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 is 9600 baud. PCVI and PV7 always use 38400. 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 PowerControl 5, 6, and 7. default is "5".
  • -s, --split=seconds β€” split data on gaps of the specified minimum length. time is given as 10*seconds (see --recint for srmcmd). iykyk.
  • -S, --store=dir β€” path for your srmwin file store. that's where the _name.SRM folders 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 the srmsync version 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