diff --git a/firmware/lib/test_handlers.cpp b/firmware/lib/test_handlers.cpp index cea3eb1..0e38ffb 100644 --- a/firmware/lib/test_handlers.cpp +++ b/firmware/lib/test_handlers.cpp @@ -238,12 +238,12 @@ static void start_ping_rate(const responder& resp, uint16_t target, }); } -static void test_ping_rate(const responder& resp) { +static void test_packet_rate(const responder& resp) { start_ping_rate(resp, 8192, 0, 8); } -static void test_ping_rate_1k(const responder& resp) { - start_ping_rate(resp, 2048, 1024, 8); +static void test_byte_rate(const responder& resp) { + start_ping_rate(resp, 2048, 1400, 8); } using sync_test_fn = ResponseTest (*)(const responder&); @@ -259,8 +259,8 @@ static const std::unordered_map tests = { {"discovery_info", {nullptr, test_discovery_info}}, {"ping_subnet", {nullptr, test_ping_subnet}}, {"ping_global", {nullptr, test_ping_global}}, - {"ping_rate", {nullptr, test_ping_rate}}, - {"ping_rate_1k", {nullptr, test_ping_rate_1k}}, + {"packet_rate", {nullptr, test_packet_rate}}, + {"byte_rate", {nullptr, test_byte_rate}}, }; std::optional handle_list_tests(const responder&, const RequestListTests&) {