mirror of
https://github.com/chirpstack/chirpstack.git
synced 2025-02-21 17:26:37 +00:00
Revert "LoRa Cloud: use default if value is not present."
This reverts commit 1867140272ce0625a3598ee3082b383171005702.
This commit is contained in:
parent
1867140272
commit
2abc85afa6
@ -386,17 +386,13 @@ pub struct LocationResult {
|
||||
|
||||
#[derive(Deserialize, Clone)]
|
||||
pub struct LocationSolverResult {
|
||||
#[serde(default)]
|
||||
pub ecef: Vec<f64>,
|
||||
#[serde(default)]
|
||||
pub llh: Vec<f64>,
|
||||
#[serde(default)]
|
||||
pub gdop: f64,
|
||||
#[serde(default)]
|
||||
pub accuracy: f64,
|
||||
#[serde(default, rename = "capture_time_gps")]
|
||||
#[serde(rename = "capture_time_gps")]
|
||||
pub capture_time_gps: f64,
|
||||
#[serde(default, rename = "capture_time_utc")]
|
||||
#[serde(rename = "capture_time_utc")]
|
||||
pub capture_time_utc: f64,
|
||||
}
|
||||
|
||||
|
@ -192,9 +192,6 @@ impl Integration {
|
||||
return Err(anyhow!("{}", resp.error));
|
||||
}
|
||||
|
||||
self.handle_response_integration_event(vars, pl, &resp.result)
|
||||
.await?;
|
||||
|
||||
if self.config.modem_geolocation_services.parse_tlv && resp.result.stream_records.is_some()
|
||||
{
|
||||
self.handle_response_tlv_records(
|
||||
@ -205,6 +202,9 @@ impl Integration {
|
||||
.await?;
|
||||
}
|
||||
|
||||
self.handle_response_integration_event(vars, pl, &resp.result)
|
||||
.await?;
|
||||
|
||||
if let Some(v) = &resp.result.downlink {
|
||||
self.handle_response_downlink(pl, v).await?;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user