ark::ups

Classes

Functions

Declared in “ark/ups/cyberpower/cyberpower_protocol.hh”:

  • std::string form_cyberpower_status_request()
    Forms a packet used to send to the remote Cyberpower UPS to request its overall status (and report that to the rest of the system).

  • UpsStatus parse_cyberpower_status_response(const std::string_view & content)
    Parses a packet coming back from the Cyberpower UPS, reporting its status in the given structure.