• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

androidapp/23-Nov-2023-186140

BUILD.gnD23-Nov-20234.6 KiB165136

READMED23-Nov-20231.1 KiB3625

config_reader.ccD23-Nov-20231.8 KiB5437

config_reader.hD23-Nov-20231.4 KiB5333

create_network_tester_config.pyD23-Nov-20231 KiB3117

jni.cppD23-Nov-20231.9 KiB6447

network_tester_config.protoD23-Nov-2023328 1511

network_tester_packet.protoD23-Nov-2023400 1916

network_tester_unittest.ccD23-Nov-20231.2 KiB3720

packet_logger.ccD23-Nov-20231.7 KiB4521

packet_logger.hD23-Nov-20231.2 KiB4726

packet_sender.ccD23-Nov-20234.2 KiB139110

packet_sender.hD23-Nov-20232 KiB6844

parse_packet_log.pyD23-Nov-20234.5 KiB148108

server.ccD23-Nov-2023700 219

test_controller.ccD23-Nov-20234.6 KiB133110

test_controller.hD23-Nov-20232.8 KiB9164

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