Lines Matching +full:split +full:- +full:security
7 SPDX-License-Identifier: Apache-2.0
30 resp = self.get('/security/clients')
42 - response: The response object received from the server.
45 - dict: The parsed JSON response as a dictionary.
48 - Exception: If the response indicates an error condition.
74 …f.timeout}&format={self.format}' + uri_options, data=data, headers={'content-type': 'application/j…
81 headers={'content-type': 'application/json'}
104 if len(path.split('/')) == 3:
108 rid = path.split('/')[-1]
112 """Send LwM2M Write-Attributes to given path
119 """Send LwM2M Write-Attributes to given path
139 path = '/'.join(path.split('/')[:-1]) # Create call should not have instance ID in path
148 - value: The value to be converted.
151 - str: The string representation of the value.
178 "id": int(path.split('/')[-1]), # ID is last element of path
282 keys = [int(key) for key in path.lstrip("/").split('/')]
321 """Send LwM2M Composite-Read command and decode the response to a Python dictionary"""
329 Send LwM2m Composite-Write operation.
349 level = len(path.split('/')) - 1
350 rid = int(path.split('/')[-1])
374 …self.put('/security/clients/', f'{{"endpoint":"{endpoint}","tls":{{"mode":"psk","details":{{"ident…
377 self.delete_raw(f'/security/clients/{endpoint}')
382 self.put('/security/clients/', data)
385 …ultMinPeriod":1,"lifetime":86400,"notifIfDisabled":false,"shortId":1}},"security":{"1":{"bootstrap…
389 self.delete_raw(f'/security/clients/{endpoint}')
430 …self.api_url}/event?{endpoint}', stream=True, headers={'Accept': 'text/event-stream'}, timeout=tim…
432 r.encoding = 'utf-8'