Home Reference Source Repository

src/icarus/data-handler/cansat-strings.js

  1. /**
  2. * Array of CanSat strings: informational messages.
  3. * The CanSat does not store nor send strings. It just works
  4. * with small integers (uint8_t) and sends them in place.
  5. * In the ground station, these identifiers are used to retrieve the correct
  6. * string representation.
  7. *
  8. * These correspond to informational messages, sent in PACKET_INFO packets
  9. */
  10. export const messages = [
  11. 'Unknown message/error.',
  12. 'No DS18B20 sensors found. [temperature]',
  13. 'Only one DS18B20 sensor found. [temperature]'
  14. ]
  15.  
  16. /**
  17. * Array of CanSat strings: module names.
  18. * The CanSat does not store nor send strings. It just works
  19. * with small integers (uint8_t) and sends them in place.
  20. * In the ground station, these identifiers are used to retrieve the correct
  21. * string representation.
  22. *
  23. * These correspond to module names (as in ModuleRegistry modules), sent in PACKET_SETTINGS packets.
  24. */
  25. export const moduleNames = [
  26. 'Status LED',
  27. 'Telemetry packet routine',
  28. 'Temperature update',
  29. 'Pressure update'
  30. // TODO: update
  31. ]