##// END OF EJS Templates
changes with frame corrected
imanay -
r108:109
parent child
Show More
@@ -104,6 +104,7
104 104 if first == 0:
105 105 first = 1
106 106 lng = int(trama_rx[20:26])
107 print str(lng)
107 108 if cnt == lng:
108 109 break
109 110
@@ -116,6 +117,7
116 117 # Short data through ethernet
117 118 trama_rx = self.socket_c.recv(nbytes)
118 119 lng = int(trama_rx[20:26])
120 print str(lng)
119 121 print "\nThis socket has received this data: " + str(trama_rx)
120 122
121 123 return trama_rx, lng
@@ -170,6 +170,7
170 170
171 171 all_blocks = all_blocks + one_block
172 172 #Using tx buffer
173 print all_blocks
173 174 self.tx_buffer = all_blocks
174 175
175 176 def __getConnectionStatus(self):
General Comments 0
You need to be logged in to leave comments. Login now