Wessel Nieboer
8bf63256b6
Fix remote LNA toggle bugs: correct register comparison, add missing implementations, wire up companion radio
getRxBoostedGain was returned true because both 0x94 (power saving) and
0x96 (boosted gain = 1) return true
3 months ago
João Brázio
71136671bd
Implement remote lna toggle cli cmd
4 months ago
Wessel Nieboer
0b1fd580f1
Fix double claim, eliminate dead code at compile time
4 months ago
Wessel Nieboer
d0720c63c2
Allow negative tx power
Like SX1262 allows -9 dBm lowest, some allow lower but that probably
isn't useful
5 months ago
Quency-D
e15503d50d
Fix low power consumption issues
4 months ago
taco
a342ab8437
nrf52: allow repeater to sleep when idle
4 months ago
taco
31ba971c60
only store advblob when adding/updating contacts
4 months ago
taco
c7eea3915d
fix: remove esp_wifi.h from esp32board.h
saves ~500 bytes of dram and allows Tbeam to compile again
4 months ago
Max Litruv Boonzaayer
dd2a9044f3
Refactor display scaling definitions for HELTEC_VISION_MASTER_T190
4 months ago
João Brázio
edeafde51c
Fix: Correct validation logic in isValidName function
4 months ago
Piotr Małek
3845a1c021
Fix incorrect INA260 address in debug message
4 months ago
Scott Powell
5ff6e813bd
* Fix: RegionMap build fail on _max
4 months ago
Scott Powell
5627500988
* new "clkreboot" CLI command
4 months ago
Matthias Wientapper
0805a47f35
Add output of region cmd via lora cli
Add cli commands "region list {allowed|denied}"
4 months ago
liamcottle
7e24bd00b9
increase maximum flood advert interval to 168 hours (7 days)
4 months ago
liamcottle
ed589f9620
boot adverts are now zero hop instead of flood
4 months ago
Quency-D
c7ac16f0e3
Add v4-tft code.
4 months ago
Scott Powell
7ae164217c
* region names now don't need '#' prefix. (SHA still adds a '#' for back compat)
4 months ago
Chris
c16bcd2fe3
Expose a counter to track RadioLib receive errors
This change counts when readData returns an err code other than RADIOLIB_ERR_NONE. In most cases this is going to be a CRC error. This counter is exposed in the `stats-packets` command, and in the repeater stats payload (4 additional bytes to the payload, which is now 56 bytes with this change. My incompetent robot claims the total payload size is 96 bytes (unverified but probably close).
4 months ago
taco
96ef5e5efe
allow set prv.key from remote, validate new prv.key
4 months ago
taco
988287bfd7
recalc ClientACL shared_secrets at startup
4 months ago
taco
6336bd5b72
refactor ClientACL and CommonCLI, add ClientACL::clear()
4 months ago
entr0p1
1f59e52880
nRF52840 Power Management - Phase 1 - Boot Low VBAT Voltage Lockout
Added NRF52840 power management core functionality:
- Boot‑voltage lockout
- Initial support for shutdown/reset reason storage and capture (via RESETREAS/GPREGRET2)
- LPCOMP wake (for voltage-driven shutdowns)
- VBUS wake (for voltage-driven shutdowns)
- Per-board shutdown handler for board-specific tasks
- Exposed CLI queries for power‑management status in CommonCLI.cpp
- Added documentation in docs/nrf52_power_management.md.
- Enabled power management support in Xiao nRF52840, RAK4631, Heltec T114 boards
4 months ago
Scott Powell
3c27132914
* T1000e BLE - default node name is now the MAC address
4 months ago
Quency-D
fc61018d4d
Fix the issue of inconsistent I2C usage in the environmental sensor.
4 months ago
taco
c61fde9328
always send PUSH_CODE_NEW_ADVERT when advert was not added to contacts[]
5 months ago
taco
df6687034a
bootstrap RTC from contact.lastmod and improve slot overwrite logic
slot overwrite logic can now safely use contact.lastmod to find oldest contact for overwrite
5 months ago
taco
741564dd48
refactor: add populateContactFromAdvert()
5 months ago
taco
403ce1db08
contacts: granular autoadd and overwrite-oldest
5 months ago
Socalix
4575800e40
Turn on register 0x8B5 LSB for improved RX, turn off boosted gain
5 months ago
Scott Powell
b6110eee38
* new req/resp (after login): REQ_TYPE_GET_OWNER_INFO (includes firmware-ver)
* ANON_REQ_TYPE_OWNER, firmware-ver removed (security exploit)
* ANON_REQ_TYPE_BASIC, formware-ver removed, just remote clock + some 'feature' bits
* CTL_TYPE_NODE_DISCOVER_REQ now ingored if 'repeat off' has been set
5 months ago
Scott Powell
65796c8f20
* CommonCLI: added "set name ..." validation
* ANON_REQ_TYPE_VER_OWNER, now removes commas from node_name
5 months ago
Scott Powell
5475043083
* new ANON_REQ_TYPE_VER_OWNER
* CommonCLI: new "get/set owner.info ..."
5 months ago
Frieder Schrempf
4f46ec75dd
Remove NRF52BoardOTA class and integrate it into NRF52Board
As all NRF52 boards now have OTA support, let's remove the subclass
and integrate it into the base class.
Signed-off-by: Frieder Schrempf <[email protected] >
6 months ago
liamcottle
8708fa012a
simplify reading frame header
5 months ago
cj-vana
63767cdb7d
Fix typos in README and source comments
5 months ago
liamcottle
71bb49e556
remove use of dynamic allocation
5 months ago
liamcottle
ed263b0727
implement frame header parising for wifi interface
5 months ago
Scott Powell
3af25495bb
* Repeater: new anon request sub-type: ANON_REQ_TYPE_REGIONS (rate limited to max 4 every 3 mins)
* Companion: new CMD_SEND_ANON_REQ command (reply with existing RESP_CODE_SENT frame)
5 months ago
Frieder Schrempf
ab7935142c
EnvironmentSensorManager.cpp: Cleanup after failed RAK4631 GPS detection
If no GPS was detected, revert the hardware to the initial state,
otherwise we may see conflicts or increased power consumption on some
boards.
Signed-off-by: Frieder Schrempf <[email protected] >
6 months ago
Frieder Schrempf
e79ee11872
EnvironmentSensorManager.cpp: Fix RAK4631 serial GPS detection
Serial1 is always true. If we want to check for the presence of a GPS
receiver, we need to check if any data was received.
Signed-off-by: Frieder Schrempf <[email protected] >
6 months ago
Kevin Le
d911a34eeb
Used esp_wifi_get_mode instead of WiFi.getMode() to reduce the code size
5 months ago
Kevin Le
33b1e7edb9
Added pad after powersaving_enabled
5 months ago
Scott Powell
90d1e87ba1
* check for 'early receive' ACK
5 months ago
Kevin Le
0b30d2433f
To get and average the temperature so it is more accurate, especially in low temperature
5 months ago
Kevin Le
def1902688
Fixed T-Beam board to work with sleep
5 months ago
Kevin Le
0d11a02e71
Added extra check for P_LORA_DIO_1 before going to sleep
5 months ago
Kevin Le
89a289eb22
Added powersaving_enabled sanitization
Moved powersaving_enabled to match serialization order
5 months ago
Kevin Le
5c6c15942b
Added powersaving to all ESP32 boards with RTC-supported DIO1
Added CLI to enable/disable powersaving
6 months ago
entr0p1
245a818085
Fix TX LED stuck on when StartTransmit() fails
6 months ago