Skip to content

TempManager Implementation #4

Description

@atmask

TempManager Details

  • get path to sensor and actuator as param args
  • msgSend to /dev/local/temp_sensor_id with GET_DATA. GET_DATA should be from constants.h and is checked by the sensor server.
  • parse data from msgReply. Pulse the data to the display at /dev/local/display in the form TEMP;<data>. TEMP is a constant from constants.h
  • if the data violates thresholds and the actuator state is not already set as required msgSend UP, DOWN, or OFF to actuator.
  • UP DOWN OFF should be macros in constants.h
  • store the returned state from the actuator reply. Will be UP, DOWN, or OFF

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions