(&self)
| 675 | } |
| 676 | |
| 677 | fn _something_to_send(&self) -> bool { |
| 678 | // No device-queue item to send, no mac-commands to send, no ACK to send |
| 679 | // in reply to a confirmed-uplink and no requirement to send an empty downlink |
| 680 | // (e.g. in case of ADRACKReq). |
| 681 | if self.device_queue_item.is_none() |
| 682 | && self.mac_commands.is_empty() |
| 683 | && !self.must_ack |
| 684 | && !self.must_send |
| 685 | { |
| 686 | return false; |
| 687 | } |
| 688 | |
| 689 | true |
| 690 | } |
| 691 | |
| 692 | fn _must_respond_to_relay(&self) -> bool { |
| 693 | let relay_ctx = self.relay_context.as_ref().unwrap(); |
no outgoing calls
no test coverage detected