chirpstack-api 4.12.1__tar.gz → 4.13.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.12.1 → chirpstack_api-4.13.0}/PKG-INFO +11 -2
- {chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/chirpstack_api/api/application_pb2.py +3 -3
- {chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/chirpstack_api/api/application_pb2.pyi +5 -4
- {chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/chirpstack_api/api/application_pb2_grpc.py +1 -1
- {chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/chirpstack_api/api/device_pb2.py +3 -3
- {chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/chirpstack_api/api/device_pb2.pyi +8 -7
- {chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/chirpstack_api/api/device_pb2_grpc.py +1 -1
- chirpstack_api-4.13.0/chirpstack_api/api/device_profile_pb2.py +105 -0
- {chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/chirpstack_api/api/device_profile_pb2.pyi +8 -7
- {chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/chirpstack_api/api/device_profile_pb2_grpc.py +1 -1
- {chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/chirpstack_api/api/device_profile_template_pb2.py +27 -27
- {chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/chirpstack_api/api/device_profile_template_pb2.pyi +8 -7
- {chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/chirpstack_api/api/device_profile_template_pb2_grpc.py +1 -1
- {chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/chirpstack_api/api/gateway_pb2.py +3 -3
- {chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/chirpstack_api/api/gateway_pb2.pyi +9 -8
- {chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/chirpstack_api/api/gateway_pb2_grpc.py +1 -1
- {chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/chirpstack_api/api/internal_pb2.py +3 -3
- {chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/chirpstack_api/api/internal_pb2.pyi +4 -3
- {chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/chirpstack_api/api/internal_pb2_grpc.py +1 -1
- chirpstack_api-4.13.0/chirpstack_api/api/multicast_group_pb2.py +109 -0
- {chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/chirpstack_api/api/multicast_group_pb2.pyi +9 -10
- {chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/chirpstack_api/api/multicast_group_pb2_grpc.py +1 -1
- {chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/chirpstack_api/api/relay_pb2.py +3 -3
- {chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/chirpstack_api/api/relay_pb2.pyi +3 -2
- {chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/chirpstack_api/api/relay_pb2_grpc.py +1 -1
- {chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/chirpstack_api/api/tenant_pb2.py +3 -3
- {chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/chirpstack_api/api/tenant_pb2.pyi +6 -5
- {chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/chirpstack_api/api/tenant_pb2_grpc.py +1 -1
- {chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/chirpstack_api/api/user_pb2.py +3 -3
- {chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/chirpstack_api/api/user_pb2.pyi +4 -3
- {chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/chirpstack_api/api/user_pb2_grpc.py +1 -1
- {chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/chirpstack_api/common/common_pb2.py +6 -6
- {chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/chirpstack_api/common/common_pb2.pyi +20 -19
- {chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/chirpstack_api/common/common_pb2_grpc.py +1 -1
- chirpstack_api-4.13.0/chirpstack_api/gw/gw_pb2.py +177 -0
- {chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/chirpstack_api/gw/gw_pb2.pyi +114 -21
- {chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/chirpstack_api/gw/gw_pb2_grpc.py +1 -1
- {chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/chirpstack_api/integration/integration_pb2.py +3 -3
- {chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/chirpstack_api/integration/integration_pb2.pyi +10 -9
- {chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/chirpstack_api/integration/integration_pb2_grpc.py +1 -1
- {chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/chirpstack_api/stream/api_request_pb2.py +3 -3
- {chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/chirpstack_api/stream/api_request_pb2.pyi +2 -1
- {chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/chirpstack_api/stream/api_request_pb2_grpc.py +1 -1
- {chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/chirpstack_api/stream/backend_interfaces_pb2.py +3 -3
- {chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/chirpstack_api/stream/backend_interfaces_pb2.pyi +3 -2
- {chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/chirpstack_api/stream/backend_interfaces_pb2_grpc.py +1 -1
- {chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/chirpstack_api/stream/frame_pb2.py +4 -4
- {chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/chirpstack_api/stream/frame_pb2.pyi +10 -9
- {chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/chirpstack_api/stream/frame_pb2_grpc.py +1 -1
- {chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/chirpstack_api/stream/meta_pb2.py +7 -7
- {chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/chirpstack_api/stream/meta_pb2.pyi +10 -9
- {chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/chirpstack_api/stream/meta_pb2_grpc.py +1 -1
- {chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/chirpstack_api.egg-info/PKG-INFO +11 -2
- {chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/setup.py +1 -1
- chirpstack_api-4.12.1/chirpstack_api/api/device_profile_pb2.py +0 -105
- chirpstack_api-4.12.1/chirpstack_api/api/multicast_group_pb2.py +0 -109
- chirpstack_api-4.12.1/chirpstack_api/gw/gw_pb2.py +0 -153
- {chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/README.md +0 -0
- {chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/chirpstack_api/__init__.py +0 -0
- {chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/chirpstack_api/api/__init__.py +0 -0
- {chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/chirpstack_api/common/__init__.py +0 -0
- {chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/chirpstack_api/gw/__init__.py +0 -0
- {chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/chirpstack_api/integration/__init__.py +0 -0
- {chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/chirpstack_api/stream/__init__.py +0 -0
- {chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/chirpstack_api.egg-info/SOURCES.txt +0 -0
- {chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/chirpstack_api.egg-info/dependency_links.txt +0 -0
- {chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/chirpstack_api.egg-info/not-zip-safe +0 -0
- {chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/chirpstack_api.egg-info/requires.txt +0 -0
- {chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/chirpstack_api.egg-info/top_level.txt +0 -0
- {chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: chirpstack-api
|
|
3
|
-
Version: 4.
|
|
3
|
+
Version: 4.13.0
|
|
4
4
|
Summary: Chirpstack Python API
|
|
5
5
|
Home-page: https://github.com/brocaar/chirpstack-api
|
|
6
6
|
Author: Orne Brocaar
|
|
@@ -15,6 +15,15 @@ Classifier: Topic :: Software Development :: Libraries
|
|
|
15
15
|
Description-Content-Type: text/markdown
|
|
16
16
|
Requires-Dist: grpcio
|
|
17
17
|
Requires-Dist: google-api-core
|
|
18
|
+
Dynamic: author
|
|
19
|
+
Dynamic: author-email
|
|
20
|
+
Dynamic: classifier
|
|
21
|
+
Dynamic: description
|
|
22
|
+
Dynamic: description-content-type
|
|
23
|
+
Dynamic: home-page
|
|
24
|
+
Dynamic: license
|
|
25
|
+
Dynamic: requires-dist
|
|
26
|
+
Dynamic: summary
|
|
18
27
|
|
|
19
28
|
# chirpstack-api
|
|
20
29
|
|
|
@@ -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: 6.31.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,8 +11,8 @@ 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
|
-
|
|
14
|
+
6,
|
|
15
|
+
31,
|
|
16
16
|
0,
|
|
17
17
|
'',
|
|
18
18
|
'chirpstack-api/api/application.proto'
|
|
@@ -5,7 +5,8 @@ from google.protobuf.internal import containers as _containers
|
|
|
5
5
|
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
6
6
|
from google.protobuf import descriptor as _descriptor
|
|
7
7
|
from google.protobuf import message as _message
|
|
8
|
-
from
|
|
8
|
+
from collections.abc import Iterable as _Iterable, Mapping as _Mapping
|
|
9
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
|
9
10
|
|
|
10
11
|
DESCRIPTOR: _descriptor.FileDescriptor
|
|
11
12
|
|
|
@@ -96,7 +97,7 @@ class ApplicationListItem(_message.Message):
|
|
|
96
97
|
updated_at: _timestamp_pb2.Timestamp
|
|
97
98
|
name: str
|
|
98
99
|
description: str
|
|
99
|
-
def __init__(self, id: _Optional[str] = ..., created_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., updated_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., name: _Optional[str] = ..., description: _Optional[str] = ...) -> None: ...
|
|
100
|
+
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] = ..., description: _Optional[str] = ...) -> None: ...
|
|
100
101
|
|
|
101
102
|
class CreateApplicationRequest(_message.Message):
|
|
102
103
|
__slots__ = ("application",)
|
|
@@ -126,7 +127,7 @@ class GetApplicationResponse(_message.Message):
|
|
|
126
127
|
created_at: _timestamp_pb2.Timestamp
|
|
127
128
|
updated_at: _timestamp_pb2.Timestamp
|
|
128
129
|
measurement_keys: _containers.RepeatedScalarFieldContainer[str]
|
|
129
|
-
def __init__(self, application: _Optional[_Union[Application, _Mapping]] = ..., created_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., updated_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., measurement_keys: _Optional[_Iterable[str]] = ...) -> None: ...
|
|
130
|
+
def __init__(self, application: _Optional[_Union[Application, _Mapping]] = ..., created_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., updated_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., measurement_keys: _Optional[_Iterable[str]] = ...) -> None: ...
|
|
130
131
|
|
|
131
132
|
class UpdateApplicationRequest(_message.Message):
|
|
132
133
|
__slots__ = ("application",)
|
|
@@ -665,7 +666,7 @@ class GenerateMqttIntegrationClientCertificateResponse(_message.Message):
|
|
|
665
666
|
tls_key: str
|
|
666
667
|
ca_cert: str
|
|
667
668
|
expires_at: _timestamp_pb2.Timestamp
|
|
668
|
-
def __init__(self, tls_cert: _Optional[str] = ..., tls_key: _Optional[str] = ..., ca_cert: _Optional[str] = ..., expires_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
|
|
669
|
+
def __init__(self, tls_cert: _Optional[str] = ..., tls_key: _Optional[str] = ..., ca_cert: _Optional[str] = ..., expires_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
|
|
669
670
|
|
|
670
671
|
class ApplicationDeviceProfileListItem(_message.Message):
|
|
671
672
|
__slots__ = ("id", "name")
|
|
@@ -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.73.0'
|
|
10
10
|
GRPC_VERSION = grpc.__version__
|
|
11
11
|
_version_not_supported = False
|
|
12
12
|
|
|
@@ -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: 6.31.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,8 +11,8 @@ 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
|
-
|
|
14
|
+
6,
|
|
15
|
+
31,
|
|
16
16
|
0,
|
|
17
17
|
'',
|
|
18
18
|
'chirpstack-api/api/device.proto'
|
|
@@ -7,7 +7,8 @@ from google.protobuf.internal import containers as _containers
|
|
|
7
7
|
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
8
8
|
from google.protobuf import descriptor as _descriptor
|
|
9
9
|
from google.protobuf import message as _message
|
|
10
|
-
from
|
|
10
|
+
from collections.abc import Iterable as _Iterable, Mapping as _Mapping
|
|
11
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
|
11
12
|
|
|
12
13
|
DESCRIPTOR: _descriptor.FileDescriptor
|
|
13
14
|
|
|
@@ -88,7 +89,7 @@ class DeviceListItem(_message.Message):
|
|
|
88
89
|
device_profile_name: str
|
|
89
90
|
device_status: DeviceStatus
|
|
90
91
|
tags: _containers.ScalarMap[str, str]
|
|
91
|
-
def __init__(self, dev_eui: _Optional[str] = ..., created_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., updated_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., last_seen_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., device_profile_id: _Optional[str] = ..., device_profile_name: _Optional[str] = ..., device_status: _Optional[_Union[DeviceStatus, _Mapping]] = ..., tags: _Optional[_Mapping[str, str]] = ...) -> None: ...
|
|
92
|
+
def __init__(self, dev_eui: _Optional[str] = ..., created_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., updated_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., last_seen_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., device_profile_id: _Optional[str] = ..., device_profile_name: _Optional[str] = ..., device_status: _Optional[_Union[DeviceStatus, _Mapping]] = ..., tags: _Optional[_Mapping[str, str]] = ...) -> None: ...
|
|
92
93
|
|
|
93
94
|
class DeviceKeys(_message.Message):
|
|
94
95
|
__slots__ = ("dev_eui", "nwk_key", "app_key", "gen_app_key")
|
|
@@ -128,7 +129,7 @@ class GetDeviceResponse(_message.Message):
|
|
|
128
129
|
last_seen_at: _timestamp_pb2.Timestamp
|
|
129
130
|
device_status: DeviceStatus
|
|
130
131
|
class_enabled: _common_pb2.DeviceClass
|
|
131
|
-
def __init__(self, device: _Optional[_Union[Device, _Mapping]] = ..., created_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., updated_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., last_seen_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., device_status: _Optional[_Union[DeviceStatus, _Mapping]] = ..., class_enabled: _Optional[_Union[_common_pb2.DeviceClass, str]] = ...) -> None: ...
|
|
132
|
+
def __init__(self, device: _Optional[_Union[Device, _Mapping]] = ..., created_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., updated_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., last_seen_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., device_status: _Optional[_Union[DeviceStatus, _Mapping]] = ..., class_enabled: _Optional[_Union[_common_pb2.DeviceClass, str]] = ...) -> None: ...
|
|
132
133
|
|
|
133
134
|
class UpdateDeviceRequest(_message.Message):
|
|
134
135
|
__slots__ = ("device",)
|
|
@@ -209,7 +210,7 @@ class GetDeviceKeysResponse(_message.Message):
|
|
|
209
210
|
device_keys: DeviceKeys
|
|
210
211
|
created_at: _timestamp_pb2.Timestamp
|
|
211
212
|
updated_at: _timestamp_pb2.Timestamp
|
|
212
|
-
def __init__(self, device_keys: _Optional[_Union[DeviceKeys, _Mapping]] = ..., created_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., updated_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
|
|
213
|
+
def __init__(self, device_keys: _Optional[_Union[DeviceKeys, _Mapping]] = ..., created_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., updated_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
|
|
213
214
|
|
|
214
215
|
class UpdateDeviceKeysRequest(_message.Message):
|
|
215
216
|
__slots__ = ("device_keys",)
|
|
@@ -293,7 +294,7 @@ class GetDeviceMetricsRequest(_message.Message):
|
|
|
293
294
|
start: _timestamp_pb2.Timestamp
|
|
294
295
|
end: _timestamp_pb2.Timestamp
|
|
295
296
|
aggregation: _common_pb2.Aggregation
|
|
296
|
-
def __init__(self, dev_eui: _Optional[str] = ..., start: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., end: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., aggregation: _Optional[_Union[_common_pb2.Aggregation, str]] = ...) -> None: ...
|
|
297
|
+
def __init__(self, dev_eui: _Optional[str] = ..., start: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., end: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., aggregation: _Optional[_Union[_common_pb2.Aggregation, str]] = ...) -> None: ...
|
|
297
298
|
|
|
298
299
|
class GetDeviceMetricsResponse(_message.Message):
|
|
299
300
|
__slots__ = ("metrics", "states")
|
|
@@ -335,7 +336,7 @@ class GetDeviceLinkMetricsRequest(_message.Message):
|
|
|
335
336
|
start: _timestamp_pb2.Timestamp
|
|
336
337
|
end: _timestamp_pb2.Timestamp
|
|
337
338
|
aggregation: _common_pb2.Aggregation
|
|
338
|
-
def __init__(self, dev_eui: _Optional[str] = ..., start: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., end: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., aggregation: _Optional[_Union[_common_pb2.Aggregation, str]] = ...) -> None: ...
|
|
339
|
+
def __init__(self, dev_eui: _Optional[str] = ..., start: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., end: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., aggregation: _Optional[_Union[_common_pb2.Aggregation, str]] = ...) -> None: ...
|
|
339
340
|
|
|
340
341
|
class GetDeviceLinkMetricsResponse(_message.Message):
|
|
341
342
|
__slots__ = ("rx_packets", "gw_rssi", "gw_snr", "rx_packets_per_freq", "rx_packets_per_dr", "errors")
|
|
@@ -375,7 +376,7 @@ class DeviceQueueItem(_message.Message):
|
|
|
375
376
|
f_cnt_down: int
|
|
376
377
|
is_encrypted: bool
|
|
377
378
|
expires_at: _timestamp_pb2.Timestamp
|
|
378
|
-
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[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
|
|
379
|
+
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: ...
|
|
379
380
|
|
|
380
381
|
class EnqueueDeviceQueueItemRequest(_message.Message):
|
|
381
382
|
__slots__ = ("queue_item",)
|
|
@@ -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.73.0'
|
|
10
10
|
GRPC_VERSION = grpc.__version__
|
|
11
11
|
_version_not_supported = False
|
|
12
12
|
|
|
@@ -0,0 +1,105 @@
|
|
|
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: 6.31.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
|
+
6,
|
|
15
|
+
31,
|
|
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 google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
26
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
27
|
+
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
|
|
28
|
+
from chirpstack_api.common import common_pb2 as chirpstack__api_dot_common_dot_common__pb2
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'chirpstack-api/api/device_profile.proto\x12\x03\x61pi\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\"chirpstack-api/common/common.proto\"\xa8\x0f\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\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\"\xdd\x02\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\"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\"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\"]\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\"]\n\x1aListDeviceProfilesResponse\x12\x13\n\x0btotal_count\x18\x01 \x01(\r\x12*\n\x06result\x18\x02 \x03(\x0b\x32\x1a.api.DeviceProfileListItem\"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\xb8\x05\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}\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\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['_DEVICEPROFILESERVICE'].methods_by_name['Create']._loaded_options = None
|
|
44
|
+
_globals['_DEVICEPROFILESERVICE'].methods_by_name['Create']._serialized_options = b'\202\323\344\223\002\031\"\024/api/device-profiles:\001*'
|
|
45
|
+
_globals['_DEVICEPROFILESERVICE'].methods_by_name['Get']._loaded_options = None
|
|
46
|
+
_globals['_DEVICEPROFILESERVICE'].methods_by_name['Get']._serialized_options = b'\202\323\344\223\002\033\022\031/api/device-profiles/{id}'
|
|
47
|
+
_globals['_DEVICEPROFILESERVICE'].methods_by_name['Update']._loaded_options = None
|
|
48
|
+
_globals['_DEVICEPROFILESERVICE'].methods_by_name['Update']._serialized_options = b'\202\323\344\223\002-\032(/api/device-profiles/{device_profile.id}:\001*'
|
|
49
|
+
_globals['_DEVICEPROFILESERVICE'].methods_by_name['Delete']._loaded_options = None
|
|
50
|
+
_globals['_DEVICEPROFILESERVICE'].methods_by_name['Delete']._serialized_options = b'\202\323\344\223\002\033*\031/api/device-profiles/{id}'
|
|
51
|
+
_globals['_DEVICEPROFILESERVICE'].methods_by_name['List']._loaded_options = None
|
|
52
|
+
_globals['_DEVICEPROFILESERVICE'].methods_by_name['List']._serialized_options = b'\202\323\344\223\002\026\022\024/api/device-profiles'
|
|
53
|
+
_globals['_DEVICEPROFILESERVICE'].methods_by_name['ListAdrAlgorithms']._loaded_options = None
|
|
54
|
+
_globals['_DEVICEPROFILESERVICE'].methods_by_name['ListAdrAlgorithms']._serialized_options = b'\202\323\344\223\002%\022#/api/device-profiles/adr-algorithms'
|
|
55
|
+
_globals['_CODECRUNTIME']._serialized_start=3554
|
|
56
|
+
_globals['_CODECRUNTIME']._serialized_end=3603
|
|
57
|
+
_globals['_MEASUREMENTKIND']._serialized_start=3605
|
|
58
|
+
_globals['_MEASUREMENTKIND']._serialized_end=3685
|
|
59
|
+
_globals['_CADPERIODICITY']._serialized_start=3687
|
|
60
|
+
_globals['_CADPERIODICITY']._serialized_end=3772
|
|
61
|
+
_globals['_SECONDCHACKOFFSET']._serialized_start=3774
|
|
62
|
+
_globals['_SECONDCHACKOFFSET']._serialized_end=3871
|
|
63
|
+
_globals['_RELAYMODEACTIVATION']._serialized_start=3873
|
|
64
|
+
_globals['_RELAYMODEACTIVATION']._serialized_end=3981
|
|
65
|
+
_globals['_TS003VERSION']._serialized_start=3983
|
|
66
|
+
_globals['_TS003VERSION']._serialized_end=4056
|
|
67
|
+
_globals['_TS004VERSION']._serialized_start=4058
|
|
68
|
+
_globals['_TS004VERSION']._serialized_end=4131
|
|
69
|
+
_globals['_TS005VERSION']._serialized_start=4133
|
|
70
|
+
_globals['_TS005VERSION']._serialized_end=4206
|
|
71
|
+
_globals['_DEVICEPROFILE']._serialized_start=177
|
|
72
|
+
_globals['_DEVICEPROFILE']._serialized_end=2137
|
|
73
|
+
_globals['_DEVICEPROFILE_TAGSENTRY']._serialized_start=2023
|
|
74
|
+
_globals['_DEVICEPROFILE_TAGSENTRY']._serialized_end=2066
|
|
75
|
+
_globals['_DEVICEPROFILE_MEASUREMENTSENTRY']._serialized_start=2068
|
|
76
|
+
_globals['_DEVICEPROFILE_MEASUREMENTSENTRY']._serialized_end=2137
|
|
77
|
+
_globals['_MEASUREMENT']._serialized_start=2139
|
|
78
|
+
_globals['_MEASUREMENT']._serialized_end=2202
|
|
79
|
+
_globals['_APPLAYERPARAMS']._serialized_start=2205
|
|
80
|
+
_globals['_APPLAYERPARAMS']._serialized_end=2413
|
|
81
|
+
_globals['_DEVICEPROFILELISTITEM']._serialized_start=2416
|
|
82
|
+
_globals['_DEVICEPROFILELISTITEM']._serialized_end=2765
|
|
83
|
+
_globals['_CREATEDEVICEPROFILEREQUEST']._serialized_start=2767
|
|
84
|
+
_globals['_CREATEDEVICEPROFILEREQUEST']._serialized_end=2839
|
|
85
|
+
_globals['_CREATEDEVICEPROFILERESPONSE']._serialized_start=2841
|
|
86
|
+
_globals['_CREATEDEVICEPROFILERESPONSE']._serialized_end=2882
|
|
87
|
+
_globals['_GETDEVICEPROFILEREQUEST']._serialized_start=2884
|
|
88
|
+
_globals['_GETDEVICEPROFILEREQUEST']._serialized_end=2921
|
|
89
|
+
_globals['_GETDEVICEPROFILERESPONSE']._serialized_start=2924
|
|
90
|
+
_globals['_GETDEVICEPROFILERESPONSE']._serialized_end=3090
|
|
91
|
+
_globals['_UPDATEDEVICEPROFILEREQUEST']._serialized_start=3092
|
|
92
|
+
_globals['_UPDATEDEVICEPROFILEREQUEST']._serialized_end=3164
|
|
93
|
+
_globals['_DELETEDEVICEPROFILEREQUEST']._serialized_start=3166
|
|
94
|
+
_globals['_DELETEDEVICEPROFILEREQUEST']._serialized_end=3206
|
|
95
|
+
_globals['_LISTDEVICEPROFILESREQUEST']._serialized_start=3208
|
|
96
|
+
_globals['_LISTDEVICEPROFILESREQUEST']._serialized_end=3301
|
|
97
|
+
_globals['_LISTDEVICEPROFILESRESPONSE']._serialized_start=3303
|
|
98
|
+
_globals['_LISTDEVICEPROFILESRESPONSE']._serialized_end=3396
|
|
99
|
+
_globals['_LISTDEVICEPROFILEADRALGORITHMSRESPONSE']._serialized_start=3398
|
|
100
|
+
_globals['_LISTDEVICEPROFILEADRALGORITHMSRESPONSE']._serialized_end=3502
|
|
101
|
+
_globals['_ADRALGORITHMLISTITEM']._serialized_start=3504
|
|
102
|
+
_globals['_ADRALGORITHMLISTITEM']._serialized_end=3552
|
|
103
|
+
_globals['_DEVICEPROFILESERVICE']._serialized_start=4209
|
|
104
|
+
_globals['_DEVICEPROFILESERVICE']._serialized_end=4905
|
|
105
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -6,7 +6,8 @@ from google.protobuf.internal import containers as _containers
|
|
|
6
6
|
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
7
7
|
from google.protobuf import descriptor as _descriptor
|
|
8
8
|
from google.protobuf import message as _message
|
|
9
|
-
from
|
|
9
|
+
from collections.abc import Iterable as _Iterable, Mapping as _Mapping
|
|
10
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
|
10
11
|
|
|
11
12
|
DESCRIPTOR: _descriptor.FileDescriptor
|
|
12
13
|
|
|
@@ -101,7 +102,7 @@ TS005_V100: Ts005Version
|
|
|
101
102
|
TS005_V200: Ts005Version
|
|
102
103
|
|
|
103
104
|
class DeviceProfile(_message.Message):
|
|
104
|
-
__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", "
|
|
105
|
+
__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")
|
|
105
106
|
class TagsEntry(_message.Message):
|
|
106
107
|
__slots__ = ("key", "value")
|
|
107
108
|
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
@@ -133,7 +134,7 @@ class DeviceProfile(_message.Message):
|
|
|
133
134
|
SUPPORTS_CLASS_B_FIELD_NUMBER: _ClassVar[int]
|
|
134
135
|
SUPPORTS_CLASS_C_FIELD_NUMBER: _ClassVar[int]
|
|
135
136
|
CLASS_B_TIMEOUT_FIELD_NUMBER: _ClassVar[int]
|
|
136
|
-
|
|
137
|
+
CLASS_B_PING_SLOT_PERIODICITY_FIELD_NUMBER: _ClassVar[int]
|
|
137
138
|
CLASS_B_PING_SLOT_DR_FIELD_NUMBER: _ClassVar[int]
|
|
138
139
|
CLASS_B_PING_SLOT_FREQ_FIELD_NUMBER: _ClassVar[int]
|
|
139
140
|
CLASS_C_TIMEOUT_FIELD_NUMBER: _ClassVar[int]
|
|
@@ -187,7 +188,7 @@ class DeviceProfile(_message.Message):
|
|
|
187
188
|
supports_class_b: bool
|
|
188
189
|
supports_class_c: bool
|
|
189
190
|
class_b_timeout: int
|
|
190
|
-
|
|
191
|
+
class_b_ping_slot_periodicity: int
|
|
191
192
|
class_b_ping_slot_dr: int
|
|
192
193
|
class_b_ping_slot_freq: int
|
|
193
194
|
class_c_timeout: int
|
|
@@ -224,7 +225,7 @@ class DeviceProfile(_message.Message):
|
|
|
224
225
|
allow_roaming: bool
|
|
225
226
|
rx1_delay: int
|
|
226
227
|
app_layer_params: AppLayerParams
|
|
227
|
-
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: bool = ..., uplink_interval: _Optional[int] = ..., device_status_req_interval: _Optional[int] = ..., supports_otaa: bool = ..., supports_class_b: bool = ..., supports_class_c: bool = ..., class_b_timeout: _Optional[int] = ...,
|
|
228
|
+
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: bool = ..., uplink_interval: _Optional[int] = ..., device_status_req_interval: _Optional[int] = ..., supports_otaa: bool = ..., supports_class_b: bool = ..., supports_class_c: 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: bool = ..., region_config_id: _Optional[str] = ..., is_relay: bool = ..., is_relay_ed: bool = ..., relay_ed_relay_only: bool = ..., relay_enabled: 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: bool = ..., rx1_delay: _Optional[int] = ..., app_layer_params: _Optional[_Union[AppLayerParams, _Mapping]] = ...) -> None: ...
|
|
228
229
|
|
|
229
230
|
class Measurement(_message.Message):
|
|
230
231
|
__slots__ = ("name", "kind")
|
|
@@ -272,7 +273,7 @@ class DeviceProfileListItem(_message.Message):
|
|
|
272
273
|
supports_otaa: bool
|
|
273
274
|
supports_class_b: bool
|
|
274
275
|
supports_class_c: bool
|
|
275
|
-
def __init__(self, id: _Optional[str] = ..., created_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., updated_at: _Optional[_Union[_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 = ...) -> None: ...
|
|
276
|
+
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 = ...) -> None: ...
|
|
276
277
|
|
|
277
278
|
class CreateDeviceProfileRequest(_message.Message):
|
|
278
279
|
__slots__ = ("device_profile",)
|
|
@@ -300,7 +301,7 @@ class GetDeviceProfileResponse(_message.Message):
|
|
|
300
301
|
device_profile: DeviceProfile
|
|
301
302
|
created_at: _timestamp_pb2.Timestamp
|
|
302
303
|
updated_at: _timestamp_pb2.Timestamp
|
|
303
|
-
def __init__(self, device_profile: _Optional[_Union[DeviceProfile, _Mapping]] = ..., created_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., updated_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
|
|
304
|
+
def __init__(self, device_profile: _Optional[_Union[DeviceProfile, _Mapping]] = ..., created_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., updated_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
|
|
304
305
|
|
|
305
306
|
class UpdateDeviceProfileRequest(_message.Message):
|
|
306
307
|
__slots__ = ("device_profile",)
|
{chirpstack_api-4.12.1 → chirpstack_api-4.13.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.73.0'
|
|
10
10
|
GRPC_VERSION = grpc.__version__
|
|
11
11
|
_version_not_supported = False
|
|
12
12
|
|
{chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/chirpstack_api/api/device_profile_template_pb2.py
RENAMED
|
@@ -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_profile_template.proto
|
|
5
|
-
# Protobuf Python Version:
|
|
5
|
+
# Protobuf Python Version: 6.31.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,8 +11,8 @@ 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
|
-
|
|
14
|
+
6,
|
|
15
|
+
31,
|
|
16
16
|
0,
|
|
17
17
|
'',
|
|
18
18
|
'chirpstack-api/api/device_profile_template.proto'
|
|
@@ -29,7 +29,7 @@ from chirpstack_api.common import common_pb2 as chirpstack__api_dot_common_dot_c
|
|
|
29
29
|
from chirpstack_api.api import device_profile_pb2 as chirpstack__api_dot_api_dot_device__profile__pb2
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0chirpstack-api/api/device_profile_template.proto\x12\x03\x61pi\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\"chirpstack-api/common/common.proto\x1a\'chirpstack-api/api/device_profile.proto\"\
|
|
32
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0chirpstack-api/api/device_profile_template.proto\x12\x03\x61pi\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\"chirpstack-api/common/common.proto\x1a\'chirpstack-api/api/device_profile.proto\"\xfd\x07\n\x15\x44\x65viceProfileTemplate\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x0e\n\x06vendor\x18\x04 \x01(\t\x12\x10\n\x08\x66irmware\x18\x05 \x01(\t\x12\x1e\n\x06region\x18\x06 \x01(\x0e\x32\x0e.common.Region\x12\'\n\x0bmac_version\x18\x07 \x01(\x0e\x32\x12.common.MacVersion\x12\x36\n\x13reg_params_revision\x18\x08 \x01(\x0e\x32\x19.common.RegParamsRevision\x12\x18\n\x10\x61\x64r_algorithm_id\x18\t \x01(\t\x12\x30\n\x15payload_codec_runtime\x18\n \x01(\x0e\x32\x11.api.CodecRuntime\x12\x1c\n\x14payload_codec_script\x18\x0b \x01(\t\x12\x1f\n\x17\x66lush_queue_on_activate\x18\x0c \x01(\x08\x12\x17\n\x0fuplink_interval\x18\r \x01(\r\x12\"\n\x1a\x64\x65vice_status_req_interval\x18\x0e \x01(\r\x12\x15\n\rsupports_otaa\x18\x0f \x01(\x08\x12\x18\n\x10supports_class_b\x18\x10 \x01(\x08\x12\x18\n\x10supports_class_c\x18\x11 \x01(\x08\x12\x17\n\x0f\x63lass_b_timeout\x18\x12 \x01(\r\x12%\n\x1d\x63lass_b_ping_slot_periodicity\x18\x13 \x01(\r\x12\x1c\n\x14\x63lass_b_ping_slot_dr\x18\x14 \x01(\r\x12\x1e\n\x16\x63lass_b_ping_slot_freq\x18\x15 \x01(\r\x12\x17\n\x0f\x63lass_c_timeout\x18\x16 \x01(\r\x12\x15\n\rabp_rx1_delay\x18\x17 \x01(\r\x12\x19\n\x11\x61\x62p_rx1_dr_offset\x18\x18 \x01(\r\x12\x12\n\nabp_rx2_dr\x18\x19 \x01(\r\x12\x14\n\x0c\x61\x62p_rx2_freq\x18\x1a \x01(\r\x12\x32\n\x04tags\x18\x1b \x03(\x0b\x32$.api.DeviceProfileTemplate.TagsEntry\x12\x42\n\x0cmeasurements\x18\x1c \x03(\x0b\x32,.api.DeviceProfileTemplate.MeasurementsEntry\x12 \n\x18\x61uto_detect_measurements\x18\x1d \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\"\x87\x03\n\x1d\x44\x65viceProfileTemplateListItem\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\x0e\n\x06vendor\x18\x05 \x01(\t\x12\x10\n\x08\x66irmware\x18\x06 \x01(\t\x12\x1e\n\x06region\x18\x07 \x01(\x0e\x32\x0e.common.Region\x12\'\n\x0bmac_version\x18\x08 \x01(\x0e\x32\x12.common.MacVersion\x12\x36\n\x13reg_params_revision\x18\t \x01(\x0e\x32\x19.common.RegParamsRevision\x12\x15\n\rsupports_otaa\x18\n \x01(\x08\x12\x18\n\x10supports_class_b\x18\x0b \x01(\x08\x12\x18\n\x10supports_class_c\x18\x0c \x01(\x08\"a\n\"CreateDeviceProfileTemplateRequest\x12;\n\x17\x64\x65vice_profile_template\x18\x01 \x01(\x0b\x32\x1a.api.DeviceProfileTemplate\"-\n\x1fGetDeviceProfileTemplateRequest\x12\n\n\x02id\x18\x01 \x01(\t\"\xbf\x01\n GetDeviceProfileTemplateResponse\x12;\n\x17\x64\x65vice_profile_template\x18\x01 \x01(\x0b\x32\x1a.api.DeviceProfileTemplate\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\"a\n\"UpdateDeviceProfileTemplateRequest\x12;\n\x17\x64\x65vice_profile_template\x18\x01 \x01(\x0b\x32\x1a.api.DeviceProfileTemplate\"0\n\"DeleteDeviceProfileTemplateRequest\x12\n\n\x02id\x18\x01 \x01(\t\"B\n!ListDeviceProfileTemplatesRequest\x12\r\n\x05limit\x18\x01 \x01(\r\x12\x0e\n\x06offset\x18\x02 \x01(\r\"m\n\"ListDeviceProfileTemplatesResponse\x12\x13\n\x0btotal_count\x18\x01 \x01(\r\x12\x32\n\x06result\x18\x02 \x03(\x0b\x32\".api.DeviceProfileTemplateListItem2\x9d\x05\n\x1c\x44\x65viceProfileTemplateService\x12s\n\x06\x43reate\x12\'.api.CreateDeviceProfileTemplateRequest\x1a\x16.google.protobuf.Empty\"(\x82\xd3\xe4\x93\x02\"\"\x1d/api/device-profile-templates:\x01*\x12~\n\x03Get\x12$.api.GetDeviceProfileTemplateRequest\x1a%.api.GetDeviceProfileTemplateResponse\"*\x82\xd3\xe4\x93\x02$\x12\"/api/device-profile-templates/{id}\x12\x90\x01\n\x06Update\x12\'.api.UpdateDeviceProfileTemplateRequest\x1a\x16.google.protobuf.Empty\"E\x82\xd3\xe4\x93\x02?\x1a:/api/device-profile-templates/{device_profile_template.id}:\x01*\x12u\n\x06\x44\x65lete\x12\'.api.DeleteDeviceProfileTemplateRequest\x1a\x16.google.protobuf.Empty\"*\x82\xd3\xe4\x93\x02$*\"/api/device-profile-templates/{id}\x12~\n\x04List\x12&.api.ListDeviceProfileTemplatesRequest\x1a\'.api.ListDeviceProfileTemplatesResponse\"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/api/device-profile-templatesB\xa0\x01\n\x11io.chirpstack.apiB\x1a\x44\x65viceProfileTemplateProtoP\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')
|
|
33
33
|
|
|
34
34
|
_globals = globals()
|
|
35
35
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -52,27 +52,27 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
52
52
|
_globals['_DEVICEPROFILETEMPLATESERVICE'].methods_by_name['List']._loaded_options = None
|
|
53
53
|
_globals['_DEVICEPROFILETEMPLATESERVICE'].methods_by_name['List']._serialized_options = b'\202\323\344\223\002\037\022\035/api/device-profile-templates'
|
|
54
54
|
_globals['_DEVICEPROFILETEMPLATE']._serialized_start=227
|
|
55
|
-
_globals['_DEVICEPROFILETEMPLATE']._serialized_end=
|
|
56
|
-
_globals['_DEVICEPROFILETEMPLATE_TAGSENTRY']._serialized_start=
|
|
57
|
-
_globals['_DEVICEPROFILETEMPLATE_TAGSENTRY']._serialized_end=
|
|
58
|
-
_globals['_DEVICEPROFILETEMPLATE_MEASUREMENTSENTRY']._serialized_start=
|
|
59
|
-
_globals['_DEVICEPROFILETEMPLATE_MEASUREMENTSENTRY']._serialized_end=
|
|
60
|
-
_globals['_DEVICEPROFILETEMPLATELISTITEM']._serialized_start=
|
|
61
|
-
_globals['_DEVICEPROFILETEMPLATELISTITEM']._serialized_end=
|
|
62
|
-
_globals['_CREATEDEVICEPROFILETEMPLATEREQUEST']._serialized_start=
|
|
63
|
-
_globals['_CREATEDEVICEPROFILETEMPLATEREQUEST']._serialized_end=
|
|
64
|
-
_globals['_GETDEVICEPROFILETEMPLATEREQUEST']._serialized_start=
|
|
65
|
-
_globals['_GETDEVICEPROFILETEMPLATEREQUEST']._serialized_end=
|
|
66
|
-
_globals['_GETDEVICEPROFILETEMPLATERESPONSE']._serialized_start=
|
|
67
|
-
_globals['_GETDEVICEPROFILETEMPLATERESPONSE']._serialized_end=
|
|
68
|
-
_globals['_UPDATEDEVICEPROFILETEMPLATEREQUEST']._serialized_start=
|
|
69
|
-
_globals['_UPDATEDEVICEPROFILETEMPLATEREQUEST']._serialized_end=
|
|
70
|
-
_globals['_DELETEDEVICEPROFILETEMPLATEREQUEST']._serialized_start=
|
|
71
|
-
_globals['_DELETEDEVICEPROFILETEMPLATEREQUEST']._serialized_end=
|
|
72
|
-
_globals['_LISTDEVICEPROFILETEMPLATESREQUEST']._serialized_start=
|
|
73
|
-
_globals['_LISTDEVICEPROFILETEMPLATESREQUEST']._serialized_end=
|
|
74
|
-
_globals['_LISTDEVICEPROFILETEMPLATESRESPONSE']._serialized_start=
|
|
75
|
-
_globals['_LISTDEVICEPROFILETEMPLATESRESPONSE']._serialized_end=
|
|
76
|
-
_globals['_DEVICEPROFILETEMPLATESERVICE']._serialized_start=
|
|
77
|
-
_globals['_DEVICEPROFILETEMPLATESERVICE']._serialized_end=
|
|
55
|
+
_globals['_DEVICEPROFILETEMPLATE']._serialized_end=1248
|
|
56
|
+
_globals['_DEVICEPROFILETEMPLATE_TAGSENTRY']._serialized_start=1134
|
|
57
|
+
_globals['_DEVICEPROFILETEMPLATE_TAGSENTRY']._serialized_end=1177
|
|
58
|
+
_globals['_DEVICEPROFILETEMPLATE_MEASUREMENTSENTRY']._serialized_start=1179
|
|
59
|
+
_globals['_DEVICEPROFILETEMPLATE_MEASUREMENTSENTRY']._serialized_end=1248
|
|
60
|
+
_globals['_DEVICEPROFILETEMPLATELISTITEM']._serialized_start=1251
|
|
61
|
+
_globals['_DEVICEPROFILETEMPLATELISTITEM']._serialized_end=1642
|
|
62
|
+
_globals['_CREATEDEVICEPROFILETEMPLATEREQUEST']._serialized_start=1644
|
|
63
|
+
_globals['_CREATEDEVICEPROFILETEMPLATEREQUEST']._serialized_end=1741
|
|
64
|
+
_globals['_GETDEVICEPROFILETEMPLATEREQUEST']._serialized_start=1743
|
|
65
|
+
_globals['_GETDEVICEPROFILETEMPLATEREQUEST']._serialized_end=1788
|
|
66
|
+
_globals['_GETDEVICEPROFILETEMPLATERESPONSE']._serialized_start=1791
|
|
67
|
+
_globals['_GETDEVICEPROFILETEMPLATERESPONSE']._serialized_end=1982
|
|
68
|
+
_globals['_UPDATEDEVICEPROFILETEMPLATEREQUEST']._serialized_start=1984
|
|
69
|
+
_globals['_UPDATEDEVICEPROFILETEMPLATEREQUEST']._serialized_end=2081
|
|
70
|
+
_globals['_DELETEDEVICEPROFILETEMPLATEREQUEST']._serialized_start=2083
|
|
71
|
+
_globals['_DELETEDEVICEPROFILETEMPLATEREQUEST']._serialized_end=2131
|
|
72
|
+
_globals['_LISTDEVICEPROFILETEMPLATESREQUEST']._serialized_start=2133
|
|
73
|
+
_globals['_LISTDEVICEPROFILETEMPLATESREQUEST']._serialized_end=2199
|
|
74
|
+
_globals['_LISTDEVICEPROFILETEMPLATESRESPONSE']._serialized_start=2201
|
|
75
|
+
_globals['_LISTDEVICEPROFILETEMPLATESRESPONSE']._serialized_end=2310
|
|
76
|
+
_globals['_DEVICEPROFILETEMPLATESERVICE']._serialized_start=2313
|
|
77
|
+
_globals['_DEVICEPROFILETEMPLATESERVICE']._serialized_end=2982
|
|
78
78
|
# @@protoc_insertion_point(module_scope)
|
{chirpstack_api-4.12.1 → chirpstack_api-4.13.0}/chirpstack_api/api/device_profile_template_pb2.pyi
RENAMED
|
@@ -6,12 +6,13 @@ from chirpstack_api.api import device_profile_pb2 as _device_profile_pb2
|
|
|
6
6
|
from google.protobuf.internal import containers as _containers
|
|
7
7
|
from google.protobuf import descriptor as _descriptor
|
|
8
8
|
from google.protobuf import message as _message
|
|
9
|
-
from
|
|
9
|
+
from collections.abc import Iterable as _Iterable, Mapping as _Mapping
|
|
10
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
|
10
11
|
|
|
11
12
|
DESCRIPTOR: _descriptor.FileDescriptor
|
|
12
13
|
|
|
13
14
|
class DeviceProfileTemplate(_message.Message):
|
|
14
|
-
__slots__ = ("id", "name", "description", "vendor", "firmware", "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", "
|
|
15
|
+
__slots__ = ("id", "name", "description", "vendor", "firmware", "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")
|
|
15
16
|
class TagsEntry(_message.Message):
|
|
16
17
|
__slots__ = ("key", "value")
|
|
17
18
|
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
@@ -44,7 +45,7 @@ class DeviceProfileTemplate(_message.Message):
|
|
|
44
45
|
SUPPORTS_CLASS_B_FIELD_NUMBER: _ClassVar[int]
|
|
45
46
|
SUPPORTS_CLASS_C_FIELD_NUMBER: _ClassVar[int]
|
|
46
47
|
CLASS_B_TIMEOUT_FIELD_NUMBER: _ClassVar[int]
|
|
47
|
-
|
|
48
|
+
CLASS_B_PING_SLOT_PERIODICITY_FIELD_NUMBER: _ClassVar[int]
|
|
48
49
|
CLASS_B_PING_SLOT_DR_FIELD_NUMBER: _ClassVar[int]
|
|
49
50
|
CLASS_B_PING_SLOT_FREQ_FIELD_NUMBER: _ClassVar[int]
|
|
50
51
|
CLASS_C_TIMEOUT_FIELD_NUMBER: _ClassVar[int]
|
|
@@ -73,7 +74,7 @@ class DeviceProfileTemplate(_message.Message):
|
|
|
73
74
|
supports_class_b: bool
|
|
74
75
|
supports_class_c: bool
|
|
75
76
|
class_b_timeout: int
|
|
76
|
-
|
|
77
|
+
class_b_ping_slot_periodicity: int
|
|
77
78
|
class_b_ping_slot_dr: int
|
|
78
79
|
class_b_ping_slot_freq: int
|
|
79
80
|
class_c_timeout: int
|
|
@@ -84,7 +85,7 @@ class DeviceProfileTemplate(_message.Message):
|
|
|
84
85
|
tags: _containers.ScalarMap[str, str]
|
|
85
86
|
measurements: _containers.MessageMap[str, _device_profile_pb2.Measurement]
|
|
86
87
|
auto_detect_measurements: bool
|
|
87
|
-
def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., vendor: _Optional[str] = ..., firmware: _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[_device_profile_pb2.CodecRuntime, str]] = ..., payload_codec_script: _Optional[str] = ..., flush_queue_on_activate: bool = ..., uplink_interval: _Optional[int] = ..., device_status_req_interval: _Optional[int] = ..., supports_otaa: bool = ..., supports_class_b: bool = ..., supports_class_c: bool = ..., class_b_timeout: _Optional[int] = ...,
|
|
88
|
+
def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., vendor: _Optional[str] = ..., firmware: _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[_device_profile_pb2.CodecRuntime, str]] = ..., payload_codec_script: _Optional[str] = ..., flush_queue_on_activate: bool = ..., uplink_interval: _Optional[int] = ..., device_status_req_interval: _Optional[int] = ..., supports_otaa: bool = ..., supports_class_b: bool = ..., supports_class_c: 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, _device_profile_pb2.Measurement]] = ..., auto_detect_measurements: bool = ...) -> None: ...
|
|
88
89
|
|
|
89
90
|
class DeviceProfileTemplateListItem(_message.Message):
|
|
90
91
|
__slots__ = ("id", "created_at", "updated_at", "name", "vendor", "firmware", "region", "mac_version", "reg_params_revision", "supports_otaa", "supports_class_b", "supports_class_c")
|
|
@@ -112,7 +113,7 @@ class DeviceProfileTemplateListItem(_message.Message):
|
|
|
112
113
|
supports_otaa: bool
|
|
113
114
|
supports_class_b: bool
|
|
114
115
|
supports_class_c: bool
|
|
115
|
-
def __init__(self, id: _Optional[str] = ..., created_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., updated_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., name: _Optional[str] = ..., vendor: _Optional[str] = ..., firmware: _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 = ...) -> None: ...
|
|
116
|
+
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] = ..., vendor: _Optional[str] = ..., firmware: _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 = ...) -> None: ...
|
|
116
117
|
|
|
117
118
|
class CreateDeviceProfileTemplateRequest(_message.Message):
|
|
118
119
|
__slots__ = ("device_profile_template",)
|
|
@@ -134,7 +135,7 @@ class GetDeviceProfileTemplateResponse(_message.Message):
|
|
|
134
135
|
device_profile_template: DeviceProfileTemplate
|
|
135
136
|
created_at: _timestamp_pb2.Timestamp
|
|
136
137
|
updated_at: _timestamp_pb2.Timestamp
|
|
137
|
-
def __init__(self, device_profile_template: _Optional[_Union[DeviceProfileTemplate, _Mapping]] = ..., created_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., updated_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
|
|
138
|
+
def __init__(self, device_profile_template: _Optional[_Union[DeviceProfileTemplate, _Mapping]] = ..., created_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., updated_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
|
|
138
139
|
|
|
139
140
|
class UpdateDeviceProfileTemplateRequest(_message.Message):
|
|
140
141
|
__slots__ = ("device_profile_template",)
|
|
@@ -6,7 +6,7 @@ import warnings
|
|
|
6
6
|
from chirpstack_api.api import device_profile_template_pb2 as chirpstack__api_dot_api_dot_device__profile__template__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.73.0'
|
|
10
10
|
GRPC_VERSION = grpc.__version__
|
|
11
11
|
_version_not_supported = False
|
|
12
12
|
|
|
@@ -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/gateway.proto
|
|
5
|
-
# Protobuf Python Version:
|
|
5
|
+
# Protobuf Python Version: 6.31.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,8 +11,8 @@ 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
|
-
|
|
14
|
+
6,
|
|
15
|
+
31,
|
|
16
16
|
0,
|
|
17
17
|
'',
|
|
18
18
|
'chirpstack-api/api/gateway.proto'
|