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
zzha zzha
OpenXG-RAN
Commits
f1304ee2
Commit
f1304ee2
authored
Dec 04, 2015
by
Rohit Gupta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated for completely putting UE in airplane mode
parent
0aeb77ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
cmake_targets/autotests/tools/configure_cots_bandrich_ue.py
cmake_targets/autotests/tools/configure_cots_bandrich_ue.py
+2
-0
No files found.
cmake_targets/autotests/tools/configure_cots_bandrich_ue.py
View file @
f1304ee2
...
@@ -103,6 +103,7 @@ def start_ue () :
...
@@ -103,6 +103,7 @@ def start_ue () :
#print 'Enter your commands below.\r\nInsert "exit" to leave the application.'
#print 'Enter your commands below.\r\nInsert "exit" to leave the application.'
timeout
=
60
#timeout in seconds
timeout
=
60
#timeout in seconds
send_command
(
'AT'
,
'OK'
,
timeout
)
send_command
(
'AT'
,
'OK'
,
timeout
)
send_command
(
'AT+CFUN=1'
,
'OK'
,
timeout
)
send_command
(
'AT+CGATT=0'
,
'OK'
,
timeout
)
send_command
(
'AT+CGATT=0'
,
'OK'
,
timeout
)
send_command
(
'AT+CGATT=1'
,
'OK'
,
300
)
send_command
(
'AT+CGATT=1'
,
'OK'
,
300
)
#os.system('wvdial -C ' + bandrich_ppd_config + ' &' )
#os.system('wvdial -C ' + bandrich_ppd_config + ' &' )
...
@@ -135,6 +136,7 @@ def stop_ue():
...
@@ -135,6 +136,7 @@ def stop_ue():
os
.
system
(
'killall wvdial'
)
os
.
system
(
'killall wvdial'
)
send_command
(
'AT'
,
'OK'
,
timeout
)
send_command
(
'AT'
,
'OK'
,
timeout
)
send_command
(
'AT+CGATT=0'
,
'OK'
,
timeout
)
send_command
(
'AT+CGATT=0'
,
'OK'
,
timeout
)
send_command
(
'AT+CFUN=4'
,
'OK'
,
timeout
)
for
arg
in
sys
.
argv
[
1
:]:
for
arg
in
sys
.
argv
[
1
:]:
if
arg
==
'--start-ue'
:
if
arg
==
'--start-ue'
:
...
...
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