Manuel
d315c74e5a
Merge branch 'master' into tft-gui-work
2024-04-21 22:17:35 +02:00
Ben Meadors
84edaabfe9
Merge branch 'master' into RGBLED
2024-04-21 14:46:18 -05:00
Ben Meadors
048f0a1601
Merge branch 'master' into RCWL-9620
2024-04-21 14:41:49 -05:00
Nicholas Baddorf
4a48a3fb52
Fixed bug making t-deck reboot when muted ( #3694 )
2024-04-21 14:41:22 -05:00
Ben Meadors
39bbf0d352
Added more clear RTC handling and quality logging ( #3691 )
...
* Also refresh timestamp for "timeonly" fixed position nodes
* Added more clear RTC quality handling
* Fix clock drift from Phone GPS / NTP too
2024-04-21 14:40:47 -05:00
Thomas Göttgens
a231cd2ad0
derp...
2024-04-21 16:35:41 +02:00
Thomas Göttgens
a957065fe8
Merge branch 'master' into RCWL-9620
2024-04-21 14:47:29 +02:00
Ben Meadors
41f3557491
Refactor smart position to use throttle helper ( #3671 )
...
* Added one minute throttling to NodeDB
* Derp
* Refactor smart-position to use throttle
2024-04-21 07:42:36 -05:00
Thomas Göttgens
402b0d7e0b
ditch that no-good m5 dependancy and do it ourself
2024-04-21 14:39:55 +02:00
Gareth Coleman
cf65661c7c
another silly error
2024-04-21 08:59:40 +01:00
Gareth Coleman
fb7a878d94
tweaked guards to allow various combinations of RGB leds
2024-04-21 08:24:51 +01:00
Thomas Göttgens
94e1f016e5
Change name
2024-04-20 20:49:57 +02:00
Thomas Göttgens
9170fe0580
Support radar sensor RCWL-9620 on i2c
2024-04-20 20:30:22 +02:00
Manuel
e8706ec4d2
Merge branch 'master' into tft-gui-work
2024-04-19 20:32:03 +02:00
Gareth Coleman
4a471ded79
Merge branch 'RGBLED' of github.com:garethhcoleman/firmware into RGBLED
2024-04-19 00:28:39 +01:00
Gareth Coleman
eea85d26ca
oh god the bugs, they are everywhere, I feel so dirty...
2024-04-19 00:28:20 +01:00
Gareth Coleman
8ac308e73b
Merge branch 'master' into RGBLED
2024-04-18 23:12:08 +01:00
GUVWAF
e4b5f2ce14
NeighborInfo: Only keep neighbors in RAM ( #3660 )
...
* NeighborInfo: Only keep neighbors in RAM
It fills up quickly when nodes are running >=2.3
* Defer first transmission as it's usually empty
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-04-18 16:16:50 -05:00
Manuel
1525002560
Merge branch 'master' into tft-gui-work
2024-04-18 23:01:14 +02:00
Gareth Coleman
7d77b23eb6
support for generic 4 pin CC and CA RGB LEDS
2024-04-18 22:00:33 +01:00
Ben Meadors
78d915b454
Merge branch 'master' into RGBLED
2024-04-18 14:44:53 -05:00
GUVWAF
4c0b7ea409
StoreForward: Remove assert when receiving unhandled case ( #3661 )
2024-04-18 14:28:11 -05:00
Gareth Coleman
4b5549be8f
added vibration notifications
2024-04-18 09:22:31 +01:00
Manuel
e588b7e97b
Merge branch 'master' into tft-gui-work
2024-04-17 15:20:26 +02:00
Ben Meadors
2cd877d2eb
Merge branch 'master' into RGBLED
2024-04-16 20:37:02 -05:00
GUVWAF
c34956e9d8
Cosmetics: rename remaining plugins → modules and less errors ( #3645 )
2024-04-16 17:47:56 -05:00
Gareth Coleman
afb4de21d9
yet another random edit, think i'm brushing the touchpad or perhaps my computer is possessed by the devil determined to make me look foolish
2024-04-16 22:37:57 +01:00
Gareth Coleman
0632b96fcb
just tiny tweak to minimise changes
2024-04-16 21:40:13 +01:00
Gareth Coleman
8a3322fbcb
rgb led support for unPhone
2024-04-16 21:28:12 +01:00
Ben Meadors
2803fa964e
Add LoadFileState to differentiate types of success / failures ( #3625 )
2024-04-15 07:22:05 -05:00
Ben Meadors
4f205718f0
Device telemetry uptime in seconds ( #3614 )
2024-04-14 10:27:01 -05:00
Manuel
7578d40455
Merge branch 'master' into tft-gui-work
2024-04-12 22:12:13 +02:00
Thomas Göttgens
2d81c97b98
fix #2586 (lower IAQ quality for saving to 2 and rework save logic)
2024-04-09 21:20:36 +02:00
Thomas Göttgens
cfd98b2c91
add BME680 IAQ reading. Range is from 0 (clean) - 500 (extremely polluted)
2024-04-09 21:20:36 +02:00
Manuel
9eda643ddf
Merge branch 'master' into tft-gui-work
2024-04-07 12:15:12 +02:00
Thomas Göttgens
1baad2875a
Add keymappings for several utility functions ( #3536 )
...
* - map fn+m to mute and unmute the external notification module
- map fn+t to be an alternative for the TAB key
* add whitelist to inputbroker
* (maybe) sweet-talking t-deck into tabbing...
* now for real - back in Kansas
* More fancy mappings
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-04-06 19:12:57 -05:00
Manuel
fb4b6329ff
Merge branch 'master' into tft-gui-work
2024-03-31 20:20:52 +02:00
GUVWAF
a4c22321fc
Don't save Neighbors to flash when receiving ( #3519 )
...
* Don't save Neighbors to flash when receiving
* Move `shouldSave` to `saveProtoForModule()`
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-03-31 08:03:29 -05:00
Manuel
1a943931d7
Merge branch 'master' into tft-gui-work
2024-03-29 12:56:23 +01:00
Ben Meadors
daa4d387c6
Don't reboot for non-radio lora config changes ( #3505 )
2024-03-28 18:14:15 -05:00
Manuel
7d38af3930
Merge branch 'master' into tft-gui-work
2024-03-27 07:41:01 +01:00
Ben Meadors
5732eed86b
Fixed position admin messages ( #3490 )
...
* Bespoke admin messages for setting and clearing fixed positions
* Add guards against remote admin messages setting things
* Flip ifs
2024-03-26 07:29:07 -05:00
Manuel
cef0f0162b
Merge branch 'master' into tft-gui-work
2024-03-25 16:08:58 +01:00
Jim Whitelaw
acc32916c3
Add multiple configuration options for a minimized build (GPS,WiFi,BT,MQTT,Screen). ( #3469 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-03-25 06:33:57 -05:00
Thomas Göttgens
b960dc1b41
Add Shutdown and reboot to CardKB and friends ( #3487 )
...
* Add Shutdown and reboot to CardKB and friends
* aw shucks
2024-03-24 13:41:45 -05:00
GUVWAF
fcbdd69885
Fix #3452 : only alter received packet if port number matches ( #3474 )
...
* Use `alterReceivedProtobuf()` for NeighborInfo and Traceroute
`alterReceived()` should never return NULL
Traceroute should be promiscuous
* Remove extensive logging from NeighborInfo module
2024-03-24 14:33:44 +01:00
Ben Meadors
771b181218
Add set and remove favorite nodes admin commands ( #3471 )
2024-03-24 14:33:44 +01:00
Ben Meadors
37ae3cce4f
Enforce consistent polite channel utilization limits except for Sensor role ( #3467 )
2024-03-24 14:33:44 +01:00
Ben Meadors
65e1993be8
Clear local position on nodedb-reset ( #3451 )
...
* Clear local position on nodedb-reset
* NodeDB pointer now, yo
---------
Co-authored-by: Jonathan Bennett <jbennett@incomsystems.biz>
2024-03-24 14:20:03 +01:00
GUVWAF
391386517a
Let NeighborInfo Module ignore packets coming from MQTT ( #3457 )
2024-03-24 14:20:03 +01:00
GUVWAF
d30d6bd3eb
Fix #3452 : only alter received packet if port number matches ( #3474 )
...
* Use `alterReceivedProtobuf()` for NeighborInfo and Traceroute
`alterReceived()` should never return NULL
Traceroute should be promiscuous
* Remove extensive logging from NeighborInfo module
2024-03-23 07:31:58 -05:00
Ben Meadors
94e4301f2f
Add set and remove favorite nodes admin commands ( #3471 )
2024-03-22 10:53:18 -05:00
Ben Meadors
54818b5f8d
Enforce consistent polite channel utilization limits except for Sensor role ( #3467 )
2024-03-22 07:25:00 -05:00
Ben Meadors
6dd337a651
Clear local position on nodedb-reset ( #3451 )
...
* Clear local position on nodedb-reset
* NodeDB pointer now, yo
---------
Co-authored-by: Jonathan Bennett <jbennett@incomsystems.biz>
2024-03-21 14:43:10 -05:00
GUVWAF
0a7ddb7594
Let NeighborInfo Module ignore packets coming from MQTT ( #3457 )
2024-03-21 14:42:53 -05:00
Manuel
ac70627415
Merge branch 'master' into tft-gui-work
2024-03-21 19:44:47 +01:00
Jonathan Bennett
dfcd0d14f6
Add MaxNodes to Native config ( #3427 )
...
* Add MaxNodes to Native
* It compiles...
* Convert nodedb to use new
* Closer but still broken.
* Finally working
* Remove unintended lines
* Don't include a pointer
* Capitalization matters.
* avoid rename in protocol regen
* When trimming the nodeDB, start with a cleanup
* Remove extra cleanupMeshDB() call for now
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-03-21 09:06:37 -05:00
Manuel
d08285b4b9
Merge branch 'master' into tft-gui-work
2024-03-18 14:35:52 +01:00
Ben Meadors
0d1d79b6d1
Extract default intervals and coalesce methods into their own file / static class methods ( #3425 )
...
* Extract default intervals and coalesce methods into their own file / static class methods
* Missed pax
* Still managed to miss one
2024-03-17 08:18:30 -05:00
Manuel
414d1819f1
Merge branch 'master' into tft-gui-work
2024-03-17 12:17:15 +01:00
Ben Meadors
e27f029d09
Bump minimum NodeInfo send to 5 minutes ( #3423 )
...
* Bump minimum NodeInfo send to 3 minutes
* 5
2024-03-16 19:56:42 -05:00
Thomas Göttgens
13cc1b0252
(3/3) Add variant for pico with waveshare and GPS hat ( #3412 )
...
* (3/3) Add variant for pico with waveshare and GPS hat, utilizing slow clock.
* Not everybody has Serial2
* Trunk
* Push it real gud
* No init
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-03-16 10:01:43 -05:00
Manuel
909f77a40b
Merge branch 'master' into tft-gui-work
2024-03-15 22:49:55 +01:00
Thomas Göttgens
34bc22f94d
(2/3) Add Slow Clock Support for RP2040 platform. This will disable USB Softserial.
2024-03-15 20:16:36 +01:00
Ben Meadors
ec6bdeed81
NodeInfo broadcast ensure default on 0 and enforce 1 hour minimum ( #3415 )
...
* NodeInfo broadcasts ensure defaults on 0 and enforce 1 hour minumum
* Doh!
* Hey that's not on config!
2024-03-15 07:12:03 -05:00
Manuel
3371ff17a5
Merge branch 'master' into tft-gui-work
2024-03-14 09:05:38 +01:00
Ben Meadors
9c37e57e75
Only allow phone to set time for fixed positions ( #3403 )
2024-03-13 20:27:26 -05:00
Manuel
854ca4e7ad
Merge branch 'master' into tft-gui-work
2024-03-13 22:51:46 +01:00
Tavis
333c3c1c9e
fix off by one error
...
buzzer is index 2, but loop was 0-1 so buzzer never got turned off.
2024-03-12 21:42:08 -10:00
Manuel
b6d1239c71
Merge branch 'master' into tft-gui-work
2024-03-13 08:14:55 +01:00
Thomas Herrmann
cf11807f97
use priority background for low priority messages ( #3381 )
2024-03-12 12:21:09 -05:00
Manuel
4ad08223c7
Merge branch 'master' into tft-gui-work
2024-03-11 20:59:54 +01:00
Manuel
c7839b469b
fix of tryfix SHT31 sensor ( #3377 )
2024-03-11 12:51:14 -05:00
Andre K
c80098f517
refactor: remove ACKs in range tests so zero hops is honored ( #3374 )
2024-03-11 11:49:46 -05:00
Manuel
e24e4d99a6
Merge branch 'master' into tft-gui-work
2024-03-11 16:22:56 +01:00
Thomas Göttgens
892223a297
fix typos and add 2 missing modules to the equasion ( #3370 )
2024-03-11 07:52:46 -05:00
Thomas Göttgens
658ed6fd28
tryfix SHT31 sensor on secondary bus
2024-03-11 13:51:26 +01:00
Manuel
de62cb847d
Merge branch 'master' into tft-gui-work
2024-03-11 11:27:34 +01:00
Thomas Herrmann
26691c0be7
include requested change and suggestions on PR from @caveman99
2024-03-10 16:08:26 +01:00
Thomas Herrmann
09e08e0091
add some documentation, cleanup
2024-03-10 16:08:26 +01:00
Thomas Herrmann
73c77b663c
fix typo
2024-03-10 16:08:26 +01:00
Thomas Herrmann
fb4faf790b
split query of paxcounter data from sending funcionality; don't cummulate (count mode != 1); use flag to signal changed count data
2024-03-10 16:08:26 +01:00
Manuel
b90b37d032
Merge branch 'master' into tft-gui-work
2024-03-10 12:34:31 +01:00
Andre K
3da1b74a10
refactor: always send range tests with zero hops
2024-03-10 10:50:02 +01:00
Manuel
d36ab920ac
Merge branch 'master' into tft-gui-work
2024-03-08 18:22:40 +01:00
GUVWAF
585805c3b9
Add original hop limit to header to determine hops used ( #3321 )
...
* Set `hop_start` in header to determine how many hops each packet traveled
* Set hopLimit of response according to hops used by request
* Identify neighbors based on `hopStart` and `hopLimit`
* NeighborInfo: get all packets and assume a default broadcast interval
* Add fail-safe in case node in between is running modified firmware
* Add `viaMQTT` and `hopsAway` to NodeInfo
* Replace `HOP_RELIABLE` with hopStart for repeated packet
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-03-08 07:13:57 -06:00
Manuel
9081766ee8
Merge branch 'master' into tft-gui-work
2024-03-08 12:07:39 +01:00
Thomas Herrmann
763ae9f2e2
add BMP085 (and BMP180) sensor (temperature and air pressure)
2024-03-07 23:58:04 +01:00
Manuel
25a16b5ec1
Merge branch 'master' into tft-gui-work
2024-03-05 16:30:11 +01:00
Thomas Göttgens
f5ff77c2b9
Turn off certain modules not wanted in custom builds ( #3337 )
2024-03-05 07:50:52 -06:00
mverch67
125ecca85f
fix compilation for native + t-deck
2024-03-04 09:43:46 +01:00
mverch67
fbdfa92d4b
start device-ui integration
2024-03-04 09:43:46 +01:00
Jonathan Bennett
7ab9a94edb
just off the coast of NULL Island isn't OK either.
2024-03-03 11:50:07 -06:00
Ben Meadors
d20fa6e927
Comment out ReplyModule registration, but leave it in as example ( #3312 )
2024-03-02 07:21:53 -06:00
Ben Meadors
bf88773b6b
Don't send anybody to null island ever ( #3308 )
2024-02-28 13:44:15 -06:00
Thomas Herrmann
4ffb906fe8
move duplicate #define for screen to unified header file ( #3302 )
2024-02-27 12:49:46 -06:00
Ben Meadors
e6a2c06346
Various position fixes ( #3297 )
...
* Guard against no movement
* Add newlines
* Fix printfs
2024-02-26 20:24:36 -06:00
Thomas Göttgens
d556d59308
fix compilation for Cyrillic fonts
2024-02-26 09:42:12 +01:00
Jonathan Bennett
146b5b557a
UINT32_MAX is not the same as INT32_MAX
2024-02-26 01:03:03 -06:00
Jonathan Bennett
0dcd3584e4
Fix wrong-side-of-globe when precision set to 32
2024-02-25 21:48:25 -06:00