Home | History | Annotate | Download | only in nanotool

Lines Matching refs:hub

105         "                        flash: load a new firmware image to the hub\n"
107 " load_cal: send data from calibration file to hub\n"
132 " -l, --log Outputs logs from the sensor hub as they become available.\n"
431 std::unique_ptr<ContextHub> hub = GetContextHub(args);
432 if (!hub || !hub->Initialize()) {
437 hub->SetLoggingEnabled(args->logging_enabled);
442 success = hub->DisableSensors(args->sensors);
445 success = hub->DisableAllSensors();
449 hub->PrintAllEvents(args->count);
451 hub->PrintSensorEvents(args->sensors, args->count);
456 success = hub->EnableSensors(args->sensors);
458 hub->PrintSensorEvents(args->sensors, args->count);
463 hub->DisableSensors(args->sensors);
464 success = hub->CalibrateSensors(args->sensors);
468 hub->DisableSensors(args->sensors);
469 success = hub->TestSensors(args->sensors);
473 success = hub->LoadCalibration();
477 success = hub->Flash(args->filename);
481 success = hub->PrintBridgeVersion();