timmbogner / Farm-Data-Relay-System

A system that uses ESP-NOW, LoRa, and other protocols to transport sensor data in remote areas without relying on WiFi.
MIT License
525 stars 116 forks source link

enhancement: Add LoRa Tx Power setting #66

Closed aviateur17 closed 2 years ago

aviateur17 commented 2 years ago

Would be nice to be able to set LoRa TX power. 17dB is default. Range is between 0 and 20 dB. Less power means less battery used.

LoRa.setTxPower();

Low priority.

timmbogner commented 2 years ago

Agreed, btw. Forgot to respond when I saw this.

Tx power and any other LoRa options I may have overlooked. That'll be a quick one I'll do one of these days.

timmbogner commented 2 years ago

I said I was going to do this, but have busied myself with other things now. If you want to take care of these changes you're welcomed to. 👍

aviateur17 commented 2 years ago

Will do. Should be an easy one. I'm working on the sensor READING_ID issue first and then will work on this one.

Wondering if the SystemPacket communication from the gateway to the sensors is the next big feature to work on. I see you have started that with the ping.

aviateur17 commented 2 years ago

Submitted PR so closing this discussion.