Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Michael Black
OpenXG-RAN
Commits
058aa8a2
Commit
058aa8a2
authored
Apr 01, 2016
by
Rohit Gupta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updates for adding Sony Experia M4 to test setup
parent
71f9a71a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
3 deletions
+14
-3
cmake_targets/autotests/tools/configure_cots_sony_experia_m4_ue.py
...gets/autotests/tools/configure_cots_sony_experia_m4_ue.py
+2
-3
cmake_targets/autotests/tools/iperf_script_phone
cmake_targets/autotests/tools/iperf_script_phone
+12
-0
No files found.
cmake_targets/autotests/tools/configure_cots_sony_experia_m4_ue.py
View file @
058aa8a2
...
@@ -50,7 +50,7 @@ def kill_processes(name):
...
@@ -50,7 +50,7 @@ def kill_processes(name):
break
;
break
;
out_arr
=
out
.
split
()
out_arr
=
out
.
split
()
pid_to_kill
=
out_arr
[
1
]
pid_to_kill
=
out_arr
[
1
]
print
"Now killing process ID"
+
pid_to_kill
+
" on Phone"
print
"Now killing process ID
"
+
pid_to_kill
+
" on Phone"
cmd
=
'sudo adb -s '
+
device_id
+
' shell "kill '
+
pid_to_kill
+
'"'
cmd
=
'sudo adb -s '
+
device_id
+
' shell "kill '
+
pid_to_kill
+
'"'
status
,
out
=
commands
.
getstatusoutput
(
cmd
)
status
,
out
=
commands
.
getstatusoutput
(
cmd
)
if
status
!=
0
:
if
status
!=
0
:
...
@@ -74,8 +74,7 @@ def start_ue () :
...
@@ -74,8 +74,7 @@ def start_ue () :
cmd
=
'sudo adb -s '
+
device_id
+
' shell netcfg |grep 192.'
cmd
=
'sudo adb -s '
+
device_id
+
' shell netcfg |grep 192.'
status
,
out
=
commands
.
getstatusoutput
(
cmd
)
status
,
out
=
commands
.
getstatusoutput
(
cmd
)
if
(
out
==
''
)
:
if
(
out
==
''
)
:
print
"Wating for UE to connect and get IP Address..."
print
"Waiting for UE to connect and get IP Address..."
sys
.
exit
()
else
:
else
:
print
"UE is now connected. IP Address settings are..."
+
out
print
"UE is now connected. IP Address settings are..."
+
out
os
.
system
(
'sleep 5'
)
os
.
system
(
'sleep 5'
)
...
...
cmake_targets/autotests/tools/iperf_script_phone
View file @
058aa8a2
...
@@ -17,4 +17,16 @@ echo "iperf_args = ${iperf_args[@]}"
...
@@ -17,4 +17,16 @@ echo "iperf_args = ${iperf_args[@]}"
sleep
$timeout
sleep
$timeout
while
true
;
do
cmd
=
`
sudo
adb
-s
$device_id
shell netcfg |grep 192.
`
if
[
-z
"
$cmd
"
]
;
then
print
"Wating for UE to connect and get IP Address..."
else
echo
"UE is not connected. IP Address settings are...
$cmd
"
break
done
print
"Starting iperf now..."
sudo
adb
-s
$device_id
shell /data/local/tmp/iperf
${
iperf_args
[@]
}
sudo
adb
-s
$device_id
shell /data/local/tmp/iperf
${
iperf_args
[@]
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment