MCPcopy Create free account
hub / github.com/OpenHD/OpenHD / request_start_scan_channels

Method request_start_scan_channels

OpenHD/ohd_interface/src/wb_link.cpp:535–544  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

533 return true;
534}
535bool WBLink::request_start_scan_channels(
536 openhd::LinkActionHandler::ScanChannelsParam scan_channels_params) {
537 auto work_item = std::make_shared<WorkItem>(
538 "SCAN_CHANNELS",
539 [this, scan_channels_params]() {
540 perform_channel_scan(scan_channels_params);
541 },
542 std::chrono::steady_clock::now());
543 return try_schedule_work_item(work_item);
544}
545
546bool WBLink::request_start_analyze_channels(int channels_to_scan) {
547 auto work_item = std::make_shared<WorkItem>(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected