ifw-fcf  2.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
sensorRpcErrors.hpp
Go to the documentation of this file.
1 
10 #ifndef DEVMGR_DEVICE_SENSOR_RPC_ERRORS_H
11 #define DEVMGR_DEVICE_SENSOR_RPC_ERRORS_H
12 
13 // System headers
14 #include <unordered_map>
15 
16 namespace fcf::devmgr::sensor {
17 
18  enum {
23  };
24 
25  const std::unordered_map<short, std::string> rpc_errors = {
26  {RPC_ERR_NOT_OP, "Cannot disable Sensor. Not in OP state"},
27  {RPC_ERR_NOT_STANDBY_READY, "Cannot enable Sensor. Not in READY."},
28  {RPC_ERR_NOT_STANDBY_NOTREADY, "Cannot init Sensor. Not in NOTREADY or FAILURE."}
29  };
30 
31 }
32 #endif // DEVMGR_DEVICE_SENSOR_RPC_ERRORS_H
Definition: sensorRpcErrors.hpp:19
const std::unordered_map< short, std::string > rpc_errors
Definition: sensorRpcErrors.hpp:25
Definition: sensorRpcErrors.hpp:20
Definition: sensorRpcErrors.hpp:22
Definition: sensorRpcErrors.hpp:21