Skip to content
Snippets Groups Projects
Commit 8438d5aa authored by Rohit Gupta's avatar Rohit Gupta
Browse files

update to UE config script

parent 2ca52aaf
No related branches found
No related tags found
No related merge requests found
...@@ -104,7 +104,7 @@ def start_ue () : ...@@ -104,7 +104,7 @@ def start_ue () :
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+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,7 +135,7 @@ def stop_ue(): ...@@ -135,7 +135,7 @@ def stop_ue():
timeout=60 timeout=60
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) send_command('AT+CFUN=4' , 'OK' , timeout)
for arg in sys.argv[1:]: for arg in sys.argv[1:]:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment