mirror of
https://github.com/chirpstack/chirpstack.git
synced 2024-12-21 06:03:11 +00:00
Update tests to power in EIRP (16 & 29).
This commit is contained in:
parent
5e63c5efe0
commit
81d37a1d6c
@ -1438,7 +1438,7 @@ async fn test_lorawan_10_uplink() {
|
||||
tx_info_legacy: None,
|
||||
tx_info: Some(gw::DownlinkTxInfo {
|
||||
frequency: 868100000,
|
||||
power: 14,
|
||||
power: 16,
|
||||
modulation: Some(gw::Modulation {
|
||||
parameters: Some(gw::modulation::Parameters::Lora(
|
||||
gw::LoraModulationInfo {
|
||||
@ -1465,7 +1465,7 @@ async fn test_lorawan_10_uplink() {
|
||||
tx_info_legacy: None,
|
||||
tx_info: Some(gw::DownlinkTxInfo {
|
||||
frequency: 869525000,
|
||||
power: 27,
|
||||
power: 29,
|
||||
modulation: Some(gw::Modulation {
|
||||
parameters: Some(gw::modulation::Parameters::Lora(
|
||||
gw::LoraModulationInfo {
|
||||
@ -1548,7 +1548,7 @@ async fn test_lorawan_10_uplink() {
|
||||
tx_info_legacy: None,
|
||||
tx_info: Some(gw::DownlinkTxInfo {
|
||||
frequency: 868100000,
|
||||
power: 14,
|
||||
power: 16,
|
||||
modulation: Some(gw::Modulation {
|
||||
parameters: Some(gw::modulation::Parameters::Lora(
|
||||
gw::LoraModulationInfo {
|
||||
@ -1575,7 +1575,7 @@ async fn test_lorawan_10_uplink() {
|
||||
tx_info_legacy: None,
|
||||
tx_info: Some(gw::DownlinkTxInfo {
|
||||
frequency: 869525000,
|
||||
power: 27,
|
||||
power: 29,
|
||||
modulation: Some(gw::Modulation {
|
||||
parameters: Some(gw::modulation::Parameters::Lora(
|
||||
gw::LoraModulationInfo {
|
||||
@ -2372,7 +2372,7 @@ async fn test_lorawan_10_rx_delay() {
|
||||
tx_info_legacy: None,
|
||||
tx_info: Some(gw::DownlinkTxInfo {
|
||||
frequency: 868100000,
|
||||
power: 14,
|
||||
power: 16,
|
||||
modulation: Some(gw::Modulation {
|
||||
parameters: Some(gw::modulation::Parameters::Lora(
|
||||
gw::LoraModulationInfo {
|
||||
@ -2399,7 +2399,7 @@ async fn test_lorawan_10_rx_delay() {
|
||||
tx_info_legacy: None,
|
||||
tx_info: Some(gw::DownlinkTxInfo {
|
||||
frequency: 869525000,
|
||||
power: 27,
|
||||
power: 29,
|
||||
modulation: Some(gw::Modulation {
|
||||
parameters: Some(gw::modulation::Parameters::Lora(
|
||||
gw::LoraModulationInfo {
|
||||
@ -5192,7 +5192,7 @@ async fn test_lorawan_11_receive_window_selection() {
|
||||
tx_info_legacy: None,
|
||||
tx_info: Some(gw::DownlinkTxInfo {
|
||||
frequency: 868100000,
|
||||
power: 14,
|
||||
power: 16,
|
||||
modulation: Some(gw::Modulation {
|
||||
parameters: Some(gw::modulation::Parameters::Lora(
|
||||
gw::LoraModulationInfo {
|
||||
@ -5261,7 +5261,7 @@ async fn test_lorawan_11_receive_window_selection() {
|
||||
tx_info_legacy: None,
|
||||
tx_info: Some(gw::DownlinkTxInfo {
|
||||
frequency: 869525000,
|
||||
power: 27,
|
||||
power: 29,
|
||||
modulation: Some(gw::Modulation {
|
||||
parameters: Some(gw::modulation::Parameters::Lora(
|
||||
gw::LoraModulationInfo {
|
||||
@ -5331,7 +5331,7 @@ async fn test_lorawan_11_receive_window_selection() {
|
||||
tx_info_legacy: None,
|
||||
tx_info: Some(gw::DownlinkTxInfo {
|
||||
frequency: 868100000,
|
||||
power: 14,
|
||||
power: 16,
|
||||
modulation: Some(gw::Modulation {
|
||||
parameters: Some(gw::modulation::Parameters::Lora(
|
||||
gw::LoraModulationInfo {
|
||||
@ -5358,7 +5358,7 @@ async fn test_lorawan_11_receive_window_selection() {
|
||||
tx_info_legacy: None,
|
||||
tx_info: Some(gw::DownlinkTxInfo {
|
||||
frequency: 869525000,
|
||||
power: 27,
|
||||
power: 29,
|
||||
modulation: Some(gw::Modulation {
|
||||
parameters: Some(gw::modulation::Parameters::Lora(
|
||||
gw::LoraModulationInfo {
|
||||
@ -5438,7 +5438,7 @@ async fn test_lorawan_11_receive_window_selection() {
|
||||
tx_info_legacy: None,
|
||||
tx_info: Some(gw::DownlinkTxInfo {
|
||||
frequency: 868100000,
|
||||
power: 14,
|
||||
power: 16,
|
||||
modulation: Some(gw::Modulation {
|
||||
parameters: Some(gw::modulation::Parameters::Lora(
|
||||
gw::LoraModulationInfo {
|
||||
@ -5465,7 +5465,7 @@ async fn test_lorawan_11_receive_window_selection() {
|
||||
tx_info_legacy: None,
|
||||
tx_info: Some(gw::DownlinkTxInfo {
|
||||
frequency: 869525000,
|
||||
power: 27,
|
||||
power: 29,
|
||||
modulation: Some(gw::Modulation {
|
||||
parameters: Some(gw::modulation::Parameters::Lora(
|
||||
gw::LoraModulationInfo {
|
||||
|
@ -310,7 +310,7 @@ async fn test_downlink_scheduler() {
|
||||
tx_info_legacy: None,
|
||||
tx_info: Some(gw::DownlinkTxInfo {
|
||||
frequency: 868300000,
|
||||
power: 14,
|
||||
power: 16,
|
||||
modulation: Some(gw::Modulation {
|
||||
parameters: Some(gw::modulation::Parameters::Lora(
|
||||
gw::LoraModulationInfo {
|
||||
@ -392,7 +392,7 @@ async fn test_downlink_scheduler() {
|
||||
tx_info_legacy: None,
|
||||
tx_info: Some(gw::DownlinkTxInfo {
|
||||
frequency: 868300000,
|
||||
power: 14,
|
||||
power: 16,
|
||||
modulation: Some(gw::Modulation {
|
||||
parameters: Some(gw::modulation::Parameters::Lora(
|
||||
gw::LoraModulationInfo {
|
||||
|
@ -150,7 +150,7 @@ async fn test_downlink_scheduler() {
|
||||
tx_info_legacy: None,
|
||||
tx_info: Some(gw::DownlinkTxInfo {
|
||||
frequency: 869525000,
|
||||
power: 27,
|
||||
power: 29,
|
||||
modulation: Some(gw::Modulation {
|
||||
parameters: Some(gw::modulation::Parameters::Lora(
|
||||
gw::LoraModulationInfo {
|
||||
@ -219,7 +219,7 @@ async fn test_downlink_scheduler() {
|
||||
tx_info_legacy: None,
|
||||
tx_info: Some(gw::DownlinkTxInfo {
|
||||
frequency: 869525000,
|
||||
power: 27,
|
||||
power: 29,
|
||||
modulation: Some(gw::Modulation {
|
||||
parameters: Some(gw::modulation::Parameters::Lora(
|
||||
gw::LoraModulationInfo {
|
||||
|
@ -126,7 +126,7 @@ async fn test_multicast() {
|
||||
tx_info_legacy: None,
|
||||
tx_info: Some(gw::DownlinkTxInfo {
|
||||
frequency: 868300000,
|
||||
power: 14,
|
||||
power: 16,
|
||||
modulation: Some(gw::Modulation {
|
||||
parameters: Some(gw::modulation::Parameters::Lora(
|
||||
gw::LoraModulationInfo {
|
||||
@ -175,7 +175,7 @@ async fn test_multicast() {
|
||||
tx_info_legacy: None,
|
||||
tx_info: Some(gw::DownlinkTxInfo {
|
||||
frequency: 868300000,
|
||||
power: 14,
|
||||
power: 16,
|
||||
modulation: Some(gw::Modulation {
|
||||
parameters: Some(gw::modulation::Parameters::Lora(
|
||||
gw::LoraModulationInfo {
|
||||
|
@ -216,7 +216,7 @@ async fn test_fns() {
|
||||
phy_payload: vec![1, 2, 3, 4],
|
||||
tx_info: Some(gw::DownlinkTxInfo {
|
||||
frequency: 868100000,
|
||||
power: 14,
|
||||
power: 16,
|
||||
modulation: Some(gw::Modulation {
|
||||
parameters: Some(gw::modulation::Parameters::Lora(gw::LoraModulationInfo {
|
||||
bandwidth: 125000,
|
||||
|
@ -442,7 +442,7 @@ async fn test_lorawan_10() {
|
||||
tx_info_legacy: None,
|
||||
tx_info: Some(gw::DownlinkTxInfo {
|
||||
frequency: 868100000,
|
||||
power: 14,
|
||||
power: 16,
|
||||
modulation: Some(gw::Modulation {
|
||||
parameters: Some(gw::modulation::Parameters::Lora(
|
||||
gw::LoraModulationInfo {
|
||||
@ -469,7 +469,7 @@ async fn test_lorawan_10() {
|
||||
tx_info_legacy: None,
|
||||
tx_info: Some(gw::DownlinkTxInfo {
|
||||
frequency: 869525000,
|
||||
power: 27,
|
||||
power: 29,
|
||||
modulation: Some(gw::Modulation {
|
||||
parameters: Some(gw::modulation::Parameters::Lora(
|
||||
gw::LoraModulationInfo {
|
||||
@ -507,7 +507,7 @@ async fn test_lorawan_10() {
|
||||
tx_info_legacy: None,
|
||||
tx_info: Some(gw::DownlinkTxInfo {
|
||||
frequency: 868100000,
|
||||
power: 14,
|
||||
power: 16,
|
||||
modulation: Some(gw::Modulation {
|
||||
parameters: Some(gw::modulation::Parameters::Lora(
|
||||
gw::LoraModulationInfo {
|
||||
@ -534,7 +534,7 @@ async fn test_lorawan_10() {
|
||||
tx_info_legacy: None,
|
||||
tx_info: Some(gw::DownlinkTxInfo {
|
||||
frequency: 869525000,
|
||||
power: 27,
|
||||
power: 29,
|
||||
modulation: Some(gw::Modulation {
|
||||
parameters: Some(gw::modulation::Parameters::Lora(
|
||||
gw::LoraModulationInfo {
|
||||
@ -729,7 +729,7 @@ async fn test_lorawan_10() {
|
||||
tx_info_legacy: None,
|
||||
tx_info: Some(gw::DownlinkTxInfo {
|
||||
frequency: 868100000,
|
||||
power: 14,
|
||||
power: 16,
|
||||
modulation: Some(gw::Modulation {
|
||||
parameters: Some(gw::modulation::Parameters::Lora(
|
||||
gw::LoraModulationInfo {
|
||||
@ -756,7 +756,7 @@ async fn test_lorawan_10() {
|
||||
tx_info_legacy: None,
|
||||
tx_info: Some(gw::DownlinkTxInfo {
|
||||
frequency: 869525000,
|
||||
power: 27,
|
||||
power: 29,
|
||||
modulation: Some(gw::Modulation {
|
||||
parameters: Some(gw::modulation::Parameters::Lora(
|
||||
gw::LoraModulationInfo {
|
||||
@ -1062,7 +1062,7 @@ async fn test_lorawan_11() {
|
||||
tx_info_legacy: None,
|
||||
tx_info: Some(gw::DownlinkTxInfo {
|
||||
frequency: 868100000,
|
||||
power: 14,
|
||||
power: 16,
|
||||
modulation: Some(gw::Modulation {
|
||||
parameters: Some(gw::modulation::Parameters::Lora(
|
||||
gw::LoraModulationInfo {
|
||||
@ -1089,7 +1089,7 @@ async fn test_lorawan_11() {
|
||||
tx_info_legacy: None,
|
||||
tx_info: Some(gw::DownlinkTxInfo {
|
||||
frequency: 869525000,
|
||||
power: 27,
|
||||
power: 29,
|
||||
modulation: Some(gw::Modulation {
|
||||
parameters: Some(gw::modulation::Parameters::Lora(
|
||||
gw::LoraModulationInfo {
|
||||
@ -1128,7 +1128,7 @@ async fn test_lorawan_11() {
|
||||
tx_info_legacy: None,
|
||||
tx_info: Some(gw::DownlinkTxInfo {
|
||||
frequency: 868100000,
|
||||
power: 14,
|
||||
power: 16,
|
||||
modulation: Some(gw::Modulation {
|
||||
parameters: Some(gw::modulation::Parameters::Lora(
|
||||
gw::LoraModulationInfo {
|
||||
@ -1155,7 +1155,7 @@ async fn test_lorawan_11() {
|
||||
tx_info_legacy: None,
|
||||
tx_info: Some(gw::DownlinkTxInfo {
|
||||
frequency: 869525000,
|
||||
power: 27,
|
||||
power: 29,
|
||||
modulation: Some(gw::Modulation {
|
||||
parameters: Some(gw::modulation::Parameters::Lora(
|
||||
gw::LoraModulationInfo {
|
||||
|
@ -499,7 +499,7 @@ async fn test_lorawan_10() {
|
||||
phy_payload: phy_relay_unconfirmed_down_ack.to_vec().unwrap(),
|
||||
tx_info: Some(gw::DownlinkTxInfo {
|
||||
frequency: 868100000,
|
||||
power: 14,
|
||||
power: 16,
|
||||
modulation: Some(gw::Modulation {
|
||||
parameters: Some(gw::modulation::Parameters::Lora(
|
||||
gw::LoraModulationInfo {
|
||||
@ -526,7 +526,7 @@ async fn test_lorawan_10() {
|
||||
phy_payload: phy_relay_unconfirmed_down_ack.to_vec().unwrap(),
|
||||
tx_info: Some(gw::DownlinkTxInfo {
|
||||
frequency: 869525000,
|
||||
power: 27,
|
||||
power: 29,
|
||||
modulation: Some(gw::Modulation {
|
||||
parameters: Some(gw::modulation::Parameters::Lora(
|
||||
gw::LoraModulationInfo {
|
||||
|
@ -302,7 +302,7 @@ async fn test_lorawan_10() {
|
||||
tx_info_legacy: None,
|
||||
tx_info: Some(gw::DownlinkTxInfo {
|
||||
frequency: 868100000,
|
||||
power: 14,
|
||||
power: 16,
|
||||
modulation: Some(gw::Modulation {
|
||||
parameters: Some(gw::modulation::Parameters::Lora(
|
||||
gw::LoraModulationInfo {
|
||||
@ -327,7 +327,7 @@ async fn test_lorawan_10() {
|
||||
tx_info_legacy: None,
|
||||
tx_info: Some(gw::DownlinkTxInfo {
|
||||
frequency: 869525000,
|
||||
power: 27,
|
||||
power: 29,
|
||||
modulation: Some(gw::Modulation {
|
||||
parameters: Some(gw::modulation::Parameters::Lora(
|
||||
gw::LoraModulationInfo {
|
||||
|
Loading…
Reference in New Issue
Block a user