• Home
Name Date Size #Lines LOC

..--

androidapp/04-Jul-2025-186140

BUILD.gnD04-Jul-20255.2 KiB185156

READMED04-Jul-20251.1 KiB3625

config_reader.ccD04-Jul-20251.9 KiB5538

config_reader.hD04-Jul-20251.4 KiB5433

create_network_tester_config.pyD04-Jul-20251 KiB3115

jni.ccD04-Jul-20252.1 KiB6951

network_tester_config.protoD04-Jul-2025328 1511

network_tester_packet.protoD04-Jul-2025400 1916

network_tester_unittest.ccD04-Jul-20251.2 KiB3821

packet_logger.ccD04-Jul-20251.7 KiB4521

packet_logger.hD04-Jul-20251.3 KiB4726

packet_sender.ccD04-Jul-20254.4 KiB134107

packet_sender.hD04-Jul-20252.2 KiB7248

parse_packet_log.pyD04-Jul-20255 KiB151111

server.ccD04-Jul-2025874 2411

test_controller.ccD04-Jul-20255.7 KiB159135

test_controller.hD04-Jul-20253.3 KiB9670

README

1This file explains how to run the network tester and how to analyze the results.
2
3create config files
4===================
5use create_network_tester_config.py  to create config files.
6you can add or change the AddConfig call in the main function to create a
7the desired network config.
8
9run network_tester_server
10=========================
11place the network config file next to the server binary and name it
12"server_config.dat".
13
14the network_tester_server should run on a server with a public IP address.
15
16the log file of network_tester_server will be created next to the binary with
17the name "server_packet_log.dat"
18
19
20run NetworkTesterMobile (apk)
21=============================
22change the IP and the port in the jni.cpp file and set it to the port and IP
23you run the network_tester_server on.
24
25place the network config file as "/mnt/sdcard/network_tester_client_config.dat"
26on the tester android phone.
27
28The log file of network_tester_server will be created at
29"/mnt/sdcard/network_tester_client_packet_log.dat"
30
31
32analyze the results
33====================
34run "python parse_packet_log.py -f <log_file_to_parse>" to analyze the
35log results.
36