Closed chabe-bit closed 1 year ago
Radio's have been misconfigured for all versions of loom when properly configured it appears that all packets are transmit successfully
Bw125Cr45Sf128 = 0, ///< Bw = 125 kHz, Cr = 4/5, Sf = 128chips/symbol, CRC on. Default medium range
Describe the bug The node is failing to send a packet, but the hub is stating the packet's been received and prints out the packet.
Hardware in Use Dendrometer's Node = Feather M0 LoRa + Antenna Dendrometer's Hub = Feather M0 LoRa + Antenna
To Reproduce Steps to reproduce the behavior:
Expected behavior If a packet fails to send, it should not be received and appear on the other end.
Code
Output ------------------- Hub ------------------ 17:21:15.649 -> [Manager] Data Json: 17:21:15.649 -> "contents": [ 17:21:15.649 -> { 17:21:15.649 -> "module": "Packet", 17:21:15.649 -> "data": { 17:21:15.649 -> "Number": 12 17:21:15.649 -> } 17:21:15.649 -> }, 17:21:23.226 -> [LoRa] Failed to send packet to specified address! The message may have gotten their but not received and acknowledgement response
---------------- Node ------------------ 17:21:13.030 -> [LoRa] Waiting for packet... 17:21:17.568 -> [LoRa] Packet Received! 17:21:17.568 -> [LoRa] 17:21:17.568 -> Message Received: 17:21:17.568 -> "contents": [ 17:21:17.568 -> { 17:21:17.568 -> "module": "Packet", 17:21:17.568 -> "data": { 17:21:17.568 -> "Number": 12 17:21:17.568 -> } 17:21:17.568 -> },
Additional context Plausible faults could be the sleep cycle or recvFromAckTimeout is throwing false because we're receiving duplicated correct packets. https://www.airspayce.com/mikem/arduino/RadioHead/classRHReliableDatagram.html#ac72c7495936b6f655a5765faac609342