chirpstack-api 4.18.0__tar.gz → 4.19.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/PKG-INFO +1 -1
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api/api/application_pb2.py +4 -4
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api/api/application_pb2.pyi +1 -1
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api/api/application_pb2_grpc.py +4 -4
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api/api/device_pb2.py +4 -4
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api/api/device_pb2.pyi +6 -6
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api/api/device_pb2_grpc.py +4 -4
- chirpstack_api-4.19.0/chirpstack_api/api/device_profile_pb2.py +163 -0
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api/api/device_profile_pb2.pyi +6 -4
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api/api/device_profile_pb2_grpc.py +4 -4
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api/api/fuota_pb2.py +4 -4
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api/api/fuota_pb2.pyi +1 -1
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api/api/fuota_pb2_grpc.py +4 -4
- chirpstack_api-4.19.0/chirpstack_api/api/gateway_pb2.py +127 -0
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api/api/gateway_pb2.pyi +11 -7
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api/api/gateway_pb2_grpc.py +4 -4
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api/api/internal_pb2.py +4 -4
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api/api/internal_pb2.pyi +5 -5
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api/api/internal_pb2_grpc.py +4 -4
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api/api/multicast_group_pb2.py +4 -4
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api/api/multicast_group_pb2_grpc.py +4 -4
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api/api/relay_pb2.py +4 -4
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api/api/relay_pb2_grpc.py +4 -4
- chirpstack_api-4.19.0/chirpstack_api/api/tenant_pb2.py +106 -0
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api/api/tenant_pb2.pyi +14 -6
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api/api/tenant_pb2_grpc.py +48 -4
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api/api/user_pb2.py +4 -4
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api/api/user_pb2.pyi +3 -3
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api/api/user_pb2_grpc.py +4 -4
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api/common/common_pb2.py +4 -4
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api/common/common_pb2_grpc.py +1 -1
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api/gw/gw_pb2.py +4 -4
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api/gw/gw_pb2.pyi +1 -1
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api/gw/gw_pb2_grpc.py +1 -1
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api/integration/integration_pb2.py +4 -4
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api/integration/integration_pb2.pyi +4 -4
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api/integration/integration_pb2_grpc.py +1 -1
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api/stream/api_request_pb2.py +4 -4
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api/stream/api_request_pb2_grpc.py +1 -1
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api/stream/backend_interfaces_pb2.py +4 -4
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api/stream/backend_interfaces_pb2_grpc.py +1 -1
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api/stream/frame_pb2.py +4 -4
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api/stream/frame_pb2.pyi +2 -2
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api/stream/frame_pb2_grpc.py +1 -1
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api/stream/meta_pb2.py +4 -4
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api/stream/meta_pb2_grpc.py +1 -1
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api.egg-info/PKG-INFO +1 -1
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/setup.py +1 -1
- chirpstack_api-4.18.0/chirpstack_api/api/device_profile_pb2.py +0 -163
- chirpstack_api-4.18.0/chirpstack_api/api/gateway_pb2.py +0 -127
- chirpstack_api-4.18.0/chirpstack_api/api/tenant_pb2.py +0 -102
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/README.md +0 -0
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api/__init__.py +0 -0
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api/api/__init__.py +0 -0
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api/api/device_profile_template_pb2.py +0 -0
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api/api/device_profile_template_pb2.pyi +0 -0
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api/api/device_profile_template_pb2_grpc.py +0 -0
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api/api/multicast_group_pb2.pyi +0 -0
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api/api/relay_pb2.pyi +0 -0
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api/common/__init__.py +0 -0
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api/common/common_pb2.pyi +0 -0
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api/gw/__init__.py +0 -0
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api/integration/__init__.py +0 -0
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api/stream/__init__.py +0 -0
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api/stream/api_request_pb2.pyi +0 -0
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api/stream/backend_interfaces_pb2.pyi +0 -0
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api/stream/meta_pb2.pyi +0 -0
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api.egg-info/SOURCES.txt +0 -0
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api.egg-info/dependency_links.txt +0 -0
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api.egg-info/not-zip-safe +0 -0
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api.egg-info/requires.txt +0 -0
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api.egg-info/top_level.txt +0 -0
- {chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/setup.cfg +0 -0
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
3
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
4
|
# source: chirpstack-api/api/application.proto
|
|
5
|
-
# Protobuf Python Version:
|
|
5
|
+
# Protobuf Python Version: 7.35.0
|
|
6
6
|
"""Generated protocol buffer code."""
|
|
7
7
|
from google.protobuf import descriptor as _descriptor
|
|
8
8
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
@@ -11,9 +11,9 @@ from google.protobuf import symbol_database as _symbol_database
|
|
|
11
11
|
from google.protobuf.internal import builder as _builder
|
|
12
12
|
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
13
|
_runtime_version.Domain.PUBLIC,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
7,
|
|
15
|
+
35,
|
|
16
|
+
0,
|
|
17
17
|
'',
|
|
18
18
|
'chirpstack-api/api/application.proto'
|
|
19
19
|
)
|
|
@@ -550,7 +550,7 @@ class IftttIntegration(_message.Message):
|
|
|
550
550
|
uplink_values: _containers.RepeatedScalarFieldContainer[str]
|
|
551
551
|
arbitrary_json: bool
|
|
552
552
|
event_prefix: str
|
|
553
|
-
def __init__(self, application_id: _Optional[str] = ..., key: _Optional[str] = ..., uplink_values: _Optional[_Iterable[str]] = ..., arbitrary_json: bool = ..., event_prefix: _Optional[str] = ...) -> None: ...
|
|
553
|
+
def __init__(self, application_id: _Optional[str] = ..., key: _Optional[str] = ..., uplink_values: _Optional[_Iterable[str]] = ..., arbitrary_json: _Optional[bool] = ..., event_prefix: _Optional[str] = ...) -> None: ...
|
|
554
554
|
|
|
555
555
|
class CreateIftttIntegrationRequest(_message.Message):
|
|
556
556
|
__slots__ = ("integration",)
|
|
@@ -6,7 +6,7 @@ import warnings
|
|
|
6
6
|
from chirpstack_api.api import application_pb2 as chirpstack__api_dot_api_dot_application__pb2
|
|
7
7
|
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
|
|
8
8
|
|
|
9
|
-
GRPC_GENERATED_VERSION = '1.
|
|
9
|
+
GRPC_GENERATED_VERSION = '1.82.1'
|
|
10
10
|
GRPC_VERSION = grpc.__version__
|
|
11
11
|
_version_not_supported = False
|
|
12
12
|
|
|
@@ -26,7 +26,7 @@ if _version_not_supported:
|
|
|
26
26
|
)
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
class ApplicationServiceStub
|
|
29
|
+
class ApplicationServiceStub:
|
|
30
30
|
"""ApplicationService is the service providing API methods for managing
|
|
31
31
|
applications.
|
|
32
32
|
"""
|
|
@@ -284,7 +284,7 @@ class ApplicationServiceStub(object):
|
|
|
284
284
|
_registered_method=True)
|
|
285
285
|
|
|
286
286
|
|
|
287
|
-
class ApplicationServiceServicer
|
|
287
|
+
class ApplicationServiceServicer:
|
|
288
288
|
"""ApplicationService is the service providing API methods for managing
|
|
289
289
|
applications.
|
|
290
290
|
"""
|
|
@@ -888,7 +888,7 @@ def add_ApplicationServiceServicer_to_server(servicer, server):
|
|
|
888
888
|
|
|
889
889
|
|
|
890
890
|
# This class is part of an EXPERIMENTAL API.
|
|
891
|
-
class ApplicationService
|
|
891
|
+
class ApplicationService:
|
|
892
892
|
"""ApplicationService is the service providing API methods for managing
|
|
893
893
|
applications.
|
|
894
894
|
"""
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
3
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
4
|
# source: chirpstack-api/api/device.proto
|
|
5
|
-
# Protobuf Python Version:
|
|
5
|
+
# Protobuf Python Version: 7.35.0
|
|
6
6
|
"""Generated protocol buffer code."""
|
|
7
7
|
from google.protobuf import descriptor as _descriptor
|
|
8
8
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
@@ -11,9 +11,9 @@ from google.protobuf import symbol_database as _symbol_database
|
|
|
11
11
|
from google.protobuf.internal import builder as _builder
|
|
12
12
|
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
13
|
_runtime_version.Domain.PUBLIC,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
7,
|
|
15
|
+
35,
|
|
16
|
+
0,
|
|
17
17
|
'',
|
|
18
18
|
'chirpstack-api/api/device.proto'
|
|
19
19
|
)
|
|
@@ -50,7 +50,7 @@ class Device(_message.Message):
|
|
|
50
50
|
variables: _containers.ScalarMap[str, str]
|
|
51
51
|
tags: _containers.ScalarMap[str, str]
|
|
52
52
|
join_eui: str
|
|
53
|
-
def __init__(self, dev_eui: _Optional[str] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., application_id: _Optional[str] = ..., device_profile_id: _Optional[str] = ..., skip_fcnt_check: bool = ..., is_disabled: bool = ..., variables: _Optional[_Mapping[str, str]] = ..., tags: _Optional[_Mapping[str, str]] = ..., join_eui: _Optional[str] = ...) -> None: ...
|
|
53
|
+
def __init__(self, dev_eui: _Optional[str] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., application_id: _Optional[str] = ..., device_profile_id: _Optional[str] = ..., skip_fcnt_check: _Optional[bool] = ..., is_disabled: _Optional[bool] = ..., variables: _Optional[_Mapping[str, str]] = ..., tags: _Optional[_Mapping[str, str]] = ..., join_eui: _Optional[str] = ...) -> None: ...
|
|
54
54
|
|
|
55
55
|
class DeviceStatus(_message.Message):
|
|
56
56
|
__slots__ = ("margin", "external_power_source", "battery_level")
|
|
@@ -60,7 +60,7 @@ class DeviceStatus(_message.Message):
|
|
|
60
60
|
margin: int
|
|
61
61
|
external_power_source: bool
|
|
62
62
|
battery_level: float
|
|
63
|
-
def __init__(self, margin: _Optional[int] = ..., external_power_source: bool = ..., battery_level: _Optional[float] = ...) -> None: ...
|
|
63
|
+
def __init__(self, margin: _Optional[int] = ..., external_power_source: _Optional[bool] = ..., battery_level: _Optional[float] = ...) -> None: ...
|
|
64
64
|
|
|
65
65
|
class DeviceListItem(_message.Message):
|
|
66
66
|
__slots__ = ("dev_eui", "created_at", "updated_at", "last_seen_at", "name", "description", "device_profile_id", "device_profile_name", "device_status", "tags")
|
|
@@ -182,7 +182,7 @@ class ListDevicesRequest(_message.Message):
|
|
|
182
182
|
order_by_desc: bool
|
|
183
183
|
tags: _containers.ScalarMap[str, str]
|
|
184
184
|
device_profile_id: str
|
|
185
|
-
def __init__(self, limit: _Optional[int] = ..., offset: _Optional[int] = ..., search: _Optional[str] = ..., application_id: _Optional[str] = ..., multicast_group_id: _Optional[str] = ..., order_by: _Optional[_Union[ListDevicesRequest.OrderBy, str]] = ..., order_by_desc: bool = ..., tags: _Optional[_Mapping[str, str]] = ..., device_profile_id: _Optional[str] = ...) -> None: ...
|
|
185
|
+
def __init__(self, limit: _Optional[int] = ..., offset: _Optional[int] = ..., search: _Optional[str] = ..., application_id: _Optional[str] = ..., multicast_group_id: _Optional[str] = ..., order_by: _Optional[_Union[ListDevicesRequest.OrderBy, str]] = ..., order_by_desc: _Optional[bool] = ..., tags: _Optional[_Mapping[str, str]] = ..., device_profile_id: _Optional[str] = ...) -> None: ...
|
|
186
186
|
|
|
187
187
|
class ListDevicesResponse(_message.Message):
|
|
188
188
|
__slots__ = ("total_count", "result")
|
|
@@ -378,7 +378,7 @@ class DeviceQueueItem(_message.Message):
|
|
|
378
378
|
f_cnt_down: int
|
|
379
379
|
is_encrypted: bool
|
|
380
380
|
expires_at: _timestamp_pb2.Timestamp
|
|
381
|
-
def __init__(self, id: _Optional[str] = ..., dev_eui: _Optional[str] = ..., confirmed: bool = ..., f_port: _Optional[int] = ..., data: _Optional[bytes] = ..., object: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ..., is_pending: bool = ..., f_cnt_down: _Optional[int] = ..., is_encrypted: bool = ..., expires_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
|
|
381
|
+
def __init__(self, id: _Optional[str] = ..., dev_eui: _Optional[str] = ..., confirmed: _Optional[bool] = ..., f_port: _Optional[int] = ..., data: _Optional[bytes] = ..., object: _Optional[_Union[_struct_pb2.Struct, _Mapping]] = ..., is_pending: _Optional[bool] = ..., f_cnt_down: _Optional[int] = ..., is_encrypted: _Optional[bool] = ..., expires_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
|
|
382
382
|
|
|
383
383
|
class EnqueueDeviceQueueItemRequest(_message.Message):
|
|
384
384
|
__slots__ = ("queue_item", "flush_queue")
|
|
@@ -386,7 +386,7 @@ class EnqueueDeviceQueueItemRequest(_message.Message):
|
|
|
386
386
|
FLUSH_QUEUE_FIELD_NUMBER: _ClassVar[int]
|
|
387
387
|
queue_item: DeviceQueueItem
|
|
388
388
|
flush_queue: bool
|
|
389
|
-
def __init__(self, queue_item: _Optional[_Union[DeviceQueueItem, _Mapping]] = ..., flush_queue: bool = ...) -> None: ...
|
|
389
|
+
def __init__(self, queue_item: _Optional[_Union[DeviceQueueItem, _Mapping]] = ..., flush_queue: _Optional[bool] = ...) -> None: ...
|
|
390
390
|
|
|
391
391
|
class EnqueueDeviceQueueItemResponse(_message.Message):
|
|
392
392
|
__slots__ = ("id",)
|
|
@@ -406,7 +406,7 @@ class GetDeviceQueueItemsRequest(_message.Message):
|
|
|
406
406
|
COUNT_ONLY_FIELD_NUMBER: _ClassVar[int]
|
|
407
407
|
dev_eui: str
|
|
408
408
|
count_only: bool
|
|
409
|
-
def __init__(self, dev_eui: _Optional[str] = ..., count_only: bool = ...) -> None: ...
|
|
409
|
+
def __init__(self, dev_eui: _Optional[str] = ..., count_only: _Optional[bool] = ...) -> None: ...
|
|
410
410
|
|
|
411
411
|
class GetDeviceQueueItemsResponse(_message.Message):
|
|
412
412
|
__slots__ = ("total_count", "result")
|
|
@@ -6,7 +6,7 @@ import warnings
|
|
|
6
6
|
from chirpstack_api.api import device_pb2 as chirpstack__api_dot_api_dot_device__pb2
|
|
7
7
|
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
|
|
8
8
|
|
|
9
|
-
GRPC_GENERATED_VERSION = '1.
|
|
9
|
+
GRPC_GENERATED_VERSION = '1.82.1'
|
|
10
10
|
GRPC_VERSION = grpc.__version__
|
|
11
11
|
_version_not_supported = False
|
|
12
12
|
|
|
@@ -26,7 +26,7 @@ if _version_not_supported:
|
|
|
26
26
|
)
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
class DeviceServiceStub
|
|
29
|
+
class DeviceServiceStub:
|
|
30
30
|
"""DeviceService is the service providing API methods for managing devices.
|
|
31
31
|
"""
|
|
32
32
|
|
|
@@ -138,7 +138,7 @@ class DeviceServiceStub(object):
|
|
|
138
138
|
_registered_method=True)
|
|
139
139
|
|
|
140
140
|
|
|
141
|
-
class DeviceServiceServicer
|
|
141
|
+
class DeviceServiceServicer:
|
|
142
142
|
"""DeviceService is the service providing API methods for managing devices.
|
|
143
143
|
"""
|
|
144
144
|
|
|
@@ -401,7 +401,7 @@ def add_DeviceServiceServicer_to_server(servicer, server):
|
|
|
401
401
|
|
|
402
402
|
|
|
403
403
|
# This class is part of an EXPERIMENTAL API.
|
|
404
|
-
class DeviceService
|
|
404
|
+
class DeviceService:
|
|
405
405
|
"""DeviceService is the service providing API methods for managing devices.
|
|
406
406
|
"""
|
|
407
407
|
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: chirpstack-api/api/device_profile.proto
|
|
5
|
+
# Protobuf Python Version: 7.35.0
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
7,
|
|
15
|
+
35,
|
|
16
|
+
0,
|
|
17
|
+
'',
|
|
18
|
+
'chirpstack-api/api/device_profile.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from chirpstack_api.common import common_pb2 as chirpstack__api_dot_common_dot_common__pb2
|
|
26
|
+
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
27
|
+
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
|
|
28
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'chirpstack-api/api/device_profile.proto\x12\x03\x61pi\x1a\"chirpstack-api/common/common.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x99\x10\n\rDeviceProfile\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\ttenant_id\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x1a \x01(\t\x12\x1e\n\x06region\x18\x04 \x01(\x0e\x32\x0e.common.Region\x12\'\n\x0bmac_version\x18\x05 \x01(\x0e\x32\x12.common.MacVersion\x12\x36\n\x13reg_params_revision\x18\x06 \x01(\x0e\x32\x19.common.RegParamsRevision\x12\x18\n\x10\x61\x64r_algorithm_id\x18\x07 \x01(\t\x12\x30\n\x15payload_codec_runtime\x18\x08 \x01(\x0e\x32\x11.api.CodecRuntime\x12\x1c\n\x14payload_codec_script\x18\t \x01(\t\x12\x1f\n\x17\x66lush_queue_on_activate\x18\n \x01(\x08\x12\x17\n\x0fuplink_interval\x18\x0b \x01(\r\x12\"\n\x1a\x64\x65vice_status_req_interval\x18\x0c \x01(\r\x12\x15\n\rsupports_otaa\x18\r \x01(\x08\x12\x18\n\x10supports_class_b\x18\x0e \x01(\x08\x12\x18\n\x10supports_class_c\x18\x0f \x01(\x08\x12\x17\n\x0f\x63lass_b_timeout\x18\x10 \x01(\r\x12%\n\x1d\x63lass_b_ping_slot_periodicity\x18\x11 \x01(\r\x12\x1c\n\x14\x63lass_b_ping_slot_dr\x18\x12 \x01(\r\x12\x1e\n\x16\x63lass_b_ping_slot_freq\x18\x13 \x01(\r\x12\x17\n\x0f\x63lass_c_timeout\x18\x14 \x01(\r\x12\x15\n\rabp_rx1_delay\x18\x15 \x01(\r\x12\x19\n\x11\x61\x62p_rx1_dr_offset\x18\x16 \x01(\r\x12\x12\n\nabp_rx2_dr\x18\x17 \x01(\r\x12\x14\n\x0c\x61\x62p_rx2_freq\x18\x18 \x01(\r\x12*\n\x04tags\x18\x19 \x03(\x0b\x32\x1c.api.DeviceProfile.TagsEntry\x12:\n\x0cmeasurements\x18\x1b \x03(\x0b\x32$.api.DeviceProfile.MeasurementsEntry\x12 \n\x18\x61uto_detect_measurements\x18\x1c \x01(\x08\x12\x18\n\x10region_config_id\x18\x1d \x01(\t\x12\x10\n\x08is_relay\x18\x1e \x01(\x08\x12\x13\n\x0bis_relay_ed\x18\x1f \x01(\x08\x12\x1b\n\x13relay_ed_relay_only\x18 \x01(\x08\x12\x15\n\rrelay_enabled\x18! \x01(\x08\x12\x32\n\x15relay_cad_periodicity\x18\" \x01(\x0e\x32\x13.api.CadPeriodicity\x12#\n\x1brelay_default_channel_index\x18# \x01(\r\x12!\n\x19relay_second_channel_freq\x18$ \x01(\r\x12\x1f\n\x17relay_second_channel_dr\x18% \x01(\r\x12?\n\x1frelay_second_channel_ack_offset\x18& \x01(\x0e\x32\x16.api.SecondChAckOffset\x12:\n\x18relay_ed_activation_mode\x18\' \x01(\x0e\x32\x18.api.RelayModeActivation\x12#\n\x1brelay_ed_smart_enable_level\x18( \x01(\r\x12\x19\n\x11relay_ed_back_off\x18) \x01(\r\x12)\n!relay_ed_uplink_limit_bucket_size\x18* \x01(\r\x12)\n!relay_ed_uplink_limit_reload_rate\x18+ \x01(\r\x12(\n relay_join_req_limit_reload_rate\x18, \x01(\r\x12&\n\x1erelay_notify_limit_reload_rate\x18- \x01(\r\x12-\n%relay_global_uplink_limit_reload_rate\x18. \x01(\r\x12\'\n\x1frelay_overall_limit_reload_rate\x18/ \x01(\r\x12(\n relay_join_req_limit_bucket_size\x18\x30 \x01(\r\x12&\n\x1erelay_notify_limit_bucket_size\x18\x31 \x01(\r\x12-\n%relay_global_uplink_limit_bucket_size\x18\x32 \x01(\r\x12\'\n\x1frelay_overall_limit_bucket_size\x18\x33 \x01(\r\x12\x15\n\rallow_roaming\x18\x34 \x01(\x08\x12\x11\n\trx1_delay\x18\x35 \x01(\r\x12-\n\x10\x61pp_layer_params\x18\x36 \x01(\x0b\x32\x13.api.AppLayerParams\x12\x11\n\tdevice_id\x18\x37 \x01(\t\x12\x18\n\x10\x66irmware_version\x18\x38 \x01(\t\x12#\n\x1bsupported_uplink_data_rates\x18\x39 \x03(\r\x12\x1d\n\x15\x63lass_b_downlink_only\x18: \x01(\x08\x1a+\n\tTagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x45\n\x11MeasurementsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1f\n\x05value\x18\x02 \x01(\x0b\x32\x10.api.Measurement:\x02\x38\x01\"?\n\x0bMeasurement\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\"\n\x04kind\x18\x03 \x01(\x0e\x32\x14.api.MeasurementKind\"\xd0\x01\n\x0e\x41ppLayerParams\x12(\n\rts003_version\x18\x01 \x01(\x0e\x32\x11.api.Ts003Version\x12\x14\n\x0cts003_f_port\x18\x02 \x01(\r\x12(\n\rts004_version\x18\x03 \x01(\x0e\x32\x11.api.Ts004Version\x12\x14\n\x0cts004_f_port\x18\x04 \x01(\r\x12(\n\rts005_version\x18\x05 \x01(\x0e\x32\x11.api.Ts005Version\x12\x14\n\x0cts005_f_port\x18\x06 \x01(\r\"\xc7\x03\n\x15\x44\x65viceProfileListItem\x12\n\n\x02id\x18\x01 \x01(\t\x12.\n\ncreated_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x1e\n\x06region\x18\x05 \x01(\x0e\x32\x0e.common.Region\x12\'\n\x0bmac_version\x18\x06 \x01(\x0e\x32\x12.common.MacVersion\x12\x36\n\x13reg_params_revision\x18\x07 \x01(\x0e\x32\x19.common.RegParamsRevision\x12\x15\n\rsupports_otaa\x18\x08 \x01(\x08\x12\x18\n\x10supports_class_b\x18\t \x01(\x08\x12\x18\n\x10supports_class_c\x18\n \x01(\x08\x12\x11\n\tvendor_id\x18\x0b \x01(\t\x12\x13\n\x0bvendor_name\x18\x0c \x01(\t\x12\x11\n\tdevice_id\x18\r \x01(\t\x12\x13\n\x0b\x64\x65vice_name\x18\x0e \x01(\t\x12\x18\n\x10\x66irmware_version\x18\x0f \x01(\t\"H\n\x1a\x43reateDeviceProfileRequest\x12*\n\x0e\x64\x65vice_profile\x18\x01 \x01(\x0b\x32\x12.api.DeviceProfile\")\n\x1b\x43reateDeviceProfileResponse\x12\n\n\x02id\x18\x01 \x01(\t\"%\n\x17GetDeviceProfileRequest\x12\n\n\x02id\x18\x01 \x01(\t\"\xa6\x01\n\x18GetDeviceProfileResponse\x12*\n\x0e\x64\x65vice_profile\x18\x01 \x01(\x0b\x32\x12.api.DeviceProfile\x12.\n\ncreated_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"R\n\"GetDeviceProfileByProfileIdRequest\x12\x11\n\tvendor_id\x18\x01 \x01(\r\x12\x19\n\x11vendor_profile_id\x18\x02 \x01(\r\"\xb1\x01\n#GetDeviceProfileByProfileIdResponse\x12*\n\x0e\x64\x65vice_profile\x18\x01 \x01(\x0b\x32\x12.api.DeviceProfile\x12.\n\ncreated_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"H\n\x1aUpdateDeviceProfileRequest\x12*\n\x0e\x64\x65vice_profile\x18\x01 \x01(\x0b\x32\x12.api.DeviceProfile\"(\n\x1a\x44\x65leteDeviceProfileRequest\x12\n\n\x02id\x18\x01 \x01(\t\"\x9a\x01\n\x19ListDeviceProfilesRequest\x12\r\n\x05limit\x18\x01 \x01(\r\x12\x0e\n\x06offset\x18\x02 \x01(\r\x12\x0e\n\x06search\x18\x03 \x01(\t\x12\x11\n\ttenant_id\x18\x04 \x01(\t\x12\x11\n\tdevice_id\x18\x05 \x01(\t\x12\x13\n\x0bglobal_only\x18\x06 \x01(\x08\x12\x13\n\x0btenant_only\x18\x07 \x01(\x08\"]\n\x1aListDeviceProfilesResponse\x12\x13\n\x0btotal_count\x18\x01 \x01(\r\x12*\n\x06result\x18\x02 \x03(\x0b\x32\x1a.api.DeviceProfileListItem\"@\n\x1fListDeviceProfileVendorsRequest\x12\r\n\x05limit\x18\x01 \x01(\r\x12\x0e\n\x06offset\x18\x02 \x01(\r\"i\n ListDeviceProfileVendorsResponse\x12\x13\n\x0btotal_count\x18\x01 \x01(\r\x12\x30\n\x06result\x18\x02 \x03(\x0b\x32 .api.DeviceProfileVendorListItem\"+\n\x1dGetDeviceProfileVendorRequest\x12\n\n\x02id\x18\x01 \x01(\t\"\xbb\x01\n\x13\x44\x65viceProfileVendor\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x11\n\tvendor_id\x18\x05 \x01(\r\x12\x0c\n\x04ouis\x18\x06 \x03(\t\x12\x38\n\x08metadata\x18\x07 \x03(\x0b\x32&.api.DeviceProfileVendor.MetadataEntry\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xaa\x01\n\x1eGetDeviceProfileVendorResponse\x12(\n\x06vendor\x18\x01 \x01(\x0b\x32\x18.api.DeviceProfileVendor\x12.\n\ncreated_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\".\n DeleteDeviceProfileVendorRequest\x12\n\n\x02id\x18\x01 \x01(\t\"\xab\x02\n\x1b\x44\x65viceProfileVendorListItem\x12\n\n\x02id\x18\x01 \x01(\t\x12.\n\ncreated_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x11\n\tvendor_id\x18\x05 \x01(\r\x12\x0c\n\x04ouis\x18\x06 \x03(\t\x12@\n\x08metadata\x18\x07 \x03(\x0b\x32..api.DeviceProfileVendorListItem.MetadataEntry\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"S\n\x1fListDeviceProfileDevicesRequest\x12\r\n\x05limit\x18\x01 \x01(\r\x12\x0e\n\x06offset\x18\x02 \x01(\r\x12\x11\n\tvendor_id\x18\x03 \x01(\t\"i\n ListDeviceProfileDevicesResponse\x12\x13\n\x0btotal_count\x18\x01 \x01(\r\x12\x30\n\x06result\x18\x02 \x03(\x0b\x32 .api.DeviceProfileDeviceListItem\"+\n\x1dGetDeviceProfileDeviceRequest\x12\n\n\x02id\x18\x01 \x01(\t\"\xc2\x01\n\x13\x44\x65viceProfileDevice\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tvendor_id\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x38\n\x08metadata\x18\x05 \x03(\x0b\x32&.api.DeviceProfileDevice.MetadataEntry\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xaa\x01\n\x1eGetDeviceProfileDeviceResponse\x12(\n\x06\x64\x65vice\x18\x01 \x01(\x0b\x32\x18.api.DeviceProfileDevice\x12.\n\ncreated_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\".\n DeleteDeviceProfileDeviceRequest\x12\n\n\x02id\x18\x01 \x01(\t\"\x97\x01\n\x1b\x44\x65viceProfileDeviceListItem\x12\n\n\x02id\x18\x01 \x01(\t\x12.\n\ncreated_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04name\x18\x04 \x01(\t\"h\n&ListDeviceProfileAdrAlgorithmsResponse\x12\x13\n\x0btotal_count\x18\x01 \x01(\r\x12)\n\x06result\x18\x02 \x03(\x0b\x32\x19.api.AdrAlgorithmListItem\"0\n\x14\x41\x64rAlgorithmListItem\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t*1\n\x0c\x43odecRuntime\x12\x08\n\x04NONE\x10\x00\x12\x0f\n\x0b\x43\x41YENNE_LPP\x10\x01\x12\x06\n\x02JS\x10\x02*P\n\x0fMeasurementKind\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x0b\n\x07\x43OUNTER\x10\x01\x12\x0c\n\x08\x41\x42SOLUTE\x10\x02\x12\t\n\x05GAUGE\x10\x03\x12\n\n\x06STRING\x10\x04*U\n\x0e\x43\x61\x64Periodicity\x12\t\n\x05SEC_1\x10\x00\x12\n\n\x06MS_500\x10\x01\x12\n\n\x06MS_250\x10\x02\x12\n\n\x06MS_100\x10\x03\x12\t\n\x05MS_50\x10\x04\x12\t\n\x05MS_20\x10\x05*a\n\x11SecondChAckOffset\x12\t\n\x05KHZ_0\x10\x00\x12\x0b\n\x07KHZ_200\x10\x01\x12\x0b\n\x07KHZ_400\x10\x02\x12\x0b\n\x07KHZ_800\x10\x03\x12\x0c\n\x08KHZ_1600\x10\x04\x12\x0c\n\x08KHZ_3200\x10\x05*l\n\x13RelayModeActivation\x12\x16\n\x12\x44ISABLE_RELAY_MODE\x10\x00\x12\x15\n\x11\x45NABLE_RELAY_MODE\x10\x01\x12\x0b\n\x07\x44YNAMIC\x10\x02\x12\x19\n\x15\x45ND_DEVICE_CONTROLLED\x10\x03*I\n\x0cTs003Version\x12\x19\n\x15TS003_NOT_IMPLEMENTED\x10\x00\x12\x0e\n\nTS003_V100\x10\x01\x12\x0e\n\nTS003_v200\x10\x02*I\n\x0cTs004Version\x12\x19\n\x15TS004_NOT_IMPLEMENTED\x10\x00\x12\x0e\n\nTS004_V100\x10\x01\x12\x0e\n\nTS004_V200\x10\x02*I\n\x0cTs005Version\x12\x19\n\x15TS005_NOT_IMPLEMENTED\x10\x00\x12\x0e\n\nTS005_V100\x10\x01\x12\x0e\n\nTS005_V200\x10\x02\x32\xd8\x0c\n\x14\x44\x65viceProfileService\x12l\n\x06\x43reate\x12\x1f.api.CreateDeviceProfileRequest\x1a .api.CreateDeviceProfileResponse\"\x1f\x82\xd3\xe4\x93\x02\x19\"\x14/api/device-profiles:\x01*\x12\x65\n\x03Get\x12\x1c.api.GetDeviceProfileRequest\x1a\x1d.api.GetDeviceProfileResponse\"!\x82\xd3\xe4\x93\x02\x1b\x12\x19/api/device-profiles/{id}\x12\xa1\x01\n\x0eGetByProfileId\x12\'.api.GetDeviceProfileByProfileIdRequest\x1a(.api.GetDeviceProfileByProfileIdResponse\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/api/device-profiles/{vendor_id}/{vendor_profile_id}\x12v\n\x06Update\x12\x1f.api.UpdateDeviceProfileRequest\x1a\x16.google.protobuf.Empty\"3\x82\xd3\xe4\x93\x02-\x1a(/api/device-profiles/{device_profile.id}:\x01*\x12\x64\n\x06\x44\x65lete\x12\x1f.api.DeleteDeviceProfileRequest\x1a\x16.google.protobuf.Empty\"!\x82\xd3\xe4\x93\x02\x1b*\x19/api/device-profiles/{id}\x12\x65\n\x04List\x12\x1e.api.ListDeviceProfilesRequest\x1a\x1f.api.ListDeviceProfilesResponse\"\x1c\x82\xd3\xe4\x93\x02\x16\x12\x14/api/device-profiles\x12\x80\x01\n\x0bListVendors\x12$.api.ListDeviceProfileVendorsRequest\x1a%.api.ListDeviceProfileVendorsResponse\"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/api/device-profiles/vendors\x12\x7f\n\tGetVendor\x12\".api.GetDeviceProfileVendorRequest\x1a#.api.GetDeviceProfileVendorResponse\")\x82\xd3\xe4\x93\x02#\x12!/api/device-profiles/vendors/{id}\x12x\n\x0c\x44\x65leteVendor\x12%.api.DeleteDeviceProfileVendorRequest\x1a\x16.google.protobuf.Empty\")\x82\xd3\xe4\x93\x02#*!/api/device-profiles/vendors/{id}\x12\x80\x01\n\x0bListDevices\x12$.api.ListDeviceProfileDevicesRequest\x1a%.api.ListDeviceProfileDevicesResponse\"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/api/device-profiles/devices\x12\x7f\n\tGetDevice\x12\".api.GetDeviceProfileDeviceRequest\x1a#.api.GetDeviceProfileDeviceResponse\")\x82\xd3\xe4\x93\x02#\x12!/api/device-profiles/devices/{id}\x12x\n\x0c\x44\x65leteDevice\x12%.api.DeleteDeviceProfileDeviceRequest\x1a\x16.google.protobuf.Empty\")\x82\xd3\xe4\x93\x02#*!/api/device-profiles/devices/{id}\x12\x85\x01\n\x11ListAdrAlgorithms\x12\x16.google.protobuf.Empty\x1a+.api.ListDeviceProfileAdrAlgorithmsResponse\"+\x82\xd3\xe4\x93\x02%\x12#/api/device-profiles/adr-algorithmsB\x98\x01\n\x11io.chirpstack.apiB\x12\x44\x65viceProfileProtoP\x01Z.github.com/chirpstack/chirpstack/api/go/v4/api\xaa\x02\x0e\x43hirpstack.Api\xca\x02\x0e\x43hirpstack\\Api\xe2\x02\x1aGPBMetadata\\Chirpstack\\Apib\x06proto3')
|
|
32
|
+
|
|
33
|
+
_globals = globals()
|
|
34
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
35
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'chirpstack_api.api.device_profile_pb2', _globals)
|
|
36
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
37
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
38
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\021io.chirpstack.apiB\022DeviceProfileProtoP\001Z.github.com/chirpstack/chirpstack/api/go/v4/api\252\002\016Chirpstack.Api\312\002\016Chirpstack\\Api\342\002\032GPBMetadata\\Chirpstack\\Api'
|
|
39
|
+
_globals['_DEVICEPROFILE_TAGSENTRY']._loaded_options = None
|
|
40
|
+
_globals['_DEVICEPROFILE_TAGSENTRY']._serialized_options = b'8\001'
|
|
41
|
+
_globals['_DEVICEPROFILE_MEASUREMENTSENTRY']._loaded_options = None
|
|
42
|
+
_globals['_DEVICEPROFILE_MEASUREMENTSENTRY']._serialized_options = b'8\001'
|
|
43
|
+
_globals['_DEVICEPROFILEVENDOR_METADATAENTRY']._loaded_options = None
|
|
44
|
+
_globals['_DEVICEPROFILEVENDOR_METADATAENTRY']._serialized_options = b'8\001'
|
|
45
|
+
_globals['_DEVICEPROFILEVENDORLISTITEM_METADATAENTRY']._loaded_options = None
|
|
46
|
+
_globals['_DEVICEPROFILEVENDORLISTITEM_METADATAENTRY']._serialized_options = b'8\001'
|
|
47
|
+
_globals['_DEVICEPROFILEDEVICE_METADATAENTRY']._loaded_options = None
|
|
48
|
+
_globals['_DEVICEPROFILEDEVICE_METADATAENTRY']._serialized_options = b'8\001'
|
|
49
|
+
_globals['_DEVICEPROFILESERVICE'].methods_by_name['Create']._loaded_options = None
|
|
50
|
+
_globals['_DEVICEPROFILESERVICE'].methods_by_name['Create']._serialized_options = b'\202\323\344\223\002\031\"\024/api/device-profiles:\001*'
|
|
51
|
+
_globals['_DEVICEPROFILESERVICE'].methods_by_name['Get']._loaded_options = None
|
|
52
|
+
_globals['_DEVICEPROFILESERVICE'].methods_by_name['Get']._serialized_options = b'\202\323\344\223\002\033\022\031/api/device-profiles/{id}'
|
|
53
|
+
_globals['_DEVICEPROFILESERVICE'].methods_by_name['GetByProfileId']._loaded_options = None
|
|
54
|
+
_globals['_DEVICEPROFILESERVICE'].methods_by_name['GetByProfileId']._serialized_options = b'\202\323\344\223\0026\0224/api/device-profiles/{vendor_id}/{vendor_profile_id}'
|
|
55
|
+
_globals['_DEVICEPROFILESERVICE'].methods_by_name['Update']._loaded_options = None
|
|
56
|
+
_globals['_DEVICEPROFILESERVICE'].methods_by_name['Update']._serialized_options = b'\202\323\344\223\002-\032(/api/device-profiles/{device_profile.id}:\001*'
|
|
57
|
+
_globals['_DEVICEPROFILESERVICE'].methods_by_name['Delete']._loaded_options = None
|
|
58
|
+
_globals['_DEVICEPROFILESERVICE'].methods_by_name['Delete']._serialized_options = b'\202\323\344\223\002\033*\031/api/device-profiles/{id}'
|
|
59
|
+
_globals['_DEVICEPROFILESERVICE'].methods_by_name['List']._loaded_options = None
|
|
60
|
+
_globals['_DEVICEPROFILESERVICE'].methods_by_name['List']._serialized_options = b'\202\323\344\223\002\026\022\024/api/device-profiles'
|
|
61
|
+
_globals['_DEVICEPROFILESERVICE'].methods_by_name['ListVendors']._loaded_options = None
|
|
62
|
+
_globals['_DEVICEPROFILESERVICE'].methods_by_name['ListVendors']._serialized_options = b'\202\323\344\223\002\036\022\034/api/device-profiles/vendors'
|
|
63
|
+
_globals['_DEVICEPROFILESERVICE'].methods_by_name['GetVendor']._loaded_options = None
|
|
64
|
+
_globals['_DEVICEPROFILESERVICE'].methods_by_name['GetVendor']._serialized_options = b'\202\323\344\223\002#\022!/api/device-profiles/vendors/{id}'
|
|
65
|
+
_globals['_DEVICEPROFILESERVICE'].methods_by_name['DeleteVendor']._loaded_options = None
|
|
66
|
+
_globals['_DEVICEPROFILESERVICE'].methods_by_name['DeleteVendor']._serialized_options = b'\202\323\344\223\002#*!/api/device-profiles/vendors/{id}'
|
|
67
|
+
_globals['_DEVICEPROFILESERVICE'].methods_by_name['ListDevices']._loaded_options = None
|
|
68
|
+
_globals['_DEVICEPROFILESERVICE'].methods_by_name['ListDevices']._serialized_options = b'\202\323\344\223\002\036\022\034/api/device-profiles/devices'
|
|
69
|
+
_globals['_DEVICEPROFILESERVICE'].methods_by_name['GetDevice']._loaded_options = None
|
|
70
|
+
_globals['_DEVICEPROFILESERVICE'].methods_by_name['GetDevice']._serialized_options = b'\202\323\344\223\002#\022!/api/device-profiles/devices/{id}'
|
|
71
|
+
_globals['_DEVICEPROFILESERVICE'].methods_by_name['DeleteDevice']._loaded_options = None
|
|
72
|
+
_globals['_DEVICEPROFILESERVICE'].methods_by_name['DeleteDevice']._serialized_options = b'\202\323\344\223\002#*!/api/device-profiles/devices/{id}'
|
|
73
|
+
_globals['_DEVICEPROFILESERVICE'].methods_by_name['ListAdrAlgorithms']._loaded_options = None
|
|
74
|
+
_globals['_DEVICEPROFILESERVICE'].methods_by_name['ListAdrAlgorithms']._serialized_options = b'\202\323\344\223\002%\022#/api/device-profiles/adr-algorithms'
|
|
75
|
+
_globals['_CODECRUNTIME']._serialized_start=5839
|
|
76
|
+
_globals['_CODECRUNTIME']._serialized_end=5888
|
|
77
|
+
_globals['_MEASUREMENTKIND']._serialized_start=5890
|
|
78
|
+
_globals['_MEASUREMENTKIND']._serialized_end=5970
|
|
79
|
+
_globals['_CADPERIODICITY']._serialized_start=5972
|
|
80
|
+
_globals['_CADPERIODICITY']._serialized_end=6057
|
|
81
|
+
_globals['_SECONDCHACKOFFSET']._serialized_start=6059
|
|
82
|
+
_globals['_SECONDCHACKOFFSET']._serialized_end=6156
|
|
83
|
+
_globals['_RELAYMODEACTIVATION']._serialized_start=6158
|
|
84
|
+
_globals['_RELAYMODEACTIVATION']._serialized_end=6266
|
|
85
|
+
_globals['_TS003VERSION']._serialized_start=6268
|
|
86
|
+
_globals['_TS003VERSION']._serialized_end=6341
|
|
87
|
+
_globals['_TS004VERSION']._serialized_start=6343
|
|
88
|
+
_globals['_TS004VERSION']._serialized_end=6416
|
|
89
|
+
_globals['_TS005VERSION']._serialized_start=6418
|
|
90
|
+
_globals['_TS005VERSION']._serialized_end=6491
|
|
91
|
+
_globals['_DEVICEPROFILE']._serialized_start=177
|
|
92
|
+
_globals['_DEVICEPROFILE']._serialized_end=2250
|
|
93
|
+
_globals['_DEVICEPROFILE_TAGSENTRY']._serialized_start=2136
|
|
94
|
+
_globals['_DEVICEPROFILE_TAGSENTRY']._serialized_end=2179
|
|
95
|
+
_globals['_DEVICEPROFILE_MEASUREMENTSENTRY']._serialized_start=2181
|
|
96
|
+
_globals['_DEVICEPROFILE_MEASUREMENTSENTRY']._serialized_end=2250
|
|
97
|
+
_globals['_MEASUREMENT']._serialized_start=2252
|
|
98
|
+
_globals['_MEASUREMENT']._serialized_end=2315
|
|
99
|
+
_globals['_APPLAYERPARAMS']._serialized_start=2318
|
|
100
|
+
_globals['_APPLAYERPARAMS']._serialized_end=2526
|
|
101
|
+
_globals['_DEVICEPROFILELISTITEM']._serialized_start=2529
|
|
102
|
+
_globals['_DEVICEPROFILELISTITEM']._serialized_end=2984
|
|
103
|
+
_globals['_CREATEDEVICEPROFILEREQUEST']._serialized_start=2986
|
|
104
|
+
_globals['_CREATEDEVICEPROFILEREQUEST']._serialized_end=3058
|
|
105
|
+
_globals['_CREATEDEVICEPROFILERESPONSE']._serialized_start=3060
|
|
106
|
+
_globals['_CREATEDEVICEPROFILERESPONSE']._serialized_end=3101
|
|
107
|
+
_globals['_GETDEVICEPROFILEREQUEST']._serialized_start=3103
|
|
108
|
+
_globals['_GETDEVICEPROFILEREQUEST']._serialized_end=3140
|
|
109
|
+
_globals['_GETDEVICEPROFILERESPONSE']._serialized_start=3143
|
|
110
|
+
_globals['_GETDEVICEPROFILERESPONSE']._serialized_end=3309
|
|
111
|
+
_globals['_GETDEVICEPROFILEBYPROFILEIDREQUEST']._serialized_start=3311
|
|
112
|
+
_globals['_GETDEVICEPROFILEBYPROFILEIDREQUEST']._serialized_end=3393
|
|
113
|
+
_globals['_GETDEVICEPROFILEBYPROFILEIDRESPONSE']._serialized_start=3396
|
|
114
|
+
_globals['_GETDEVICEPROFILEBYPROFILEIDRESPONSE']._serialized_end=3573
|
|
115
|
+
_globals['_UPDATEDEVICEPROFILEREQUEST']._serialized_start=3575
|
|
116
|
+
_globals['_UPDATEDEVICEPROFILEREQUEST']._serialized_end=3647
|
|
117
|
+
_globals['_DELETEDEVICEPROFILEREQUEST']._serialized_start=3649
|
|
118
|
+
_globals['_DELETEDEVICEPROFILEREQUEST']._serialized_end=3689
|
|
119
|
+
_globals['_LISTDEVICEPROFILESREQUEST']._serialized_start=3692
|
|
120
|
+
_globals['_LISTDEVICEPROFILESREQUEST']._serialized_end=3846
|
|
121
|
+
_globals['_LISTDEVICEPROFILESRESPONSE']._serialized_start=3848
|
|
122
|
+
_globals['_LISTDEVICEPROFILESRESPONSE']._serialized_end=3941
|
|
123
|
+
_globals['_LISTDEVICEPROFILEVENDORSREQUEST']._serialized_start=3943
|
|
124
|
+
_globals['_LISTDEVICEPROFILEVENDORSREQUEST']._serialized_end=4007
|
|
125
|
+
_globals['_LISTDEVICEPROFILEVENDORSRESPONSE']._serialized_start=4009
|
|
126
|
+
_globals['_LISTDEVICEPROFILEVENDORSRESPONSE']._serialized_end=4114
|
|
127
|
+
_globals['_GETDEVICEPROFILEVENDORREQUEST']._serialized_start=4116
|
|
128
|
+
_globals['_GETDEVICEPROFILEVENDORREQUEST']._serialized_end=4159
|
|
129
|
+
_globals['_DEVICEPROFILEVENDOR']._serialized_start=4162
|
|
130
|
+
_globals['_DEVICEPROFILEVENDOR']._serialized_end=4349
|
|
131
|
+
_globals['_DEVICEPROFILEVENDOR_METADATAENTRY']._serialized_start=4302
|
|
132
|
+
_globals['_DEVICEPROFILEVENDOR_METADATAENTRY']._serialized_end=4349
|
|
133
|
+
_globals['_GETDEVICEPROFILEVENDORRESPONSE']._serialized_start=4352
|
|
134
|
+
_globals['_GETDEVICEPROFILEVENDORRESPONSE']._serialized_end=4522
|
|
135
|
+
_globals['_DELETEDEVICEPROFILEVENDORREQUEST']._serialized_start=4524
|
|
136
|
+
_globals['_DELETEDEVICEPROFILEVENDORREQUEST']._serialized_end=4570
|
|
137
|
+
_globals['_DEVICEPROFILEVENDORLISTITEM']._serialized_start=4573
|
|
138
|
+
_globals['_DEVICEPROFILEVENDORLISTITEM']._serialized_end=4872
|
|
139
|
+
_globals['_DEVICEPROFILEVENDORLISTITEM_METADATAENTRY']._serialized_start=4302
|
|
140
|
+
_globals['_DEVICEPROFILEVENDORLISTITEM_METADATAENTRY']._serialized_end=4349
|
|
141
|
+
_globals['_LISTDEVICEPROFILEDEVICESREQUEST']._serialized_start=4874
|
|
142
|
+
_globals['_LISTDEVICEPROFILEDEVICESREQUEST']._serialized_end=4957
|
|
143
|
+
_globals['_LISTDEVICEPROFILEDEVICESRESPONSE']._serialized_start=4959
|
|
144
|
+
_globals['_LISTDEVICEPROFILEDEVICESRESPONSE']._serialized_end=5064
|
|
145
|
+
_globals['_GETDEVICEPROFILEDEVICEREQUEST']._serialized_start=5066
|
|
146
|
+
_globals['_GETDEVICEPROFILEDEVICEREQUEST']._serialized_end=5109
|
|
147
|
+
_globals['_DEVICEPROFILEDEVICE']._serialized_start=5112
|
|
148
|
+
_globals['_DEVICEPROFILEDEVICE']._serialized_end=5306
|
|
149
|
+
_globals['_DEVICEPROFILEDEVICE_METADATAENTRY']._serialized_start=4302
|
|
150
|
+
_globals['_DEVICEPROFILEDEVICE_METADATAENTRY']._serialized_end=4349
|
|
151
|
+
_globals['_GETDEVICEPROFILEDEVICERESPONSE']._serialized_start=5309
|
|
152
|
+
_globals['_GETDEVICEPROFILEDEVICERESPONSE']._serialized_end=5479
|
|
153
|
+
_globals['_DELETEDEVICEPROFILEDEVICEREQUEST']._serialized_start=5481
|
|
154
|
+
_globals['_DELETEDEVICEPROFILEDEVICEREQUEST']._serialized_end=5527
|
|
155
|
+
_globals['_DEVICEPROFILEDEVICELISTITEM']._serialized_start=5530
|
|
156
|
+
_globals['_DEVICEPROFILEDEVICELISTITEM']._serialized_end=5681
|
|
157
|
+
_globals['_LISTDEVICEPROFILEADRALGORITHMSRESPONSE']._serialized_start=5683
|
|
158
|
+
_globals['_LISTDEVICEPROFILEADRALGORITHMSRESPONSE']._serialized_end=5787
|
|
159
|
+
_globals['_ADRALGORITHMLISTITEM']._serialized_start=5789
|
|
160
|
+
_globals['_ADRALGORITHMLISTITEM']._serialized_end=5837
|
|
161
|
+
_globals['_DEVICEPROFILESERVICE']._serialized_start=6494
|
|
162
|
+
_globals['_DEVICEPROFILESERVICE']._serialized_end=8118
|
|
163
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -104,7 +104,7 @@ TS005_V100: Ts005Version
|
|
|
104
104
|
TS005_V200: Ts005Version
|
|
105
105
|
|
|
106
106
|
class DeviceProfile(_message.Message):
|
|
107
|
-
__slots__ = ("id", "tenant_id", "name", "description", "region", "mac_version", "reg_params_revision", "adr_algorithm_id", "payload_codec_runtime", "payload_codec_script", "flush_queue_on_activate", "uplink_interval", "device_status_req_interval", "supports_otaa", "supports_class_b", "supports_class_c", "class_b_timeout", "class_b_ping_slot_periodicity", "class_b_ping_slot_dr", "class_b_ping_slot_freq", "class_c_timeout", "abp_rx1_delay", "abp_rx1_dr_offset", "abp_rx2_dr", "abp_rx2_freq", "tags", "measurements", "auto_detect_measurements", "region_config_id", "is_relay", "is_relay_ed", "relay_ed_relay_only", "relay_enabled", "relay_cad_periodicity", "relay_default_channel_index", "relay_second_channel_freq", "relay_second_channel_dr", "relay_second_channel_ack_offset", "relay_ed_activation_mode", "relay_ed_smart_enable_level", "relay_ed_back_off", "relay_ed_uplink_limit_bucket_size", "relay_ed_uplink_limit_reload_rate", "relay_join_req_limit_reload_rate", "relay_notify_limit_reload_rate", "relay_global_uplink_limit_reload_rate", "relay_overall_limit_reload_rate", "relay_join_req_limit_bucket_size", "relay_notify_limit_bucket_size", "relay_global_uplink_limit_bucket_size", "relay_overall_limit_bucket_size", "allow_roaming", "rx1_delay", "app_layer_params", "device_id", "firmware_version", "supported_uplink_data_rates")
|
|
107
|
+
__slots__ = ("id", "tenant_id", "name", "description", "region", "mac_version", "reg_params_revision", "adr_algorithm_id", "payload_codec_runtime", "payload_codec_script", "flush_queue_on_activate", "uplink_interval", "device_status_req_interval", "supports_otaa", "supports_class_b", "supports_class_c", "class_b_timeout", "class_b_ping_slot_periodicity", "class_b_ping_slot_dr", "class_b_ping_slot_freq", "class_c_timeout", "abp_rx1_delay", "abp_rx1_dr_offset", "abp_rx2_dr", "abp_rx2_freq", "tags", "measurements", "auto_detect_measurements", "region_config_id", "is_relay", "is_relay_ed", "relay_ed_relay_only", "relay_enabled", "relay_cad_periodicity", "relay_default_channel_index", "relay_second_channel_freq", "relay_second_channel_dr", "relay_second_channel_ack_offset", "relay_ed_activation_mode", "relay_ed_smart_enable_level", "relay_ed_back_off", "relay_ed_uplink_limit_bucket_size", "relay_ed_uplink_limit_reload_rate", "relay_join_req_limit_reload_rate", "relay_notify_limit_reload_rate", "relay_global_uplink_limit_reload_rate", "relay_overall_limit_reload_rate", "relay_join_req_limit_bucket_size", "relay_notify_limit_bucket_size", "relay_global_uplink_limit_bucket_size", "relay_overall_limit_bucket_size", "allow_roaming", "rx1_delay", "app_layer_params", "device_id", "firmware_version", "supported_uplink_data_rates", "class_b_downlink_only")
|
|
108
108
|
class TagsEntry(_message.Message):
|
|
109
109
|
__slots__ = ("key", "value")
|
|
110
110
|
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
@@ -176,6 +176,7 @@ class DeviceProfile(_message.Message):
|
|
|
176
176
|
DEVICE_ID_FIELD_NUMBER: _ClassVar[int]
|
|
177
177
|
FIRMWARE_VERSION_FIELD_NUMBER: _ClassVar[int]
|
|
178
178
|
SUPPORTED_UPLINK_DATA_RATES_FIELD_NUMBER: _ClassVar[int]
|
|
179
|
+
CLASS_B_DOWNLINK_ONLY_FIELD_NUMBER: _ClassVar[int]
|
|
179
180
|
id: str
|
|
180
181
|
tenant_id: str
|
|
181
182
|
name: str
|
|
@@ -233,7 +234,8 @@ class DeviceProfile(_message.Message):
|
|
|
233
234
|
device_id: str
|
|
234
235
|
firmware_version: str
|
|
235
236
|
supported_uplink_data_rates: _containers.RepeatedScalarFieldContainer[int]
|
|
236
|
-
|
|
237
|
+
class_b_downlink_only: bool
|
|
238
|
+
def __init__(self, id: _Optional[str] = ..., tenant_id: _Optional[str] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., region: _Optional[_Union[_common_pb2.Region, str]] = ..., mac_version: _Optional[_Union[_common_pb2.MacVersion, str]] = ..., reg_params_revision: _Optional[_Union[_common_pb2.RegParamsRevision, str]] = ..., adr_algorithm_id: _Optional[str] = ..., payload_codec_runtime: _Optional[_Union[CodecRuntime, str]] = ..., payload_codec_script: _Optional[str] = ..., flush_queue_on_activate: _Optional[bool] = ..., uplink_interval: _Optional[int] = ..., device_status_req_interval: _Optional[int] = ..., supports_otaa: _Optional[bool] = ..., supports_class_b: _Optional[bool] = ..., supports_class_c: _Optional[bool] = ..., class_b_timeout: _Optional[int] = ..., class_b_ping_slot_periodicity: _Optional[int] = ..., class_b_ping_slot_dr: _Optional[int] = ..., class_b_ping_slot_freq: _Optional[int] = ..., class_c_timeout: _Optional[int] = ..., abp_rx1_delay: _Optional[int] = ..., abp_rx1_dr_offset: _Optional[int] = ..., abp_rx2_dr: _Optional[int] = ..., abp_rx2_freq: _Optional[int] = ..., tags: _Optional[_Mapping[str, str]] = ..., measurements: _Optional[_Mapping[str, Measurement]] = ..., auto_detect_measurements: _Optional[bool] = ..., region_config_id: _Optional[str] = ..., is_relay: _Optional[bool] = ..., is_relay_ed: _Optional[bool] = ..., relay_ed_relay_only: _Optional[bool] = ..., relay_enabled: _Optional[bool] = ..., relay_cad_periodicity: _Optional[_Union[CadPeriodicity, str]] = ..., relay_default_channel_index: _Optional[int] = ..., relay_second_channel_freq: _Optional[int] = ..., relay_second_channel_dr: _Optional[int] = ..., relay_second_channel_ack_offset: _Optional[_Union[SecondChAckOffset, str]] = ..., relay_ed_activation_mode: _Optional[_Union[RelayModeActivation, str]] = ..., relay_ed_smart_enable_level: _Optional[int] = ..., relay_ed_back_off: _Optional[int] = ..., relay_ed_uplink_limit_bucket_size: _Optional[int] = ..., relay_ed_uplink_limit_reload_rate: _Optional[int] = ..., relay_join_req_limit_reload_rate: _Optional[int] = ..., relay_notify_limit_reload_rate: _Optional[int] = ..., relay_global_uplink_limit_reload_rate: _Optional[int] = ..., relay_overall_limit_reload_rate: _Optional[int] = ..., relay_join_req_limit_bucket_size: _Optional[int] = ..., relay_notify_limit_bucket_size: _Optional[int] = ..., relay_global_uplink_limit_bucket_size: _Optional[int] = ..., relay_overall_limit_bucket_size: _Optional[int] = ..., allow_roaming: _Optional[bool] = ..., rx1_delay: _Optional[int] = ..., app_layer_params: _Optional[_Union[AppLayerParams, _Mapping]] = ..., device_id: _Optional[str] = ..., firmware_version: _Optional[str] = ..., supported_uplink_data_rates: _Optional[_Iterable[int]] = ..., class_b_downlink_only: _Optional[bool] = ...) -> None: ...
|
|
237
239
|
|
|
238
240
|
class Measurement(_message.Message):
|
|
239
241
|
__slots__ = ("name", "kind")
|
|
@@ -291,7 +293,7 @@ class DeviceProfileListItem(_message.Message):
|
|
|
291
293
|
device_id: str
|
|
292
294
|
device_name: str
|
|
293
295
|
firmware_version: str
|
|
294
|
-
def __init__(self, id: _Optional[str] = ..., created_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., updated_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., name: _Optional[str] = ..., region: _Optional[_Union[_common_pb2.Region, str]] = ..., mac_version: _Optional[_Union[_common_pb2.MacVersion, str]] = ..., reg_params_revision: _Optional[_Union[_common_pb2.RegParamsRevision, str]] = ..., supports_otaa: bool = ..., supports_class_b: bool = ..., supports_class_c: bool = ..., vendor_id: _Optional[str] = ..., vendor_name: _Optional[str] = ..., device_id: _Optional[str] = ..., device_name: _Optional[str] = ..., firmware_version: _Optional[str] = ...) -> None: ...
|
|
296
|
+
def __init__(self, id: _Optional[str] = ..., created_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., updated_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., name: _Optional[str] = ..., region: _Optional[_Union[_common_pb2.Region, str]] = ..., mac_version: _Optional[_Union[_common_pb2.MacVersion, str]] = ..., reg_params_revision: _Optional[_Union[_common_pb2.RegParamsRevision, str]] = ..., supports_otaa: _Optional[bool] = ..., supports_class_b: _Optional[bool] = ..., supports_class_c: _Optional[bool] = ..., vendor_id: _Optional[str] = ..., vendor_name: _Optional[str] = ..., device_id: _Optional[str] = ..., device_name: _Optional[str] = ..., firmware_version: _Optional[str] = ...) -> None: ...
|
|
295
297
|
|
|
296
298
|
class CreateDeviceProfileRequest(_message.Message):
|
|
297
299
|
__slots__ = ("device_profile",)
|
|
@@ -367,7 +369,7 @@ class ListDeviceProfilesRequest(_message.Message):
|
|
|
367
369
|
device_id: str
|
|
368
370
|
global_only: bool
|
|
369
371
|
tenant_only: bool
|
|
370
|
-
def __init__(self, limit: _Optional[int] = ..., offset: _Optional[int] = ..., search: _Optional[str] = ..., tenant_id: _Optional[str] = ..., device_id: _Optional[str] = ..., global_only: bool = ..., tenant_only: bool = ...) -> None: ...
|
|
372
|
+
def __init__(self, limit: _Optional[int] = ..., offset: _Optional[int] = ..., search: _Optional[str] = ..., tenant_id: _Optional[str] = ..., device_id: _Optional[str] = ..., global_only: _Optional[bool] = ..., tenant_only: _Optional[bool] = ...) -> None: ...
|
|
371
373
|
|
|
372
374
|
class ListDeviceProfilesResponse(_message.Message):
|
|
373
375
|
__slots__ = ("total_count", "result")
|
{chirpstack_api-4.18.0 → chirpstack_api-4.19.0}/chirpstack_api/api/device_profile_pb2_grpc.py
RENAMED
|
@@ -6,7 +6,7 @@ import warnings
|
|
|
6
6
|
from chirpstack_api.api import device_profile_pb2 as chirpstack__api_dot_api_dot_device__profile__pb2
|
|
7
7
|
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
|
|
8
8
|
|
|
9
|
-
GRPC_GENERATED_VERSION = '1.
|
|
9
|
+
GRPC_GENERATED_VERSION = '1.82.1'
|
|
10
10
|
GRPC_VERSION = grpc.__version__
|
|
11
11
|
_version_not_supported = False
|
|
12
12
|
|
|
@@ -26,7 +26,7 @@ if _version_not_supported:
|
|
|
26
26
|
)
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
class DeviceProfileServiceStub
|
|
29
|
+
class DeviceProfileServiceStub:
|
|
30
30
|
"""DeviceProfileService is the service providing API methods for managing
|
|
31
31
|
device-profiles.
|
|
32
32
|
"""
|
|
@@ -104,7 +104,7 @@ class DeviceProfileServiceStub(object):
|
|
|
104
104
|
_registered_method=True)
|
|
105
105
|
|
|
106
106
|
|
|
107
|
-
class DeviceProfileServiceServicer
|
|
107
|
+
class DeviceProfileServiceServicer:
|
|
108
108
|
"""DeviceProfileService is the service providing API methods for managing
|
|
109
109
|
device-profiles.
|
|
110
110
|
"""
|
|
@@ -276,7 +276,7 @@ def add_DeviceProfileServiceServicer_to_server(servicer, server):
|
|
|
276
276
|
|
|
277
277
|
|
|
278
278
|
# This class is part of an EXPERIMENTAL API.
|
|
279
|
-
class DeviceProfileService
|
|
279
|
+
class DeviceProfileService:
|
|
280
280
|
"""DeviceProfileService is the service providing API methods for managing
|
|
281
281
|
device-profiles.
|
|
282
282
|
"""
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
3
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
4
|
# source: chirpstack-api/api/fuota.proto
|
|
5
|
-
# Protobuf Python Version:
|
|
5
|
+
# Protobuf Python Version: 7.35.0
|
|
6
6
|
"""Generated protocol buffer code."""
|
|
7
7
|
from google.protobuf import descriptor as _descriptor
|
|
8
8
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
@@ -11,9 +11,9 @@ from google.protobuf import symbol_database as _symbol_database
|
|
|
11
11
|
from google.protobuf.internal import builder as _builder
|
|
12
12
|
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
13
|
_runtime_version.Domain.PUBLIC,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
7,
|
|
15
|
+
35,
|
|
16
|
+
0,
|
|
17
17
|
'',
|
|
18
18
|
'chirpstack-api/api/fuota.proto'
|
|
19
19
|
)
|
|
@@ -76,7 +76,7 @@ class FuotaDeployment(_message.Message):
|
|
|
76
76
|
request_fragmentation_session_status: RequestFragmentationSessionStatus
|
|
77
77
|
payload: bytes
|
|
78
78
|
on_complete_set_device_tags: _containers.ScalarMap[str, str]
|
|
79
|
-
def __init__(self, id: _Optional[str] = ..., application_id: _Optional[str] = ..., device_profile_id: _Optional[str] = ..., name: _Optional[str] = ..., multicast_group_type: _Optional[_Union[_multicast_group_pb2.MulticastGroupType, str]] = ..., multicast_class_c_scheduling_type: _Optional[_Union[_multicast_group_pb2.MulticastGroupSchedulingType, str]] = ..., multicast_dr: _Optional[int] = ..., multicast_class_b_ping_slot_periodicity: _Optional[int] = ..., multicast_frequency: _Optional[int] = ..., multicast_timeout: _Optional[int] = ..., calculate_multicast_timeout: bool = ..., unicast_max_retry_count: _Optional[int] = ..., fragmentation_fragment_size: _Optional[int] = ..., calculate_fragmentation_fragment_size: bool = ..., fragmentation_redundancy_percentage: _Optional[int] = ..., fragmentation_session_index: _Optional[int] = ..., fragmentation_matrix: _Optional[int] = ..., fragmentation_block_ack_delay: _Optional[int] = ..., fragmentation_descriptor: _Optional[bytes] = ..., request_fragmentation_session_status: _Optional[_Union[RequestFragmentationSessionStatus, str]] = ..., payload: _Optional[bytes] = ..., on_complete_set_device_tags: _Optional[_Mapping[str, str]] = ...) -> None: ...
|
|
79
|
+
def __init__(self, id: _Optional[str] = ..., application_id: _Optional[str] = ..., device_profile_id: _Optional[str] = ..., name: _Optional[str] = ..., multicast_group_type: _Optional[_Union[_multicast_group_pb2.MulticastGroupType, str]] = ..., multicast_class_c_scheduling_type: _Optional[_Union[_multicast_group_pb2.MulticastGroupSchedulingType, str]] = ..., multicast_dr: _Optional[int] = ..., multicast_class_b_ping_slot_periodicity: _Optional[int] = ..., multicast_frequency: _Optional[int] = ..., multicast_timeout: _Optional[int] = ..., calculate_multicast_timeout: _Optional[bool] = ..., unicast_max_retry_count: _Optional[int] = ..., fragmentation_fragment_size: _Optional[int] = ..., calculate_fragmentation_fragment_size: _Optional[bool] = ..., fragmentation_redundancy_percentage: _Optional[int] = ..., fragmentation_session_index: _Optional[int] = ..., fragmentation_matrix: _Optional[int] = ..., fragmentation_block_ack_delay: _Optional[int] = ..., fragmentation_descriptor: _Optional[bytes] = ..., request_fragmentation_session_status: _Optional[_Union[RequestFragmentationSessionStatus, str]] = ..., payload: _Optional[bytes] = ..., on_complete_set_device_tags: _Optional[_Mapping[str, str]] = ...) -> None: ...
|
|
80
80
|
|
|
81
81
|
class FuotaDeploymentListItem(_message.Message):
|
|
82
82
|
__slots__ = ("id", "created_at", "updated_at", "started_at", "completed_at", "name", "application_id", "application_name")
|
|
@@ -6,7 +6,7 @@ import warnings
|
|
|
6
6
|
from chirpstack_api.api import fuota_pb2 as chirpstack__api_dot_api_dot_fuota__pb2
|
|
7
7
|
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
|
|
8
8
|
|
|
9
|
-
GRPC_GENERATED_VERSION = '1.
|
|
9
|
+
GRPC_GENERATED_VERSION = '1.82.1'
|
|
10
10
|
GRPC_VERSION = grpc.__version__
|
|
11
11
|
_version_not_supported = False
|
|
12
12
|
|
|
@@ -26,7 +26,7 @@ if _version_not_supported:
|
|
|
26
26
|
)
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
class FuotaServiceStub
|
|
29
|
+
class FuotaServiceStub:
|
|
30
30
|
"""FuotaService is the service providing API methods for FUOTA deployments.
|
|
31
31
|
"""
|
|
32
32
|
|
|
@@ -103,7 +103,7 @@ class FuotaServiceStub(object):
|
|
|
103
103
|
_registered_method=True)
|
|
104
104
|
|
|
105
105
|
|
|
106
|
-
class FuotaServiceServicer
|
|
106
|
+
class FuotaServiceServicer:
|
|
107
107
|
"""FuotaService is the service providing API methods for FUOTA deployments.
|
|
108
108
|
"""
|
|
109
109
|
|
|
@@ -277,7 +277,7 @@ def add_FuotaServiceServicer_to_server(servicer, server):
|
|
|
277
277
|
|
|
278
278
|
|
|
279
279
|
# This class is part of an EXPERIMENTAL API.
|
|
280
|
-
class FuotaService
|
|
280
|
+
class FuotaService:
|
|
281
281
|
"""FuotaService is the service providing API methods for FUOTA deployments.
|
|
282
282
|
"""
|
|
283
283
|
|