Contains the set of definitions required by a specific data parameter.
◆ arg
uint16_t _data_param_info_t::arg |
Custom argument used by the data parameter
◆ Getter
- Parameters
-
paramInfo | Information regarding the data parameter. |
value | text representation of the parameter value. |
- Returns
- device_err_t If successful
ERR_OK
else some other error.
◆ index
uint8_t _data_param_info_t::index |
◆ name
const char* _data_param_info_t::name |
◆ Setter
- Parameters
-
paramInfo | Information regarding the data parameter. |
value | Location where parameter value is to be updated. |
- Returns
- device_err_t If successful
ERR_OK
else some other error.
◆ Setter_FromText
- Parameters
-
paramInfo | Information regarding the data parameter. |
value | text representation of the value acquired. |
addUnit | If true append the unit of the parameter at the end of the string result. |
- Returns
- device_err_t If successful
ERR_OK
else some other error.
◆ type
◆ unit