const current = await device.brain.getValue("example.key");
const updated = await device.brain.setValue("example.key", "value");

console.log({ current, updated });
getValue() returns undefined when no usable reply is received. setValue() returns whether the brain acknowledged the write.
These are system-level values. Only write keys documented for the target VEXos version.