Skip to content

Commit

Permalink
Fix Python Chip Controller: set pairing thread credential
Browse files Browse the repository at this point in the history
  • Loading branch information
doublemis1 committed Dec 20, 2021
1 parent 6a08b04 commit 9e51dd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controller/python/chip-device-ctrl.py
Original file line number Diff line number Diff line change
Expand Up @@ -920,7 +920,7 @@ def do_setpairingthreadcredential(self, line):
print("Usage:")
self.do_help("set-pairing-thread-credential")
return
self.devCtrl.SetThreadOperationalDataset(args[0].encode("utf-8"))
self.devCtrl.SetThreadOperationalDataset(bytes.fromhex(args[0]))
except Exception as ex:
print(str(ex))
return
Expand Down

0 comments on commit 9e51dd8

Please sign in to comment.