Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
oai
openairinterface5G
Commits
8bad8301
Commit
8bad8301
authored
Jun 14, 2016
by
Rohit Gupta
Browse files
Gitlab CI: minor fix for bandrich UE
parent
7481517d
Changes
1
Hide whitespace changes
Inline
Side-by-side
cmake_targets/autotests/tools/configure_cots_bandrich_ue.py
View file @
8bad8301
...
...
@@ -62,7 +62,7 @@ def find_open_port():
while
True
:
if
os
.
path
.
exists
(
serial_port
)
==
True
:
return
serial_port
for
port
in
range
(
2
,
100
):
for
port
in
range
(
0
,
100
):
serial_port_tmp
=
'/dev/ttyUSB'
+
str
(
port
)
if
os
.
path
.
exists
(
serial_port_tmp
)
==
True
:
print
'New Serial Port : '
+
serial_port_tmp
...
...
@@ -206,6 +206,7 @@ def reset_ue():
os
.
system
(
cmd
+
" ; sleep 15"
)
cmd
=
"sudo sh -c
\"
echo 1 > "
+
usb_dir
+
"/authorized
\"
"
os
.
system
(
cmd
+
" ; sleep 30"
)
find_open_port
()
stop_ue
()
i
=
1
...
...
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