List programs

Upload a program

ProgramIniConfig.program.slot is zero-based. The first brain slot is 0 in this metadata object.

Start and stop a program

Use setActiveProgram to load a slot or stop the running program. It returns Ok(undefined) on acknowledgement or Err(VexSerialError) on NACK, timeout, or when the connection isn’t open.
The device.brain.activeProgram setter is deprecated and will be removed in a future breaking release. Use setActiveProgram instead.