THCI: fix JOIN_ENT log (#1262)

This commit is contained in:
rongli
2017-02-06 15:05:27 -08:00
committed by Jonathan Hui
parent fa1c596fa2
commit a682a3c541
4 changed files with 36 additions and 2 deletions
+2 -1
View File
@@ -2033,7 +2033,8 @@ class OpenThread(IThci):
elif "type" in infoType:
EncryptedPacket.Type = PlatformDiagnosticPacket_Type.JOIN_FIN_req if 'JOIN_FIN.req' in infoValue \
else PlatformDiagnosticPacket_Type.JOIN_FIN_rsp if 'JOIN_FIN.rsp' in infoValue \
else PlatformDiagnosticPacket_Type.JOIN_ENT_rsp if 'JOIN_ENT.ntf' in infoValue \
else PlatformDiagnosticPacket_Type.JOIN_ENT_req if 'JOIN_ENT.ntf' in infoValue \
else PlatformDiagnosticPacket_Type.JOIN_ENT_rsp if 'JOIN_ENT.rsp' in infoValue \
else PlatformDiagnosticPacket_Type.UNKNOWN
elif "len" in infoType:
EncryptedPacket.TLVsLength = int(infoValue)