mirror of
https://github.com/chirpstack/chirpstack.git
synced 2025-06-12 20:48:09 +00:00
Make using gateway location optional (LoRa Cloud).
This commit is contained in:
@ -499,7 +499,7 @@ message ListIntegrationsResponse {
|
||||
}
|
||||
|
||||
message HttpIntegration {
|
||||
// Application ID (UUIO).
|
||||
// Application ID (UUID).
|
||||
string application_id = 1;
|
||||
|
||||
// HTTP headers to set when making requests.
|
||||
@ -521,7 +521,7 @@ message CreateHttpIntegrationRequest {
|
||||
}
|
||||
|
||||
message GetHttpIntegrationRequest {
|
||||
// Application ID (UUIO).
|
||||
// Application ID (UUID).
|
||||
string application_id = 1;
|
||||
}
|
||||
|
||||
@ -536,7 +536,7 @@ message UpdateHttpIntegrationRequest {
|
||||
}
|
||||
|
||||
message DeleteHttpIntegrationRequest {
|
||||
// Application ID (UUIO).
|
||||
// Application ID (UUID).
|
||||
string application_id = 1;
|
||||
}
|
||||
|
||||
@ -555,7 +555,7 @@ enum InfluxDbVersion {
|
||||
}
|
||||
|
||||
message InfluxDbIntegration {
|
||||
// Application ID (UUIO).
|
||||
// Application ID (UUID).
|
||||
string application_id = 1;
|
||||
|
||||
// InfluxDb API write endpoint (e.g. http://localhost:8086/write).
|
||||
@ -595,7 +595,7 @@ message CreateInfluxDbIntegrationRequest {
|
||||
}
|
||||
|
||||
message GetInfluxDbIntegrationRequest {
|
||||
// Application ID (UUIO).
|
||||
// Application ID (UUID).
|
||||
string application_id = 1;
|
||||
}
|
||||
|
||||
@ -610,12 +610,12 @@ message UpdateInfluxDbIntegrationRequest {
|
||||
}
|
||||
|
||||
message DeleteInfluxDbIntegrationRequest {
|
||||
// Application ID (UUIO).
|
||||
// Application ID (UUID).
|
||||
string application_id = 1;
|
||||
}
|
||||
|
||||
message ThingsBoardIntegration {
|
||||
// Application ID (UUIO).
|
||||
// Application ID (UUID).
|
||||
string application_id = 1;
|
||||
|
||||
// ThingsBoard server endpoint, e.g. https://example.com
|
||||
@ -628,7 +628,7 @@ message CreateThingsBoardIntegrationRequest {
|
||||
}
|
||||
|
||||
message GetThingsBoardIntegrationRequest {
|
||||
// Application ID (UUIO).
|
||||
// Application ID (UUID).
|
||||
string application_id = 1;
|
||||
}
|
||||
|
||||
@ -643,12 +643,12 @@ message UpdateThingsBoardIntegrationRequest {
|
||||
}
|
||||
|
||||
message DeleteThingsBoardIntegrationRequest {
|
||||
// Application ID (UUIO).
|
||||
// Application ID (UUID).
|
||||
string application_id = 1;
|
||||
}
|
||||
|
||||
message MyDevicesIntegration {
|
||||
// Application ID (UUIO).
|
||||
// Application ID (UUID).
|
||||
string application_id = 1;
|
||||
|
||||
// myDevices API endpoint.
|
||||
@ -661,7 +661,7 @@ message CreateMyDevicesIntegrationRequest {
|
||||
}
|
||||
|
||||
message GetMyDevicesIntegrationRequest {
|
||||
// Application ID (UUIO).
|
||||
// Application ID (UUID).
|
||||
string application_id = 1;
|
||||
}
|
||||
|
||||
@ -676,7 +676,7 @@ message UpdateMyDevicesIntegrationRequest {
|
||||
}
|
||||
|
||||
message DeleteMyDevicesIntegrationRequest {
|
||||
// Application ID (UUIO).
|
||||
// Application ID (UUID).
|
||||
string application_id = 1;
|
||||
}
|
||||
|
||||
@ -704,6 +704,14 @@ message LoraCloudModemGeolocationServices {
|
||||
// network instead of the timestamp included in the LR1110 payload.
|
||||
bool gnss_use_rx_time = 5;
|
||||
|
||||
// Use gateway location for GNSS resolving.
|
||||
// In the case this is set to true, ChirpStack will provide the location of
|
||||
// one of the gateways to the MGS resolver to aid the resolving process.
|
||||
// Disable this in case the gateway location is not accurate / incorrectly
|
||||
// configured as an incorrect location will cause the resolver to return an
|
||||
// error.
|
||||
bool gnss_use_gateway_location = 17;
|
||||
|
||||
// Parse TLV records.
|
||||
// If enabled, stream records (expected in TLV format) are scanned for GNSS
|
||||
// data (0x06 or 0x07). If found, ChirpStack will make an additional
|
||||
|
172
api/python/src/chirpstack_api/api/application_pb2.py
vendored
172
api/python/src/chirpstack_api/api/application_pb2.py
vendored
File diff suppressed because one or more lines are too long
@ -496,7 +496,7 @@ class LoraCloudIntegration(_message.Message):
|
||||
def __init__(self, application_id: _Optional[str] = ..., modem_geolocation_services: _Optional[_Union[LoraCloudModemGeolocationServices, _Mapping]] = ...) -> None: ...
|
||||
|
||||
class LoraCloudModemGeolocationServices(_message.Message):
|
||||
__slots__ = ["forward_f_ports", "geolocation_buffer_ttl", "geolocation_gnss", "geolocation_gnss_payload_field", "geolocation_gnss_use_rx_time", "geolocation_min_buffer_size", "geolocation_rssi", "geolocation_tdoa", "geolocation_wifi", "geolocation_wifi_payload_field", "gnss_use_rx_time", "modem_enabled", "parse_tlv", "token"]
|
||||
__slots__ = ["forward_f_ports", "geolocation_buffer_ttl", "geolocation_gnss", "geolocation_gnss_payload_field", "geolocation_gnss_use_rx_time", "geolocation_min_buffer_size", "geolocation_rssi", "geolocation_tdoa", "geolocation_wifi", "geolocation_wifi_payload_field", "gnss_use_gateway_location", "gnss_use_rx_time", "modem_enabled", "parse_tlv", "token"]
|
||||
FORWARD_F_PORTS_FIELD_NUMBER: _ClassVar[int]
|
||||
GEOLOCATION_BUFFER_TTL_FIELD_NUMBER: _ClassVar[int]
|
||||
GEOLOCATION_GNSS_FIELD_NUMBER: _ClassVar[int]
|
||||
@ -507,6 +507,7 @@ class LoraCloudModemGeolocationServices(_message.Message):
|
||||
GEOLOCATION_TDOA_FIELD_NUMBER: _ClassVar[int]
|
||||
GEOLOCATION_WIFI_FIELD_NUMBER: _ClassVar[int]
|
||||
GEOLOCATION_WIFI_PAYLOAD_FIELD_FIELD_NUMBER: _ClassVar[int]
|
||||
GNSS_USE_GATEWAY_LOCATION_FIELD_NUMBER: _ClassVar[int]
|
||||
GNSS_USE_RX_TIME_FIELD_NUMBER: _ClassVar[int]
|
||||
MODEM_ENABLED_FIELD_NUMBER: _ClassVar[int]
|
||||
PARSE_TLV_FIELD_NUMBER: _ClassVar[int]
|
||||
@ -521,11 +522,12 @@ class LoraCloudModemGeolocationServices(_message.Message):
|
||||
geolocation_tdoa: bool
|
||||
geolocation_wifi: bool
|
||||
geolocation_wifi_payload_field: str
|
||||
gnss_use_gateway_location: bool
|
||||
gnss_use_rx_time: bool
|
||||
modem_enabled: bool
|
||||
parse_tlv: bool
|
||||
token: str
|
||||
def __init__(self, token: _Optional[str] = ..., modem_enabled: bool = ..., forward_f_ports: _Optional[_Iterable[int]] = ..., gnss_use_rx_time: bool = ..., parse_tlv: bool = ..., geolocation_buffer_ttl: _Optional[int] = ..., geolocation_min_buffer_size: _Optional[int] = ..., geolocation_tdoa: bool = ..., geolocation_rssi: bool = ..., geolocation_gnss: bool = ..., geolocation_gnss_payload_field: _Optional[str] = ..., geolocation_gnss_use_rx_time: bool = ..., geolocation_wifi: bool = ..., geolocation_wifi_payload_field: _Optional[str] = ...) -> None: ...
|
||||
def __init__(self, token: _Optional[str] = ..., modem_enabled: bool = ..., forward_f_ports: _Optional[_Iterable[int]] = ..., gnss_use_rx_time: bool = ..., gnss_use_gateway_location: bool = ..., parse_tlv: bool = ..., geolocation_buffer_ttl: _Optional[int] = ..., geolocation_min_buffer_size: _Optional[int] = ..., geolocation_tdoa: bool = ..., geolocation_rssi: bool = ..., geolocation_gnss: bool = ..., geolocation_gnss_payload_field: _Optional[str] = ..., geolocation_gnss_use_rx_time: bool = ..., geolocation_wifi: bool = ..., geolocation_wifi_payload_field: _Optional[str] = ...) -> None: ...
|
||||
|
||||
class MyDevicesIntegration(_message.Message):
|
||||
__slots__ = ["application_id", "endpoint"]
|
||||
|
Reference in New Issue
Block a user