summaryrefslogtreecommitdiffstats
path: root/For Weekly Test/tricode/GSMHandler.py
diff options
context:
space:
mode:
Diffstat (limited to 'For Weekly Test/tricode/GSMHandler.py')
-rw-r--r--For Weekly Test/tricode/GSMHandler.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/For Weekly Test/tricode/GSMHandler.py b/For Weekly Test/tricode/GSMHandler.py
index 2537044..cf9a2b4 100644
--- a/For Weekly Test/tricode/GSMHandler.py
+++ b/For Weekly Test/tricode/GSMHandler.py
@@ -327,14 +327,8 @@ while 1:
elif test ==2:
print 'initialized system but device not working'
logger.logEvent('initialized system but device not working')
- receivedMessage = 0
- while receivedMessage < 4 and resetState!= 1:
- handlerSocket.sendData('DEVICE NOT READY')
- if receivedMessage == 4 or receivedMessage == 5 or receivedMessage == 2 or receivedMessage == 3:
- receivedMessage = receiveMessage(20)
- else:
- receivedMessage = receiveMessage(30)
-
+ handlerSocket.sendData('DEVICE NOT READY')
+
elif test ==0:
print 'nobody can connect, reboot board, restart cellphone'
logger.logEvent('nobody can connect, reboot board, restart cellphone')