Lines Matching refs:hub
97 " load_cal: send data from calibration file to hub\n"
102 " flash: Load a new firmware image to the hub\n"
123 " -l, --log Outputs logs from the sensor hub as they become available.\n"
420 std::unique_ptr<ContextHub> hub = GetContextHub(args);
421 if (!hub || !hub->Initialize()) {
426 hub->SetLoggingEnabled(args->logging_enabled);
431 success = hub->DisableSensors(args->sensors);
434 success = hub->DisableAllSensors();
438 hub->PrintAllEvents(args->count);
440 hub->PrintSensorEvents(args->sensors, args->count);
445 success = hub->EnableSensors(args->sensors);
447 hub->PrintSensorEvents(args->sensors, args->count);
452 hub->DisableSensors(args->sensors);
453 success = hub->CalibrateSensors(args->sensors);
457 success = hub->LoadCalibration();
461 success = hub->Flash(args->filename);