mirror of
https://github.com/espressif/openthread.git
synced 2026-08-15 07:07:46 +00:00
[network-data] add Service/Server TLV support (#2256)
This commit is contained in:
committed by
Jonathan Hui
parent
1436d9b067
commit
005781d066
@@ -197,6 +197,12 @@ class otApi:
|
||||
def get_addrs(self):
|
||||
return self.Api.otNodeGetAddrs(self.otNode).decode("utf-8").split("\n")
|
||||
|
||||
def add_service(self, enterpriseNumber, serviceData, serverData):
|
||||
raise OSError("otServerAddService wrapper not implemented!")
|
||||
|
||||
def remove_service(self, enterpriseNumber, serviceData):
|
||||
raise OSError("otServerRemoveService wrapper not implemented!")
|
||||
|
||||
def get_context_reuse_delay(self):
|
||||
return int(self.Api.otNodeGetContextReuseDelay(self.otNode))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user