Searched refs:prop_name (Results 1 – 3 of 3) sorted by relevance
/openthread-2.7.6/tools/otci/otci/ |
D | utils.py | 47 prop_name = '__cached_' + func.__name__ 52 return getattr(self, prop_name) 55 setattr(self, prop_name, val)
|
/openthread-2.7.6/tests/toranj/ |
D | wpan.py | 407 def get(self, prop_name, value_only=True): argument 408 return self.wpanctl('get ' + ('-v ' if value_only else '') + prop_name) 410 def set(self, prop_name, value, binary_data=False): argument 411 return self._update_prop('set', prop_name, value, binary_data) 413 def add(self, prop_name, value, binary_data=False): argument 414 return self._update_prop('add', prop_name, value, binary_data) 416 def remove(self, prop_name, value, binary_data=False): argument 417 return self._update_prop('remove', prop_name, value, binary_data) 419 def _update_prop(self, action, prop_name, value, binary_data): argument 420 … return self.wpanctl(action + ' ' + prop_name + ' ' + ('-d ' if binary_data else '') + '-v ' +
|
D | README.md | 60 node.get(prop_name) 61 node.set(prop_name, value, binary_data=False) 62 node.add(prop_name, value, binary_data=False) 63 node.remove(prop_name, value, binary_data=False)
|