using pc-nrfconnect-ppk modules in a command-line nodejs app

i've noticed that the pc-nrfconnect-ppk is written in typescript (with a lot of .tsx files for visual elements)....

my understanding is that at the lowest-level the power analyzer communicates with the PPK-2 through a serial protocol....

i've quickly looked at the 3rd-party python package, which seems to confirm this....

i'm actually working in a nodejs environment, and was wondering if there are "low-level" modules i could reuse for a headless, command-line app....

i'm quite familiar with the nodejs serialport package, but i obvously don't know the specific serial protocol understood by the PPK....

even just a pointer to some sources in the git repo would help....

honestly, all i'm looking to do is place the PPK in 'ammeter mode' and start recording ~10-20s of samples to an in-memory buffer....

Related