feat: add logging for subnet mask and gateway in device listing

This commit is contained in:
obyalian
2025-10-15 11:12:43 +08:00
parent d0d880c190
commit 9b66cf57ff
@@ -56,6 +56,10 @@ int main() {
"usb connect type: " << connection_type);
RCLCPP_INFO_STREAM(rclcpp::get_logger("list_device_node"),
"MAC address: " << list->getUid(i));
RCLCPP_INFO_STREAM(rclcpp::get_logger("list_device_node"),
"subnet mask: " << list->getSubnetMask(i));
RCLCPP_INFO_STREAM(rclcpp::get_logger("list_device_node"),
"gateway: " << list->getGateway(i));
std::cout << std::endl;
}
}