[thci] add setCcmState method in thci (#7179)

This commit adds API method setCcmState to THCI file.
This commit is contained in:
canisLupus1313
2021-11-19 10:34:13 -08:00
committed by GitHub
parent c127d99668
commit 0e8b6604cb
+5
View File
@@ -3604,6 +3604,11 @@ class OpenThreadTHCI(object):
return s
@API
def setCcmState(self, state=0):
assert state in (0, 1), state
self.__executeCommand("ccm {}".format("enable" if state == 1 else "disable"))
class OpenThread(OpenThreadTHCI, IThci):