MCPcopy Create free account
hub / github.com/chirpstack/chirpstack / _something_to_send

Method _something_to_send

chirpstack/src/downlink/data.rs:677–690  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

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();

Callers 3

_handle_responseMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected