@@ -81,8 +81,7 @@ const AP_Param::GroupInfo AP_Networking::var_info[] = {
8181 // @Param: TESTS
8282 // @DisplayName: Test enable flags
8383 // @Description: Enable/Disable networking tests
84- // @Bitmask: 0:UDP echo test,1:TCP echo test, 2:TCP discard test, 3:TCP reflect test
85- // @RebootRequired: True
84+ // @Bitmask: 0:UDP echo test,1:TCP echo test,2:TCP discard test,3:TCP reflect test,4:Connector loopback test,5:TCP discard server,6:15-second TCP discard test
8685 // @User: Advanced
8786 AP_GROUPINFO (" TESTS" , 7 , AP_Networking, param.tests , 0 ),
8887
@@ -93,8 +92,8 @@ const AP_Param::GroupInfo AP_Networking::var_info[] = {
9392
9493 // @Param: OPTIONS
9594 // @DisplayName: Networking options
96- // @Description: Networking options
97- // @Bitmask: 0:EnablePPP Ethernet gateway, 1:Enable CAN1 multicast endpoint, 2:Enable CAN2 multicast endpoint, 3:Enable CAN1 multicast bridged, 4:Enable CAN2 multicast bridged, 5:DisablePPPTimeout, 6:DisablePPPEchoLimit, 7:Capture to file
95+ // @Description: Networking options. PPP software flow control must be enabled on both PPP endpoints
96+ // @Bitmask: 0:EnablePPP Ethernet gateway, 1:Enable CAN1 multicast endpoint, 2:Enable CAN2 multicast endpoint, 3:Enable CAN1 multicast bridged, 4:Enable CAN2 multicast bridged, 5:DisablePPPTimeout, 6:DisablePPPEchoLimit, 7:Capture to file, 8:Enable PPP software flow control
9897 // @RebootRequired: True
9998 // @User: Advanced
10099 AP_GROUPINFO (" OPTIONS" , 9 , AP_Networking, param.options , 0 ),
@@ -267,6 +266,9 @@ void AP_Networking::update()
267266 }
268267 backend->update ();
269268 announce_address_changes ();
269+ #if AP_NETWORKING_TESTS_ENABLED
270+ start_tests ();
271+ #endif
270272}
271273
272274uint32_t AP_Networking::convert_netmask_bitcount_to_ip (const uint32_t netmask_bitcount)
0 commit comments