get_val
p->lower = get_val(ebuf, 0, p->type);
p->upper = get_val(ebuf, 1, p->type);
int64_t get_val(char *, int, enum sensor_type);