Simple Serial Script?

I could have sworn I did this before, but I can’t find it nor figure it out.
Can I make a script for simple USB bridge mode? Setting it up manually, I do this:

M 3
y
W
3.0
50
bridge

UART mode, Yes previous answers (but ideally those would be in the script), enable voltage reference, set it to 3.0 V and 50 mA current limit, enter bridge mode.

I saw a repository for commonly used scripts, but it was blank.
-Chris

1 Like

Scripting cannot currently fill in prompts. So m 3 works, but you can’t do y.

For power you can do W 3.0 50 on a single line.

1 Like

There is a file on my BP flash drive which looks like all those serial port params (like BP-UART.BP?). Does that format work with scripting?

1 Like

The config files are Json. Scriprs are just normal command line commands one per line. There may be some help if you do script -h