X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tools%2Ftinyos%2Fmisc%2Ftos-deluge;fp=tools%2Ftinyos%2Fmisc%2Ftos-deluge;h=4e71e0c528a935f36cd8e025941172500dc66b99;hb=e7da64db38a12dd629eb3f1c39fd04b512694ba3;hp=6542c78c4d84fbbe8ec3e60a4a78cdec4f65452e;hpb=64232e78e5f65eb60a04c2b80ae2d846795f7905;p=tinyos-2.x.git diff --git a/tools/tinyos/misc/tos-deluge b/tools/tinyos/misc/tos-deluge index 6542c78c..4e71e0c5 100755 --- a/tools/tinyos/misc/tos-deluge +++ b/tools/tinyos/misc/tos-deluge @@ -131,7 +131,7 @@ def handleResponse(success, msg): if success == True: packet = s.sniff_am() while packet and packet.type == 100: - print "".join([chr(i) for i in p.data]) + print "".join([chr(i) for i in packet.data]) packet = s.sniff_am() reply = SerialReplyPacket(packet.data) if reply.error == ERROR_SUCCESS: