| 285 | } |
| 286 | |
| 287 | int DeviceAgent::get_hardware_operation_mode() |
| 288 | { |
| 289 | assert(_dev_handle); |
| 290 | |
| 291 | int mode_val = 0; |
| 292 | if (get_config_int16(SR_CONF_OPERATION_MODE, mode_val)){ |
| 293 | return mode_val; |
| 294 | } |
| 295 | return -1; |
| 296 | } |
| 297 | |
| 298 | bool DeviceAgent::is_stream_mode() |
| 299 | { |