chirpstack-api 4.18.0__tar.gz → 4.20.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.20.0}/PKG-INFO +1 -1
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.0}/chirpstack_api/api/application_pb2.py +3 -3
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.0}/chirpstack_api/api/application_pb2.pyi +1 -1
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.0}/chirpstack_api/api/application_pb2_grpc.py +4 -4
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.0}/chirpstack_api/api/device_pb2.py +43 -43
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.0}/chirpstack_api/api/device_pb2.pyi +12 -10
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.0}/chirpstack_api/api/device_pb2_grpc.py +4 -4
- chirpstack_api-4.20.0/chirpstack_api/api/device_profile_pb2.py +163 -0
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.0}/chirpstack_api/api/device_profile_pb2.pyi +6 -4
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.0}/chirpstack_api/api/device_profile_pb2_grpc.py +4 -4
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.0}/chirpstack_api/api/fuota_pb2.py +3 -3
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.0}/chirpstack_api/api/fuota_pb2.pyi +1 -1
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.0}/chirpstack_api/api/fuota_pb2_grpc.py +4 -4
- chirpstack_api-4.20.0/chirpstack_api/api/gateway_pb2.py +127 -0
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.0}/chirpstack_api/api/gateway_pb2.pyi +11 -7
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.0}/chirpstack_api/api/gateway_pb2_grpc.py +4 -4
- chirpstack_api-4.20.0/chirpstack_api/api/internal_pb2.py +121 -0
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.0}/chirpstack_api/api/internal_pb2.pyi +29 -7
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.0}/chirpstack_api/api/internal_pb2_grpc.py +4 -4
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.0}/chirpstack_api/api/multicast_group_pb2.py +3 -3
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.0}/chirpstack_api/api/multicast_group_pb2_grpc.py +4 -4
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.0}/chirpstack_api/api/relay_pb2.py +7 -7
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.0}/chirpstack_api/api/relay_pb2_grpc.py +4 -4
- chirpstack_api-4.20.0/chirpstack_api/api/tenant_pb2.py +110 -0
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.0}/chirpstack_api/api/tenant_pb2.pyi +33 -7
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.0}/chirpstack_api/api/tenant_pb2_grpc.py +48 -4
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.0}/chirpstack_api/api/user_pb2.py +3 -3
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.0}/chirpstack_api/api/user_pb2.pyi +3 -3
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.0}/chirpstack_api/api/user_pb2_grpc.py +4 -4
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.0}/chirpstack_api/common/common_pb2.py +3 -3
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.0}/chirpstack_api/common/common_pb2_grpc.py +1 -1
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.0}/chirpstack_api/gw/gw_pb2.py +3 -3
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.0}/chirpstack_api/gw/gw_pb2.pyi +1 -1
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.0}/chirpstack_api/gw/gw_pb2_grpc.py +1 -1
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.0}/chirpstack_api/integration/integration_pb2.py +3 -3
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.0}/chirpstack_api/integration/integration_pb2.pyi +4 -4
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.0}/chirpstack_api/integration/integration_pb2_grpc.py +1 -1
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.0}/chirpstack_api/stream/api_request_pb2.py +3 -3
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.0}/chirpstack_api/stream/api_request_pb2_grpc.py +1 -1
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.0}/chirpstack_api/stream/backend_interfaces_pb2.py +3 -3
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.0}/chirpstack_api/stream/backend_interfaces_pb2_grpc.py +1 -1
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.0}/chirpstack_api/stream/frame_pb2.py +3 -3
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.0}/chirpstack_api/stream/frame_pb2.pyi +2 -2
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.0}/chirpstack_api/stream/frame_pb2_grpc.py +1 -1
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.0}/chirpstack_api/stream/meta_pb2.py +3 -3
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.0}/chirpstack_api/stream/meta_pb2_grpc.py +1 -1
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.0}/chirpstack_api.egg-info/PKG-INFO +1 -1
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.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/internal_pb2.py +0 -117
- chirpstack_api-4.18.0/chirpstack_api/api/tenant_pb2.py +0 -102
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.0}/README.md +0 -0
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.0}/chirpstack_api/__init__.py +0 -0
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.0}/chirpstack_api/api/__init__.py +0 -0
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.0}/chirpstack_api/api/device_profile_template_pb2.py +0 -0
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.0}/chirpstack_api/api/device_profile_template_pb2.pyi +0 -0
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.0}/chirpstack_api/api/device_profile_template_pb2_grpc.py +0 -0
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.0}/chirpstack_api/api/multicast_group_pb2.pyi +0 -0
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.0}/chirpstack_api/api/relay_pb2.pyi +1 -1
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.0}/chirpstack_api/common/__init__.py +0 -0
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.0}/chirpstack_api/common/common_pb2.pyi +0 -0
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.0}/chirpstack_api/gw/__init__.py +0 -0
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.0}/chirpstack_api/integration/__init__.py +0 -0
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.0}/chirpstack_api/stream/__init__.py +0 -0
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.0}/chirpstack_api/stream/api_request_pb2.pyi +0 -0
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.0}/chirpstack_api/stream/backend_interfaces_pb2.pyi +0 -0
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.0}/chirpstack_api/stream/meta_pb2.pyi +0 -0
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.0}/chirpstack_api.egg-info/SOURCES.txt +0 -0
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.0}/chirpstack_api.egg-info/dependency_links.txt +0 -0
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.0}/chirpstack_api.egg-info/not-zip-safe +0 -0
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.0}/chirpstack_api.egg-info/requires.txt +0 -0
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.0}/chirpstack_api.egg-info/top_level.txt +0 -0
- {chirpstack_api-4.18.0 → chirpstack_api-4.20.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.1
|
|
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
|
+
7,
|
|
15
|
+
35,
|
|
16
16
|
1,
|
|
17
17
|
'',
|
|
18
18
|
'chirpstack-api/api/application.proto'
|
|
@@ -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.84.0'
|
|
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.1
|
|
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
|
+
7,
|
|
15
|
+
35,
|
|
16
16
|
1,
|
|
17
17
|
'',
|
|
18
18
|
'chirpstack-api/api/device.proto'
|
|
@@ -24,12 +24,12 @@ _sym_db = _symbol_database.Default()
|
|
|
24
24
|
|
|
25
25
|
from chirpstack_api.common import common_pb2 as chirpstack__api_dot_common_dot_common__pb2
|
|
26
26
|
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
27
|
-
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
28
|
-
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
|
|
29
27
|
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
|
|
28
|
+
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
|
|
29
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x63hirpstack-api/api/device.proto\x12\x03\x61pi\x1a\"chirpstack-api/common/common.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1bgoogle/protobuf/empty.proto\"\xe2\x02\n\x06\x44\x65vice\x12\x0f\n\x07\x64\x65v_eui\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x16\n\x0e\x61pplication_id\x18\x04 \x01(\t\x12\x19\n\x11\x64\x65vice_profile_id\x18\x05 \x01(\t\x12\x17\n\x0fskip_fcnt_check\x18\x06 \x01(\x08\x12\x13\n\x0bis_disabled\x18\x07 \x01(\x08\x12-\n\tvariables\x18\x08 \x03(\x0b\x32\x1a.api.Device.VariablesEntry\x12#\n\x04tags\x18\t \x03(\x0b\x32\x15.api.Device.TagsEntry\x12\x10\n\x08join_eui\x18\n \x01(\t\x1a\x30\n\x0eVariablesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a+\n\tTagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"T\n\x0c\x44\x65viceStatus\x12\x0e\n\x06margin\x18\x01 \x01(\x05\x12\x1d\n\x15\x65xternal_power_source\x18\x02 \x01(\x08\x12\x15\n\rbattery_level\x18\x03 \x01(\x02\"\x92\x03\n\x0e\x44\x65viceListItem\x12\x0f\n\x07\x64\x65v_eui\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\x30\n\x0clast_seen_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04name\x18\x05 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x06 \x01(\t\x12\x19\n\x11\x64\x65vice_profile_id\x18\x07 \x01(\t\x12\x1b\n\x13\x64\x65vice_profile_name\x18\x08 \x01(\t\x12(\n\rdevice_status\x18\t \x01(\x0b\x32\x11.api.DeviceStatus\x12+\n\x04tags\x18\n \x03(\x0b\x32\x1d.api.DeviceListItem.TagsEntry\x1a+\n\tTagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"T\n\nDeviceKeys\x12\x0f\n\x07\x64\x65v_eui\x18\x01 \x01(\t\x12\x0f\n\x07nwk_key\x18\x02 \x01(\t\x12\x0f\n\x07\x61pp_key\x18\x03 \x01(\t\x12\x13\n\x0bgen_app_key\x18\x04 \x01(\t\"2\n\x13\x43reateDeviceRequest\x12\x1b\n\x06\x64\x65vice\x18\x01 \x01(\x0b\x32\x0b.api.Device\"#\n\x10GetDeviceRequest\x12\x0f\n\x07\x64\x65v_eui\x18\x01 \x01(\t\"\x98\x02\n\x11GetDeviceResponse\x12\x1b\n\x06\x64\x65vice\x18\x01 \x01(\x0b\x32\x0b.api.Device\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\x30\n\x0clast_seen_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12(\n\rdevice_status\x18\x05 \x01(\x0b\x32\x11.api.DeviceStatus\x12*\n\rclass_enabled\x18\x06 \x01(\x0e\x32\x13.common.DeviceClass\"2\n\x13UpdateDeviceRequest\x12\x1b\n\x06\x64\x65vice\x18\x01 \x01(\x0b\x32\x0b.api.Device\"&\n\x13\x44\x65leteDeviceRequest\x12\x0f\n\x07\x64\x65v_eui\x18\x01 \x01(\t\"\x87\x03\n\x12ListDevicesRequest\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\x16\n\x0e\x61pplication_id\x18\x04 \x01(\t\x12\x1a\n\x12multicast_group_id\x18\x05 \x01(\t\x12\x31\n\x08order_by\x18\x06 \x01(\x0e\x32\x1f.api.ListDevicesRequest.OrderBy\x12\x15\n\rorder_by_desc\x18\x07 \x01(\x08\x12/\n\x04tags\x18\x08 \x03(\x0b\x32!.api.ListDevicesRequest.TagsEntry\x12\x19\n\x11\x64\x65vice_profile_id\x18\t \x01(\t\x1a+\n\tTagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"K\n\x07OrderBy\x12\x08\n\x04NAME\x10\x00\x12\x0b\n\x07\x44\x45V_EUI\x10\x01\x12\x10\n\x0cLAST_SEEN_AT\x10\x02\x12\x17\n\x13\x44\x45VICE_PROFILE_NAME\x10\x03\"O\n\x13ListDevicesResponse\x12\x13\n\x0btotal_count\x18\x01 \x01(\r\x12#\n\x06result\x18\x02 \x03(\x0b\x32\x13.api.DeviceListItem\"?\n\x17\x43reateDeviceKeysRequest\x12$\n\x0b\x64\x65vice_keys\x18\x01 \x01(\x0b\x32\x0f.api.DeviceKeys\"\'\n\x14GetDeviceKeysRequest\x12\x0f\n\x07\x64\x65v_eui\x18\x01 \x01(\t\"\x9d\x01\n\x15GetDeviceKeysResponse\x12$\n\x0b\x64\x65vice_keys\x18\x01 \x01(\x0b\x32\x0f.api.DeviceKeys\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\x17UpdateDeviceKeysRequest\x12$\n\x0b\x64\x65vice_keys\x18\x01 \x01(\x0b\x32\x0f.api.DeviceKeys\"*\n\x17\x44\x65leteDeviceKeysRequest\x12\x0f\n\x07\x64\x65v_eui\x18\x01 \x01(\t\"\xcf\x01\n\x10\x44\x65viceActivation\x12\x0f\n\x07\x64\x65v_eui\x18\x01 \x01(\t\x12\x10\n\x08\x64\x65v_addr\x18\x02 \x01(\t\x12\x11\n\tapp_s_key\x18\x03 \x01(\t\x12\x15\n\rnwk_s_enc_key\x18\x04 \x01(\t\x12\x17\n\x0fs_nwk_s_int_key\x18\x08 \x01(\t\x12\x17\n\x0f\x66_nwk_s_int_key\x18\t \x01(\t\x12\x10\n\x08\x66_cnt_up\x18\x05 \x01(\r\x12\x14\n\x0cn_f_cnt_down\x18\x06 \x01(\r\x12\x14\n\x0c\x61_f_cnt_down\x18\n \x01(\r\"I\n\x15\x41\x63tivateDeviceRequest\x12\x30\n\x11\x64\x65vice_activation\x18\x01 \x01(\x0b\x32\x15.api.DeviceActivation\"*\n\x17\x44\x65\x61\x63tivateDeviceRequest\x12\x0f\n\x07\x64\x65v_eui\x18\x01 \x01(\t\"-\n\x1aGetDeviceActivationRequest\x12\x0f\n\x07\x64\x65v_eui\x18\x01 \x01(\t\"\x87\x01\n\x1bGetDeviceActivationResponse\x12\x30\n\x11\x64\x65vice_activation\x18\x01 \x01(\x0b\x32\x15.api.DeviceActivation\x12\x36\n\x13join_server_context\x18\x02 \x01(\x0b\x32\x19.common.JoinServerContext\"*\n\x17GetRandomDevAddrRequest\x12\x0f\n\x07\x64\x65v_eui\x18\x01 \x01(\t\",\n\x18GetRandomDevAddrResponse\x12\x10\n\x08\x64\x65v_addr\x18\x01 \x01(\t\"\xa8\x01\n\x17GetDeviceMetricsRequest\x12\x0f\n\x07\x64\x65v_eui\x18\x01 \x01(\t\x12)\n\x05start\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\'\n\x03\x65nd\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12(\n\x0b\x61ggregation\x18\x04 \x01(\x0e\x32\x13.common.Aggregation\"\x93\x02\n\x18GetDeviceMetricsResponse\x12;\n\x07metrics\x18\x01 \x03(\x0b\x32*.api.GetDeviceMetricsResponse.MetricsEntry\x12\x39\n\x06states\x18\x02 \x03(\x0b\x32).api.GetDeviceMetricsResponse.StatesEntry\x1a>\n\x0cMetricsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1d\n\x05value\x18\x02 \x01(\x0b\x32\x0e.common.Metric:\x02\x38\x01\x1a?\n\x0bStatesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1f\n\x05value\x18\x02 \x01(\x0b\x32\x10.api.DeviceState:\x02\x38\x01\"*\n\x0b\x44\x65viceState\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\r\n\x05value\x18\x03 \x01(\t\"\xac\x01\n\x1bGetDeviceLinkMetricsRequest\x12\x0f\n\x07\x64\x65v_eui\x18\x01 \x01(\t\x12)\n\x05start\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\'\n\x03\x65nd\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12(\n\x0b\x61ggregation\x18\x04 \x01(\x0e\x32\x13.common.Aggregation\"\xfb\x01\n\x1cGetDeviceLinkMetricsResponse\x12\"\n\nrx_packets\x18\x01 \x01(\x0b\x32\x0e.common.Metric\x12\x1f\n\x07gw_rssi\x18\x02 \x01(\x0b\x32\x0e.common.Metric\x12\x1e\n\x06gw_snr\x18\x03 \x01(\x0b\x32\x0e.common.Metric\x12+\n\x13rx_packets_per_freq\x18\x04 \x01(\x0b\x32\x0e.common.Metric\x12)\n\x11rx_packets_per_dr\x18\x05 \x01(\x0b\x32\x0e.common.Metric\x12\x1e\n\x06\x65rrors\x18\x06 \x01(\x0b\x32\x0e.common.Metric\"\xf6\x01\n\x0f\x44\x65viceQueueItem\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0f\n\x07\x64\x65v_eui\x18\x02 \x01(\t\x12\x11\n\tconfirmed\x18\x03 \x01(\x08\x12\x0e\n\x06\x66_port\x18\x04 \x01(\r\x12\x0c\n\x04\x64\x61ta\x18\x05 \x01(\x0c\x12\'\n\x06object\x18\x06 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x12\n\nis_pending\x18\x07 \x01(\x08\x12\x12\n\nf_cnt_down\x18\x08 \x01(\r\x12\x14\n\x0cis_encrypted\x18\t \x01(\x08\x12.\n\nexpires_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"^\n\x1d\x45nqueueDeviceQueueItemRequest\x12(\n\nqueue_item\x18\x01 \x01(\x0b\x32\x14.api.DeviceQueueItem\x12\x13\n\x0b\x66lush_queue\x18\x02 \x01(\x08\",\n\x1e\x45nqueueDeviceQueueItemResponse\x12\n\n\x02id\x18\x01 \x01(\t\"*\n\x17\x46lushDeviceQueueRequest\x12\x0f\n\x07\x64\x65v_eui\x18\x01 \x01(\t\"A\n\x1aGetDeviceQueueItemsRequest\x12\x0f\n\x07\x64\x65v_eui\x18\x01 \x01(\t\x12\x12\n\ncount_only\x18\x02 \x01(\x08\"X\n\x1bGetDeviceQueueItemsResponse\x12\x13\n\x0btotal_count\x18\x01 \x01(\r\x12$\n\x06result\x18\x02 \x03(\x0b\x32\x14.api.DeviceQueueItem\"(\n\x15\x46lushDevNoncesRequest\x12\x0f\n\x07\x64\x65v_eui\x18\x01 \x01(\t\"/\n\x1cGetDeviceNextFCntDownRequest\x12\x0f\n\x07\x64\x65v_eui\x18\x01 \x01(\t\"3\n\x1dGetDeviceNextFCntDownResponse\x12\x12\n\nf_cnt_down\x18\x01 \x01(\r2\xe2\x11\n\rDeviceService\x12S\n\x06\x43reate\x12\x18.api.CreateDeviceRequest\x1a\x16.google.protobuf.Empty\"\x17\x82\xd3\xe4\x93\x02\x11\"\x0c/api/devices:\x01*\x12T\n\x03Get\x12\x15.api.GetDeviceRequest\x1a\x16.api.GetDeviceResponse\"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/api/devices/{dev_eui}\x12\x64\n\x06Update\x12\x18.api.UpdateDeviceRequest\x1a\x16.google.protobuf.Empty\"(\x82\xd3\xe4\x93\x02\"\x1a\x1d/api/devices/{device.dev_eui}:\x01*\x12Z\n\x06\x44\x65lete\x12\x18.api.DeleteDeviceRequest\x1a\x16.google.protobuf.Empty\"\x1e\x82\xd3\xe4\x93\x02\x18*\x16/api/devices/{dev_eui}\x12O\n\x04List\x12\x17.api.ListDevicesRequest\x1a\x18.api.ListDevicesResponse\"\x14\x82\xd3\xe4\x93\x02\x0e\x12\x0c/api/devices\x12v\n\nCreateKeys\x12\x1c.api.CreateDeviceKeysRequest\x1a\x16.google.protobuf.Empty\"2\x82\xd3\xe4\x93\x02,\"\'/api/devices/{device_keys.dev_eui}/keys:\x01*\x12\x65\n\x07GetKeys\x12\x19.api.GetDeviceKeysRequest\x1a\x1a.api.GetDeviceKeysResponse\"#\x82\xd3\xe4\x93\x02\x1d\x12\x1b/api/devices/{dev_eui}/keys\x12v\n\nUpdateKeys\x12\x1c.api.UpdateDeviceKeysRequest\x1a\x16.google.protobuf.Empty\"2\x82\xd3\xe4\x93\x02,\x1a\'/api/devices/{device_keys.dev_eui}/keys:\x01*\x12g\n\nDeleteKeys\x12\x1c.api.DeleteDeviceKeysRequest\x1a\x16.google.protobuf.Empty\"#\x82\xd3\xe4\x93\x02\x1d*\x1b/api/devices/{dev_eui}/keys\x12o\n\x0e\x46lushDevNonces\x12\x1a.api.FlushDevNoncesRequest\x1a\x16.google.protobuf.Empty\")\x82\xd3\xe4\x93\x02#*!/api/devices/{dev_eui}/dev-nonces\x12|\n\x08\x41\x63tivate\x12\x1a.api.ActivateDeviceRequest\x1a\x16.google.protobuf.Empty\"<\x82\xd3\xe4\x93\x02\x36\"1/api/devices/{device_activation.dev_eui}/activate:\x01*\x12m\n\nDeactivate\x12\x1c.api.DeactivateDeviceRequest\x1a\x16.google.protobuf.Empty\")\x82\xd3\xe4\x93\x02#*!/api/devices/{dev_eui}/activation\x12}\n\rGetActivation\x12\x1f.api.GetDeviceActivationRequest\x1a .api.GetDeviceActivationResponse\")\x82\xd3\xe4\x93\x02#\x12!/api/devices/{dev_eui}/activation\x12\x83\x01\n\x10GetRandomDevAddr\x12\x1c.api.GetRandomDevAddrRequest\x1a\x1d.api.GetRandomDevAddrResponse\"2\x82\xd3\xe4\x93\x02,\"*/api/devices/{dev_eui}/get-random-dev-addr\x12q\n\nGetMetrics\x12\x1c.api.GetDeviceMetricsRequest\x1a\x1d.api.GetDeviceMetricsResponse\"&\x82\xd3\xe4\x93\x02 \x12\x1e/api/devices/{dev_eui}/metrics\x12\x82\x01\n\x0eGetLinkMetrics\x12 .api.GetDeviceLinkMetricsRequest\x1a!.api.GetDeviceLinkMetricsResponse\"+\x82\xd3\xe4\x93\x02%\x12#/api/devices/{dev_eui}/link-metrics\x12\x86\x01\n\x07\x45nqueue\x12\".api.EnqueueDeviceQueueItemRequest\x1a#.api.EnqueueDeviceQueueItemResponse\"2\x82\xd3\xe4\x93\x02,\"\'/api/devices/{queue_item.dev_eui}/queue:\x01*\x12h\n\nFlushQueue\x12\x1c.api.FlushDeviceQueueRequest\x1a\x16.google.protobuf.Empty\"$\x82\xd3\xe4\x93\x02\x1e*\x1c/api/devices/{dev_eui}/queue\x12s\n\x08GetQueue\x12\x1f.api.GetDeviceQueueItemsRequest\x1a .api.GetDeviceQueueItemsResponse\"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/api/devices/{dev_eui}/queue\x12\x8f\x01\n\x0fGetNextFCntDown\x12!.api.GetDeviceNextFCntDownRequest\x1a\".api.GetDeviceNextFCntDownResponse\"5\x82\xd3\xe4\x93\x02/\"*/api/devices/{dev_eui}/get-next-f-cnt-down:\x01*B\x91\x01\n\x11io.chirpstack.apiB\x0b\x44\x65viceProtoP\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
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1f\x63hirpstack-api/api/device.proto\x12\x03\x61pi\x1a\"chirpstack-api/common/common.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xe2\x02\n\x06\x44\x65vice\x12\x0f\n\x07\x64\x65v_eui\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x16\n\x0e\x61pplication_id\x18\x04 \x01(\t\x12\x19\n\x11\x64\x65vice_profile_id\x18\x05 \x01(\t\x12\x17\n\x0fskip_fcnt_check\x18\x06 \x01(\x08\x12\x13\n\x0bis_disabled\x18\x07 \x01(\x08\x12-\n\tvariables\x18\x08 \x03(\x0b\x32\x1a.api.Device.VariablesEntry\x12#\n\x04tags\x18\t \x03(\x0b\x32\x15.api.Device.TagsEntry\x12\x10\n\x08join_eui\x18\n \x01(\t\x1a\x30\n\x0eVariablesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a+\n\tTagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"T\n\x0c\x44\x65viceStatus\x12\x0e\n\x06margin\x18\x01 \x01(\x05\x12\x1d\n\x15\x65xternal_power_source\x18\x02 \x01(\x08\x12\x15\n\rbattery_level\x18\x03 \x01(\x02\"\x92\x03\n\x0e\x44\x65viceListItem\x12\x0f\n\x07\x64\x65v_eui\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\x30\n\x0clast_seen_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04name\x18\x05 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x06 \x01(\t\x12\x19\n\x11\x64\x65vice_profile_id\x18\x07 \x01(\t\x12\x1b\n\x13\x64\x65vice_profile_name\x18\x08 \x01(\t\x12(\n\rdevice_status\x18\t \x01(\x0b\x32\x11.api.DeviceStatus\x12+\n\x04tags\x18\n \x03(\x0b\x32\x1d.api.DeviceListItem.TagsEntry\x1a+\n\tTagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"T\n\nDeviceKeys\x12\x0f\n\x07\x64\x65v_eui\x18\x01 \x01(\t\x12\x0f\n\x07nwk_key\x18\x02 \x01(\t\x12\x0f\n\x07\x61pp_key\x18\x03 \x01(\t\x12\x13\n\x0bgen_app_key\x18\x04 \x01(\t\"2\n\x13\x43reateDeviceRequest\x12\x1b\n\x06\x64\x65vice\x18\x01 \x01(\x0b\x32\x0b.api.Device\"#\n\x10GetDeviceRequest\x12\x0f\n\x07\x64\x65v_eui\x18\x01 \x01(\t\"\x98\x02\n\x11GetDeviceResponse\x12\x1b\n\x06\x64\x65vice\x18\x01 \x01(\x0b\x32\x0b.api.Device\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\x30\n\x0clast_seen_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12(\n\rdevice_status\x18\x05 \x01(\x0b\x32\x11.api.DeviceStatus\x12*\n\rclass_enabled\x18\x06 \x01(\x0e\x32\x13.common.DeviceClass\"2\n\x13UpdateDeviceRequest\x12\x1b\n\x06\x64\x65vice\x18\x01 \x01(\x0b\x32\x0b.api.Device\"&\n\x13\x44\x65leteDeviceRequest\x12\x0f\n\x07\x64\x65v_eui\x18\x01 \x01(\t\"\x87\x03\n\x12ListDevicesRequest\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\x16\n\x0e\x61pplication_id\x18\x04 \x01(\t\x12\x1a\n\x12multicast_group_id\x18\x05 \x01(\t\x12\x31\n\x08order_by\x18\x06 \x01(\x0e\x32\x1f.api.ListDevicesRequest.OrderBy\x12\x15\n\rorder_by_desc\x18\x07 \x01(\x08\x12/\n\x04tags\x18\x08 \x03(\x0b\x32!.api.ListDevicesRequest.TagsEntry\x12\x19\n\x11\x64\x65vice_profile_id\x18\t \x01(\t\x1a+\n\tTagsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"K\n\x07OrderBy\x12\x08\n\x04NAME\x10\x00\x12\x0b\n\x07\x44\x45V_EUI\x10\x01\x12\x10\n\x0cLAST_SEEN_AT\x10\x02\x12\x17\n\x13\x44\x45VICE_PROFILE_NAME\x10\x03\"O\n\x13ListDevicesResponse\x12\x13\n\x0btotal_count\x18\x01 \x01(\r\x12#\n\x06result\x18\x02 \x03(\x0b\x32\x13.api.DeviceListItem\"?\n\x17\x43reateDeviceKeysRequest\x12$\n\x0b\x64\x65vice_keys\x18\x01 \x01(\x0b\x32\x0f.api.DeviceKeys\"\'\n\x14GetDeviceKeysRequest\x12\x0f\n\x07\x64\x65v_eui\x18\x01 \x01(\t\"\x9d\x01\n\x15GetDeviceKeysResponse\x12$\n\x0b\x64\x65vice_keys\x18\x01 \x01(\x0b\x32\x0f.api.DeviceKeys\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\x17UpdateDeviceKeysRequest\x12$\n\x0b\x64\x65vice_keys\x18\x01 \x01(\x0b\x32\x0f.api.DeviceKeys\"*\n\x17\x44\x65leteDeviceKeysRequest\x12\x0f\n\x07\x64\x65v_eui\x18\x01 \x01(\t\"\xcf\x01\n\x10\x44\x65viceActivation\x12\x0f\n\x07\x64\x65v_eui\x18\x01 \x01(\t\x12\x10\n\x08\x64\x65v_addr\x18\x02 \x01(\t\x12\x11\n\tapp_s_key\x18\x03 \x01(\t\x12\x15\n\rnwk_s_enc_key\x18\x04 \x01(\t\x12\x17\n\x0fs_nwk_s_int_key\x18\x08 \x01(\t\x12\x17\n\x0f\x66_nwk_s_int_key\x18\t \x01(\t\x12\x10\n\x08\x66_cnt_up\x18\x05 \x01(\r\x12\x14\n\x0cn_f_cnt_down\x18\x06 \x01(\r\x12\x14\n\x0c\x61_f_cnt_down\x18\n \x01(\r\"I\n\x15\x41\x63tivateDeviceRequest\x12\x30\n\x11\x64\x65vice_activation\x18\x01 \x01(\x0b\x32\x15.api.DeviceActivation\"*\n\x17\x44\x65\x61\x63tivateDeviceRequest\x12\x0f\n\x07\x64\x65v_eui\x18\x01 \x01(\t\"-\n\x1aGetDeviceActivationRequest\x12\x0f\n\x07\x64\x65v_eui\x18\x01 \x01(\t\"\x87\x01\n\x1bGetDeviceActivationResponse\x12\x30\n\x11\x64\x65vice_activation\x18\x01 \x01(\x0b\x32\x15.api.DeviceActivation\x12\x36\n\x13join_server_context\x18\x02 \x01(\x0b\x32\x19.common.JoinServerContext\"=\n\x17GetRandomDevAddrRequest\x12\x0f\n\x07\x64\x65v_eui\x18\x01 \x01(\t\x12\x11\n\ttenant_id\x18\x02 \x01(\t\",\n\x18GetRandomDevAddrResponse\x12\x10\n\x08\x64\x65v_addr\x18\x01 \x01(\t\"\xa8\x01\n\x17GetDeviceMetricsRequest\x12\x0f\n\x07\x64\x65v_eui\x18\x01 \x01(\t\x12)\n\x05start\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\'\n\x03\x65nd\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12(\n\x0b\x61ggregation\x18\x04 \x01(\x0e\x32\x13.common.Aggregation\"\x93\x02\n\x18GetDeviceMetricsResponse\x12;\n\x07metrics\x18\x01 \x03(\x0b\x32*.api.GetDeviceMetricsResponse.MetricsEntry\x12\x39\n\x06states\x18\x02 \x03(\x0b\x32).api.GetDeviceMetricsResponse.StatesEntry\x1a>\n\x0cMetricsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1d\n\x05value\x18\x02 \x01(\x0b\x32\x0e.common.Metric:\x02\x38\x01\x1a?\n\x0bStatesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1f\n\x05value\x18\x02 \x01(\x0b\x32\x10.api.DeviceState:\x02\x38\x01\"*\n\x0b\x44\x65viceState\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\r\n\x05value\x18\x03 \x01(\t\"\xac\x01\n\x1bGetDeviceLinkMetricsRequest\x12\x0f\n\x07\x64\x65v_eui\x18\x01 \x01(\t\x12)\n\x05start\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\'\n\x03\x65nd\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12(\n\x0b\x61ggregation\x18\x04 \x01(\x0e\x32\x13.common.Aggregation\"\xfb\x01\n\x1cGetDeviceLinkMetricsResponse\x12\"\n\nrx_packets\x18\x01 \x01(\x0b\x32\x0e.common.Metric\x12\x1f\n\x07gw_rssi\x18\x02 \x01(\x0b\x32\x0e.common.Metric\x12\x1e\n\x06gw_snr\x18\x03 \x01(\x0b\x32\x0e.common.Metric\x12+\n\x13rx_packets_per_freq\x18\x04 \x01(\x0b\x32\x0e.common.Metric\x12)\n\x11rx_packets_per_dr\x18\x05 \x01(\x0b\x32\x0e.common.Metric\x12\x1e\n\x06\x65rrors\x18\x06 \x01(\x0b\x32\x0e.common.Metric\"\xf6\x01\n\x0f\x44\x65viceQueueItem\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0f\n\x07\x64\x65v_eui\x18\x02 \x01(\t\x12\x11\n\tconfirmed\x18\x03 \x01(\x08\x12\x0e\n\x06\x66_port\x18\x04 \x01(\r\x12\x0c\n\x04\x64\x61ta\x18\x05 \x01(\x0c\x12\'\n\x06object\x18\x06 \x01(\x0b\x32\x17.google.protobuf.Struct\x12\x12\n\nis_pending\x18\x07 \x01(\x08\x12\x12\n\nf_cnt_down\x18\x08 \x01(\r\x12\x14\n\x0cis_encrypted\x18\t \x01(\x08\x12.\n\nexpires_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"^\n\x1d\x45nqueueDeviceQueueItemRequest\x12(\n\nqueue_item\x18\x01 \x01(\x0b\x32\x14.api.DeviceQueueItem\x12\x13\n\x0b\x66lush_queue\x18\x02 \x01(\x08\",\n\x1e\x45nqueueDeviceQueueItemResponse\x12\n\n\x02id\x18\x01 \x01(\t\"*\n\x17\x46lushDeviceQueueRequest\x12\x0f\n\x07\x64\x65v_eui\x18\x01 \x01(\t\"A\n\x1aGetDeviceQueueItemsRequest\x12\x0f\n\x07\x64\x65v_eui\x18\x01 \x01(\t\x12\x12\n\ncount_only\x18\x02 \x01(\x08\"X\n\x1bGetDeviceQueueItemsResponse\x12\x13\n\x0btotal_count\x18\x01 \x01(\r\x12$\n\x06result\x18\x02 \x03(\x0b\x32\x14.api.DeviceQueueItem\"(\n\x15\x46lushDevNoncesRequest\x12\x0f\n\x07\x64\x65v_eui\x18\x01 \x01(\t\"/\n\x1cGetDeviceNextFCntDownRequest\x12\x0f\n\x07\x64\x65v_eui\x18\x01 \x01(\t\"3\n\x1dGetDeviceNextFCntDownResponse\x12\x12\n\nf_cnt_down\x18\x01 \x01(\r2\xe2\x11\n\rDeviceService\x12S\n\x06\x43reate\x12\x18.api.CreateDeviceRequest\x1a\x16.google.protobuf.Empty\"\x17\x82\xd3\xe4\x93\x02\x11\"\x0c/api/devices:\x01*\x12T\n\x03Get\x12\x15.api.GetDeviceRequest\x1a\x16.api.GetDeviceResponse\"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/api/devices/{dev_eui}\x12\x64\n\x06Update\x12\x18.api.UpdateDeviceRequest\x1a\x16.google.protobuf.Empty\"(\x82\xd3\xe4\x93\x02\"\x1a\x1d/api/devices/{device.dev_eui}:\x01*\x12Z\n\x06\x44\x65lete\x12\x18.api.DeleteDeviceRequest\x1a\x16.google.protobuf.Empty\"\x1e\x82\xd3\xe4\x93\x02\x18*\x16/api/devices/{dev_eui}\x12O\n\x04List\x12\x17.api.ListDevicesRequest\x1a\x18.api.ListDevicesResponse\"\x14\x82\xd3\xe4\x93\x02\x0e\x12\x0c/api/devices\x12v\n\nCreateKeys\x12\x1c.api.CreateDeviceKeysRequest\x1a\x16.google.protobuf.Empty\"2\x82\xd3\xe4\x93\x02,\"\'/api/devices/{device_keys.dev_eui}/keys:\x01*\x12\x65\n\x07GetKeys\x12\x19.api.GetDeviceKeysRequest\x1a\x1a.api.GetDeviceKeysResponse\"#\x82\xd3\xe4\x93\x02\x1d\x12\x1b/api/devices/{dev_eui}/keys\x12v\n\nUpdateKeys\x12\x1c.api.UpdateDeviceKeysRequest\x1a\x16.google.protobuf.Empty\"2\x82\xd3\xe4\x93\x02,\x1a\'/api/devices/{device_keys.dev_eui}/keys:\x01*\x12g\n\nDeleteKeys\x12\x1c.api.DeleteDeviceKeysRequest\x1a\x16.google.protobuf.Empty\"#\x82\xd3\xe4\x93\x02\x1d*\x1b/api/devices/{dev_eui}/keys\x12o\n\x0e\x46lushDevNonces\x12\x1a.api.FlushDevNoncesRequest\x1a\x16.google.protobuf.Empty\")\x82\xd3\xe4\x93\x02#*!/api/devices/{dev_eui}/dev-nonces\x12|\n\x08\x41\x63tivate\x12\x1a.api.ActivateDeviceRequest\x1a\x16.google.protobuf.Empty\"<\x82\xd3\xe4\x93\x02\x36\"1/api/devices/{device_activation.dev_eui}/activate:\x01*\x12m\n\nDeactivate\x12\x1c.api.DeactivateDeviceRequest\x1a\x16.google.protobuf.Empty\")\x82\xd3\xe4\x93\x02#*!/api/devices/{dev_eui}/activation\x12}\n\rGetActivation\x12\x1f.api.GetDeviceActivationRequest\x1a .api.GetDeviceActivationResponse\")\x82\xd3\xe4\x93\x02#\x12!/api/devices/{dev_eui}/activation\x12\x83\x01\n\x10GetRandomDevAddr\x12\x1c.api.GetRandomDevAddrRequest\x1a\x1d.api.GetRandomDevAddrResponse\"2\x82\xd3\xe4\x93\x02,\"*/api/devices/{dev_eui}/get-random-dev-addr\x12q\n\nGetMetrics\x12\x1c.api.GetDeviceMetricsRequest\x1a\x1d.api.GetDeviceMetricsResponse\"&\x82\xd3\xe4\x93\x02 \x12\x1e/api/devices/{dev_eui}/metrics\x12\x82\x01\n\x0eGetLinkMetrics\x12 .api.GetDeviceLinkMetricsRequest\x1a!.api.GetDeviceLinkMetricsResponse\"+\x82\xd3\xe4\x93\x02%\x12#/api/devices/{dev_eui}/link-metrics\x12\x86\x01\n\x07\x45nqueue\x12\".api.EnqueueDeviceQueueItemRequest\x1a#.api.EnqueueDeviceQueueItemResponse\"2\x82\xd3\xe4\x93\x02,\"\'/api/devices/{queue_item.dev_eui}/queue:\x01*\x12h\n\nFlushQueue\x12\x1c.api.FlushDeviceQueueRequest\x1a\x16.google.protobuf.Empty\"$\x82\xd3\xe4\x93\x02\x1e*\x1c/api/devices/{dev_eui}/queue\x12s\n\x08GetQueue\x12\x1f.api.GetDeviceQueueItemsRequest\x1a .api.GetDeviceQueueItemsResponse\"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/api/devices/{dev_eui}/queue\x12\x8f\x01\n\x0fGetNextFCntDown\x12!.api.GetDeviceNextFCntDownRequest\x1a\".api.GetDeviceNextFCntDownResponse\"5\x82\xd3\xe4\x93\x02/\"*/api/devices/{dev_eui}/get-next-f-cnt-down:\x01*B\x91\x01\n\x11io.chirpstack.apiB\x0b\x44\x65viceProtoP\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)
|
|
@@ -142,41 +142,41 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
142
142
|
_globals['_GETDEVICEACTIVATIONRESPONSE']._serialized_start=2823
|
|
143
143
|
_globals['_GETDEVICEACTIVATIONRESPONSE']._serialized_end=2958
|
|
144
144
|
_globals['_GETRANDOMDEVADDRREQUEST']._serialized_start=2960
|
|
145
|
-
_globals['_GETRANDOMDEVADDRREQUEST']._serialized_end=
|
|
146
|
-
_globals['_GETRANDOMDEVADDRRESPONSE']._serialized_start=
|
|
147
|
-
_globals['_GETRANDOMDEVADDRRESPONSE']._serialized_end=
|
|
148
|
-
_globals['_GETDEVICEMETRICSREQUEST']._serialized_start=
|
|
149
|
-
_globals['_GETDEVICEMETRICSREQUEST']._serialized_end=
|
|
150
|
-
_globals['_GETDEVICEMETRICSRESPONSE']._serialized_start=
|
|
151
|
-
_globals['_GETDEVICEMETRICSRESPONSE']._serialized_end=
|
|
152
|
-
_globals['_GETDEVICEMETRICSRESPONSE_METRICSENTRY']._serialized_start=
|
|
153
|
-
_globals['_GETDEVICEMETRICSRESPONSE_METRICSENTRY']._serialized_end=
|
|
154
|
-
_globals['_GETDEVICEMETRICSRESPONSE_STATESENTRY']._serialized_start=
|
|
155
|
-
_globals['_GETDEVICEMETRICSRESPONSE_STATESENTRY']._serialized_end=
|
|
156
|
-
_globals['_DEVICESTATE']._serialized_start=
|
|
157
|
-
_globals['_DEVICESTATE']._serialized_end=
|
|
158
|
-
_globals['_GETDEVICELINKMETRICSREQUEST']._serialized_start=
|
|
159
|
-
_globals['_GETDEVICELINKMETRICSREQUEST']._serialized_end=
|
|
160
|
-
_globals['_GETDEVICELINKMETRICSRESPONSE']._serialized_start=
|
|
161
|
-
_globals['_GETDEVICELINKMETRICSRESPONSE']._serialized_end=
|
|
162
|
-
_globals['_DEVICEQUEUEITEM']._serialized_start=
|
|
163
|
-
_globals['_DEVICEQUEUEITEM']._serialized_end=
|
|
164
|
-
_globals['_ENQUEUEDEVICEQUEUEITEMREQUEST']._serialized_start=
|
|
165
|
-
_globals['_ENQUEUEDEVICEQUEUEITEMREQUEST']._serialized_end=
|
|
166
|
-
_globals['_ENQUEUEDEVICEQUEUEITEMRESPONSE']._serialized_start=
|
|
167
|
-
_globals['_ENQUEUEDEVICEQUEUEITEMRESPONSE']._serialized_end=
|
|
168
|
-
_globals['_FLUSHDEVICEQUEUEREQUEST']._serialized_start=
|
|
169
|
-
_globals['_FLUSHDEVICEQUEUEREQUEST']._serialized_end=
|
|
170
|
-
_globals['_GETDEVICEQUEUEITEMSREQUEST']._serialized_start=
|
|
171
|
-
_globals['_GETDEVICEQUEUEITEMSREQUEST']._serialized_end=
|
|
172
|
-
_globals['_GETDEVICEQUEUEITEMSRESPONSE']._serialized_start=
|
|
173
|
-
_globals['_GETDEVICEQUEUEITEMSRESPONSE']._serialized_end=
|
|
174
|
-
_globals['_FLUSHDEVNONCESREQUEST']._serialized_start=
|
|
175
|
-
_globals['_FLUSHDEVNONCESREQUEST']._serialized_end=
|
|
176
|
-
_globals['_GETDEVICENEXTFCNTDOWNREQUEST']._serialized_start=
|
|
177
|
-
_globals['_GETDEVICENEXTFCNTDOWNREQUEST']._serialized_end=
|
|
178
|
-
_globals['_GETDEVICENEXTFCNTDOWNRESPONSE']._serialized_start=
|
|
179
|
-
_globals['_GETDEVICENEXTFCNTDOWNRESPONSE']._serialized_end=
|
|
180
|
-
_globals['_DEVICESERVICE']._serialized_start=
|
|
181
|
-
_globals['_DEVICESERVICE']._serialized_end=
|
|
145
|
+
_globals['_GETRANDOMDEVADDRREQUEST']._serialized_end=3021
|
|
146
|
+
_globals['_GETRANDOMDEVADDRRESPONSE']._serialized_start=3023
|
|
147
|
+
_globals['_GETRANDOMDEVADDRRESPONSE']._serialized_end=3067
|
|
148
|
+
_globals['_GETDEVICEMETRICSREQUEST']._serialized_start=3070
|
|
149
|
+
_globals['_GETDEVICEMETRICSREQUEST']._serialized_end=3238
|
|
150
|
+
_globals['_GETDEVICEMETRICSRESPONSE']._serialized_start=3241
|
|
151
|
+
_globals['_GETDEVICEMETRICSRESPONSE']._serialized_end=3516
|
|
152
|
+
_globals['_GETDEVICEMETRICSRESPONSE_METRICSENTRY']._serialized_start=3389
|
|
153
|
+
_globals['_GETDEVICEMETRICSRESPONSE_METRICSENTRY']._serialized_end=3451
|
|
154
|
+
_globals['_GETDEVICEMETRICSRESPONSE_STATESENTRY']._serialized_start=3453
|
|
155
|
+
_globals['_GETDEVICEMETRICSRESPONSE_STATESENTRY']._serialized_end=3516
|
|
156
|
+
_globals['_DEVICESTATE']._serialized_start=3518
|
|
157
|
+
_globals['_DEVICESTATE']._serialized_end=3560
|
|
158
|
+
_globals['_GETDEVICELINKMETRICSREQUEST']._serialized_start=3563
|
|
159
|
+
_globals['_GETDEVICELINKMETRICSREQUEST']._serialized_end=3735
|
|
160
|
+
_globals['_GETDEVICELINKMETRICSRESPONSE']._serialized_start=3738
|
|
161
|
+
_globals['_GETDEVICELINKMETRICSRESPONSE']._serialized_end=3989
|
|
162
|
+
_globals['_DEVICEQUEUEITEM']._serialized_start=3992
|
|
163
|
+
_globals['_DEVICEQUEUEITEM']._serialized_end=4238
|
|
164
|
+
_globals['_ENQUEUEDEVICEQUEUEITEMREQUEST']._serialized_start=4240
|
|
165
|
+
_globals['_ENQUEUEDEVICEQUEUEITEMREQUEST']._serialized_end=4334
|
|
166
|
+
_globals['_ENQUEUEDEVICEQUEUEITEMRESPONSE']._serialized_start=4336
|
|
167
|
+
_globals['_ENQUEUEDEVICEQUEUEITEMRESPONSE']._serialized_end=4380
|
|
168
|
+
_globals['_FLUSHDEVICEQUEUEREQUEST']._serialized_start=4382
|
|
169
|
+
_globals['_FLUSHDEVICEQUEUEREQUEST']._serialized_end=4424
|
|
170
|
+
_globals['_GETDEVICEQUEUEITEMSREQUEST']._serialized_start=4426
|
|
171
|
+
_globals['_GETDEVICEQUEUEITEMSREQUEST']._serialized_end=4491
|
|
172
|
+
_globals['_GETDEVICEQUEUEITEMSRESPONSE']._serialized_start=4493
|
|
173
|
+
_globals['_GETDEVICEQUEUEITEMSRESPONSE']._serialized_end=4581
|
|
174
|
+
_globals['_FLUSHDEVNONCESREQUEST']._serialized_start=4583
|
|
175
|
+
_globals['_FLUSHDEVNONCESREQUEST']._serialized_end=4623
|
|
176
|
+
_globals['_GETDEVICENEXTFCNTDOWNREQUEST']._serialized_start=4625
|
|
177
|
+
_globals['_GETDEVICENEXTFCNTDOWNREQUEST']._serialized_end=4672
|
|
178
|
+
_globals['_GETDEVICENEXTFCNTDOWNRESPONSE']._serialized_start=4674
|
|
179
|
+
_globals['_GETDEVICENEXTFCNTDOWNRESPONSE']._serialized_end=4725
|
|
180
|
+
_globals['_DEVICESERVICE']._serialized_start=4728
|
|
181
|
+
_globals['_DEVICESERVICE']._serialized_end=7002
|
|
182
182
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -2,9 +2,9 @@ import datetime
|
|
|
2
2
|
|
|
3
3
|
from chirpstack_api.common import common_pb2 as _common_pb2
|
|
4
4
|
from google.api import annotations_pb2 as _annotations_pb2
|
|
5
|
-
from google.protobuf import timestamp_pb2 as _timestamp_pb2
|
|
6
|
-
from google.protobuf import struct_pb2 as _struct_pb2
|
|
7
5
|
from google.protobuf import empty_pb2 as _empty_pb2
|
|
6
|
+
from google.protobuf import struct_pb2 as _struct_pb2
|
|
7
|
+
from google.protobuf import timestamp_pb2 as _timestamp_pb2
|
|
8
8
|
from google.protobuf.internal import containers as _containers
|
|
9
9
|
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
10
10
|
from google.protobuf import descriptor as _descriptor
|
|
@@ -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")
|
|
@@ -275,10 +275,12 @@ class GetDeviceActivationResponse(_message.Message):
|
|
|
275
275
|
def __init__(self, device_activation: _Optional[_Union[DeviceActivation, _Mapping]] = ..., join_server_context: _Optional[_Union[_common_pb2.JoinServerContext, _Mapping]] = ...) -> None: ...
|
|
276
276
|
|
|
277
277
|
class GetRandomDevAddrRequest(_message.Message):
|
|
278
|
-
__slots__ = ("dev_eui",)
|
|
278
|
+
__slots__ = ("dev_eui", "tenant_id")
|
|
279
279
|
DEV_EUI_FIELD_NUMBER: _ClassVar[int]
|
|
280
|
+
TENANT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
280
281
|
dev_eui: str
|
|
281
|
-
|
|
282
|
+
tenant_id: str
|
|
283
|
+
def __init__(self, dev_eui: _Optional[str] = ..., tenant_id: _Optional[str] = ...) -> None: ...
|
|
282
284
|
|
|
283
285
|
class GetRandomDevAddrResponse(_message.Message):
|
|
284
286
|
__slots__ = ("dev_addr",)
|
|
@@ -378,7 +380,7 @@ class DeviceQueueItem(_message.Message):
|
|
|
378
380
|
f_cnt_down: int
|
|
379
381
|
is_encrypted: bool
|
|
380
382
|
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: ...
|
|
383
|
+
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
384
|
|
|
383
385
|
class EnqueueDeviceQueueItemRequest(_message.Message):
|
|
384
386
|
__slots__ = ("queue_item", "flush_queue")
|
|
@@ -386,7 +388,7 @@ class EnqueueDeviceQueueItemRequest(_message.Message):
|
|
|
386
388
|
FLUSH_QUEUE_FIELD_NUMBER: _ClassVar[int]
|
|
387
389
|
queue_item: DeviceQueueItem
|
|
388
390
|
flush_queue: bool
|
|
389
|
-
def __init__(self, queue_item: _Optional[_Union[DeviceQueueItem, _Mapping]] = ..., flush_queue: bool = ...) -> None: ...
|
|
391
|
+
def __init__(self, queue_item: _Optional[_Union[DeviceQueueItem, _Mapping]] = ..., flush_queue: _Optional[bool] = ...) -> None: ...
|
|
390
392
|
|
|
391
393
|
class EnqueueDeviceQueueItemResponse(_message.Message):
|
|
392
394
|
__slots__ = ("id",)
|
|
@@ -406,7 +408,7 @@ class GetDeviceQueueItemsRequest(_message.Message):
|
|
|
406
408
|
COUNT_ONLY_FIELD_NUMBER: _ClassVar[int]
|
|
407
409
|
dev_eui: str
|
|
408
410
|
count_only: bool
|
|
409
|
-
def __init__(self, dev_eui: _Optional[str] = ..., count_only: bool = ...) -> None: ...
|
|
411
|
+
def __init__(self, dev_eui: _Optional[str] = ..., count_only: _Optional[bool] = ...) -> None: ...
|
|
410
412
|
|
|
411
413
|
class GetDeviceQueueItemsResponse(_message.Message):
|
|
412
414
|
__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.84.0'
|
|
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.1
|
|
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
|
+
1,
|
|
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")
|