Skip to content

Commit

Permalink
minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangzp committed Dec 24, 2021
1 parent bca73e2 commit e27c7f8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
3 changes: 3 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog of PicoScenes Plugin Development Kit (PDK)

## Dec. 25, 2021
* [EchoProbe] minor udpate

## Dec. 14, 2021
* [EchoProbe] Add support for the 802.11ax High-Doppler mode and Extended-Range (HE-ER-SU) mode

Expand Down
8 changes: 2 additions & 6 deletions plugin-echoprobe/EchoProbePlugin.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -250,12 +250,8 @@ void EchoProbePlugin::parseAndExecuteCommands(const std::string &commandString)

if (vm.count("high-doppler")) {
auto heMidamblePeriodicity = vm["high-doppler"].as<double>();
if (*parameters.format == PacketFormatEnum::PacketFormat_HESU || *parameters.format == PacketFormatEnum::PacketFormat_HEMU) {
parameters.heHighDoppler = true;
parameters.heMidamblePeriodicity = heMidamblePeriodicity;
} else {
throw std::invalid_argument(fmt::format("[EchoProbe Plugin]: Only packet format of 11ax supports high doppler."));
}
parameters.heHighDoppler = true;
parameters.heMidamblePeriodicity = heMidamblePeriodicity;
}

if (vm.count("injector-content")) {
Expand Down

0 comments on commit e27c7f8

Please sign in to comment.