(ufs: UplinkFrameSet, mac_pl: lrwn::MACPayload)
| 34 | } |
| 35 | |
| 36 | async fn _handle(ufs: UplinkFrameSet, mac_pl: lrwn::MACPayload) -> Result<()> { |
| 37 | let mut ctx = Data { |
| 38 | uplink_frame_set: ufs, |
| 39 | mac_payload: mac_pl, |
| 40 | pr_device_sessions: Vec::new(), |
| 41 | }; |
| 42 | |
| 43 | ctx.filter_rx_info_by_public_only()?; |
| 44 | ctx.get_pr_device_sessions().await?; |
| 45 | ctx.start_pr_sessions().await?; |
| 46 | ctx.forward_uplink_for_sessions().await?; |
| 47 | ctx.save_pr_device_sessions().await?; |
| 48 | |
| 49 | Ok(()) |
| 50 | } |
| 51 | |
| 52 | fn filter_rx_info_by_public_only(&mut self) -> Result<()> { |
| 53 | trace!("Filtering rx_info by public gateways only"); |
nothing calls this directly
no test coverage detected