(gateway_id: EUI64, s: gw::GatewayStats)
| 56 | } |
| 57 | |
| 58 | async fn _handle(gateway_id: EUI64, s: gw::GatewayStats) -> Result<()> { |
| 59 | let mut ctx = Stats { |
| 60 | gateway_id, |
| 61 | stats: s, |
| 62 | gateway: None, |
| 63 | }; |
| 64 | |
| 65 | ctx.update_gateway_state().await?; |
| 66 | ctx.save_stats().await?; |
| 67 | ctx.save_duty_cycle_stats().await?; |
| 68 | ctx.update_gateway_configuration().await?; |
| 69 | |
| 70 | Ok(()) |
| 71 | } |
| 72 | |
| 73 | async fn update_gateway_state(&mut self) -> Result<()> { |
| 74 | trace!("Update gateway state"); |
nothing calls this directly
no test coverage detected