cpp: introduced sensor::read_mode_values()