Lesson 06 of 08 · about 5 min

Define the command

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8

COSMOS keeps a dictionary of commands and telemetry. A command definition names the opcode and the legal range of each argument. A verification says which telemetry item must reach which value, and how long the ground waits.

Define HEATER_ON. The opcode is 0x21. Duration is legal from 1 to 60 seconds. Success is HEATER_STATE equal to 1 within 2 seconds. This page writes the dictionary. The send itself is the first lesson.

On the Knowledge page

Resources