mirror of
https://github.com/chirpstack/chirpstack.git
synced 2024-12-21 22:17:51 +00:00
Use rf_region_encode module for rf_region in ULMetaData.
This commit is contained in:
parent
75f67f8c5c
commit
46bc4d6038
@ -942,7 +942,12 @@ pub struct ULMetaData {
|
||||
pub f_ns_ul_token: Vec<u8>,
|
||||
#[serde(rename = "RecvTime")]
|
||||
pub recv_time: DateTime<Utc>,
|
||||
#[serde(default, rename = "RFRegion", skip_serializing_if = "String::is_empty")]
|
||||
#[serde(
|
||||
default,
|
||||
rename = "RFRegion",
|
||||
with = "rf_region_encode",
|
||||
skip_serializing_if = "String::is_empty"
|
||||
)]
|
||||
pub rf_region: String,
|
||||
#[serde(rename = "GWCnt")]
|
||||
pub gw_cnt: Option<usize>,
|
||||
|
Loading…
Reference in New Issue
Block a user