Manuel
14e9839d05
Merge branch 'master' into tft-gui-work
2024-04-04 09:21:36 +02:00
Todd Herbert
30ebb6ae46
use BUTTON_PIN macro
2024-04-04 17:18:40 +13:00
Todd Herbert
d1db51830b
set GPIOs for sleep
2024-04-04 17:05:12 +13:00
Todd Herbert
eb0e705ba9
de-init bluetooth
2024-04-04 17:04:10 +13:00
github-actions[bot]
46ad4bf0e5
[create-pull-request] automated change ( #3542 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com>
2024-04-03 08:47:47 -05:00
todd-herbert
a570e50aca
Disable holds / isolations on RTC IO pads after deep sleep ( #3539 )
...
* disable holds on RTC IO pads after deep sleep
* Don't assume SOC_RTCIO_HOLD_SUPPORTED
2024-04-03 06:59:53 -05:00
Manuel
95dfe495ce
Merge branch 'master' into tft-gui-work
2024-04-03 13:32:47 +02:00
todd-herbert
f2ed0f7c8c
Fix Light-sleep for ESP32 ( #3521 )
...
* Change wakeup source from EXT0 to GPIO
* Avoid ISR issue on wake
* Detect press from wake reason, instead of digitalRead
* Missing #ifdef
Risky phone-typed commit
* Fix PowerFSM timed transition preventing light sleep
Addresses https://github.com/meshtastic/firmware/issues/3517
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-04-02 14:55:48 -05:00
Manuel
d6e690e2a8
Merge branch 'master' into tft-gui-work
2024-04-02 07:33:15 +02:00
Jonathan Bennett
8bb562c5fa
Add spiTransfer function to Native to support Linux-managed CS ( #3524 )
...
* Add spiTransfer function to Native to support Linux-managed CS
* Trunk
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-04-01 18:31:36 -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
todd-herbert
46a63bf293
Handle edge cases for E-Ink screensaver ( #3518 )
...
* remove redundant logic
* Handle special screens for old EInkDisplayClass
* Handle special screens for EInkDynamicDisplay class
* Join an async refresh in progress to avoid skipping screensaver
* attempt trunk fix
2024-03-31 07:04:05 -05:00
mverch67
5a7ea9d7d6
trunk fmt
2024-03-29 14:47:04 +01:00
mverch67
3f7f92c4db
I2C keyboard crash workaround
2024-03-29 14:46:11 +01:00
Manuel
1a943931d7
Merge branch 'master' into tft-gui-work
2024-03-29 12:56:23 +01:00
Jonathan Bennett
64fd866494
Make native honor HAS_SCREEN 0 ( #3509 )
...
This allows easier building of the native target without the LovyanGFX libraries.
2024-03-29 00:03:19 -05:00
todd-herbert
8187fa7115
E-Ink Screensaver ( #3477 )
...
* fix Wireless Paper double-clear screen at boot
* log when flooded with "responsive" frames
* show the "resuming" screen when waking from deep-sleep
* rename drawDeepSleepScreen
avoid future confusion with "Screen Paused" screen
* show a screensaver frame when screen off
The frame shown during deep sleep is now also passed through showScreensaverFrames()
* Add macros for E-Ink color values.
OLEDDISPLAY_COLOR is inverted. Result of light-mode on E-Ink vs dark-mode on OLED?
* adapt drawDeepSleepScreen to new screensaver convention
* Mark Wireless Paper V1.1 as having problems with ghosting
Any other issues can be marked in a similar way, then handled in code where relevant
* Change screensaver from fullscreen logo to overlay
* identify "quirks" rather than "problems"
* move async refresh polling from display() to a NotifiedWorkerThread
* Prevent skipping of deep-sleep screen
(Hopefully)
* Redesign screensaver overlay
Now displays short name
* Optimize refresh for different displays
* Support older EInkDisplay class
* Don't assume text alignment
* fix spelling of a quirk macro
(No impact to code, but avoids future issues)
* Handle impossibly unlikely millis() overflow error
Should have just let it go, but here we are..
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-03-28 18:31:11 -05:00
Ben Meadors
daa4d387c6
Don't reboot for non-radio lora config changes ( #3505 )
2024-03-28 18:14:15 -05:00
Manuel
a5c0601cee
Merge branch 'master' into tft-gui-work
2024-03-28 23:55:57 +01:00
Ben Meadors
4c2d5c6a89
Reorder structs to fix build
2024-03-28 07:16:07 -05:00
github-actions[bot]
b5ec35ec78
[create-pull-request] automated change ( #3502 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com>
2024-03-28 06:44:34 -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
github-actions[bot]
728b58fb94
[create-pull-request] automated change ( #3489 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com>
2024-03-24 18:50:26 -05:00
GUVWAF
77fb230baa
Native: fail-safes for simulated node without config file ( #3486 )
...
* LinuxInput: only close if file descriptor is assigned
* Native: set some defaults if no configuration file found
2024-03-24 13:42:32 -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
2ae09efc78
Set unused header bytes to zero for future use ( #3479 )
2024-03-24 14:38:19 +01:00
Jonathan Bennett
f2e68afcf4
Crash fix and remove hard-coded path from PiWebServer ( #3478 )
...
* Remove hard-coded path from PiWebServer
* Bump portduino to pick up crash fix
* Remove PiWebServer non-ASCII debug output
* Trunk formatting
2024-03-24 14:38:19 +01:00
GUVWAF
87acb4c683
Actually update last_report_to_map
2024-03-24 14:33:44 +01: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
github-actions[bot]
9a8be51d7f
[create-pull-request] automated change ( #3470 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com>
2024-03-24 14:33:44 +01:00
Ben Meadors
e7738facca
Log warning cleanup and truth ( #3466 )
2024-03-24 14:33:44 +01:00
Ben Meadors
ae32c24c06
Skip favorite nodes when clearing out oldest in NodeDB ( #3464 )
...
* Skip favorite nodes when clearing out oldest in NodeDB
* We should actually map between the types
2024-03-24 14:33:44 +01:00
github-actions[bot]
753fc78d5c
[create-pull-request] automated change ( #3463 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com>
2024-03-24 14:33:44 +01:00
Jonathan Bennett
326e0a588e
Make MAX_NUM_NODES configurable in variant.h ( #3453 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-03-24 14:20:03 +01:00
GUVWAF
3db09e2fed
Add sanity check for map report interval and position precision ( #3459 )
...
* Add sanity check for map report interval and position precision
* Use new `Default::` methods
2024-03-24 14:20:03 +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
662df5b179
Set default position precision of mapReport to 14 ( #3456 )
2024-03-24 14:20:03 +01:00
GUVWAF
a7c005ccdf
Merge branch 'meshtastic:master' into logsMapReport
2024-03-23 19:36:21 +01:00
GUVWAF
71ca6f768f
Actually update last_report_to_map
2024-03-23 19:35:12 +01:00
GUVWAF
4cce4c7c93
Set unused header bytes to zero for future use ( #3479 )
2024-03-23 12:38:29 -05:00
Jonathan Bennett
9e8860d188
Crash fix and remove hard-coded path from PiWebServer ( #3478 )
...
* Remove hard-coded path from PiWebServer
* Bump portduino to pick up crash fix
* Remove PiWebServer non-ASCII debug output
* Trunk formatting
2024-03-23 12:29:05 -05: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
github-actions[bot]
c77c58d656
[create-pull-request] automated change ( #3470 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com>
2024-03-22 07:24:10 -05:00
Ben Meadors
794e99c2f9
Log warning cleanup and truth ( #3466 )
2024-03-21 20:45:48 -05:00
Ben Meadors
7aa013a716
Skip favorite nodes when clearing out oldest in NodeDB ( #3464 )
...
* Skip favorite nodes when clearing out oldest in NodeDB
* We should actually map between the types
2024-03-21 19:51:02 -05:00
github-actions[bot]
a57f7730ea
[create-pull-request] automated change ( #3463 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com>
2024-03-21 18:55:50 -05:00
Jonathan Bennett
35754d661d
Make MAX_NUM_NODES configurable in variant.h ( #3453 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-03-21 18:26:37 -05:00
GUVWAF
155df45d92
Add sanity check for map report interval and position precision ( #3459 )
...
* Add sanity check for map report interval and position precision
* Use new `Default::` methods
2024-03-21 16:20:20 -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
GUVWAF
4debcd5ccd
Set default position precision of mapReport to 14 ( #3456 )
2024-03-21 14:35:17 -05:00
Manuel
ac70627415
Merge branch 'master' into tft-gui-work
2024-03-21 19:44:47 +01:00
Jonathan Bennett
fd26914d88
move nodeDB::init code into nodeDB constructor ( #3455 )
2024-03-21 13:14:02 -05: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
Jim Whitelaw
f4095ce00d
Adds configuration option to exclude the webserver on esp32. ( #3369 )
...
* Adds configuration option to not build/include the webserver.
* Adds configuration option to not build/include the webserver.
* Keep initApiServer when excluding webserver
* fixes for failed formatting check
* Once more with feeling! Fix for regression.
* Fix includes for ARCH_ESP32
* Format changes from trunk
* Merge updates from origin
* Revert "Format changes from trunk"
This reverts commit 436e631774
.
* jeez!
* tryfix proto conflict
---------
Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com>
2024-03-21 06:34:34 -05:00
Mictronics
7aa21f6e3f
Fixed double and missing Default class. ( #3448 )
...
* Fix LED pinout for T-Echo board marked v1.0, date 2021-6-28
* Merge PR #420
* Fixed double and missing Default class.
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-03-20 10:58:48 -05:00
Manuel
78af6d04c1
Merge branch 'master' into tft-gui-work
2024-03-19 21:10:50 +01:00
Ben Meadors
4fa7f5a748
Fix devicestate persistence bug
2024-03-19 10:31:31 -05:00
Manuel
a6625998f5
fix compiler warnings in NodeDB.h ( #3439 )
...
* fix warnings on arm
* make trunk+compiler happy
2024-03-19 06:22:45 -05:00
Manuel
bdb38826fa
Merge branch 'tft-gui-work' of https://github.com/meshtastic/firmware into tft-gui-work
2024-03-18 23:31:42 +01:00
Manuel
cc330eac7f
increase TFT stack size
2024-03-18 23:26:52 +01:00
Manuel
d08285b4b9
Merge branch 'master' into tft-gui-work
2024-03-18 14:35:52 +01:00
Ben Meadors
aae49f5ecf
Remove confusing channel suffix ( #3432 )
...
* Remove confusing channel suffix
* Missed it
2024-03-17 08:38:49 -05: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
Ben Meadors
bb57ccfc9e
Remove devicestate no_save ( #3424 )
2024-03-17 08:16:22 -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
github-actions[bot]
54a2a4bcc6
[create-pull-request] automated change ( #3422 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com>
2024-03-16 07:39:28 -05:00
Manuel
e5fe8668c9
Merge branch 'master' into tft-gui-work
2024-03-16 09:58:33 +01:00
David Ellefsen
611f291d4d
Factory reset GNSS_MODEL_MTK GPS modules with PCAS10,3 ( #3388 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-03-15 19:19:50 -05:00
Ben Meadors
9586606229
Handle for heartbeat toradio packets ( #3420 )
2024-03-15 18:40:48 -05:00
Manuel
f4fb7e10f3
Merge branch 'master' into tft-gui-work
2024-03-15 23:15:06 +01:00
github-actions[bot]
0de36fbfb0
[create-pull-request] automated change ( #3419 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com>
2024-03-15 17:12:45 -05:00
Andre K
0dda20bc35
fix for I2C scan getting stuck ( #3375 )
...
* refactor: add delay for T-Echo peripherals setup
* comment out `PIN_POWER_EN1`
2024-03-15 17:12:30 -05:00
Manuel
909f77a40b
Merge branch 'master' into tft-gui-work
2024-03-15 22:49:55 +01:00
Ben Meadors
52cfec29fc
More comprehensive client proxy queue guards ( #3414 )
...
* More comprehensive MQTT thread and queue guards
* Consolidate logic
* Remove channel check
* Check for map_reporting_enabled as well
* Update message
* Remove channel check from here as well
* One liner
* Start the mqtt thread back up when channels change and we want mqtt
2024-03-15 16:17:47 -05: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
Thomas Göttgens
e8ec167854
Merge branch 'gnss-l76b' of github.com:meshtastic/firmware into gnss-l76b
2024-03-15 19:48:19 +01:00
Thomas Göttgens
b900415218
that should work now
2024-03-15 19:47:47 +01:00
Thomas Göttgens
2eb78fec53
Merge branch 'master' into gnss-l76b
2024-03-15 19:39:47 +01:00
Thomas Göttgens
da7cd5fc7f
new Accelerometer lib ( #3413 )
...
* new Accelerometer lib
* Use our fork till upstreasm merges changes.
* that PR escalated quickly
* resurrect display flip
2024-03-15 10:45:14 -05:00
Thomas Göttgens
b06c77d46f
don't fix this to a hardware model.
2024-03-15 16:43:39 +01:00
Thomas Göttgens
cbc0aa16c5
fix compilation
2024-03-15 16:37:47 +01:00
github-actions[bot]
876a0520a9
[create-pull-request] automated change ( #3418 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com>
2024-03-15 08:09:48 -05: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
4b5f57fd1a
Merge branch 'master' into tft-gui-work
2024-03-15 09:52:34 +01:00
Ben Meadors
a085c3ddb3
Try-fix router missed messages ( #3405 )
2024-03-14 17:00:57 -05:00
mverch67
d0b1abf0ef
5ms tick
2024-03-14 18:24:05 +01:00
Thomas Göttgens
58cdf360f8
(1/3) Support L76B GNSS chip found on pico waveshare shield. Original work by @Mictronics
2024-03-14 16:18:33 +01: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
Andre K
9d2fcbe1e1
use decoded packets in public MQTT range test/detection sensor filter ( #3404 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-03-13 18:24:49 -05:00
Manuel
854ca4e7ad
Merge branch 'master' into tft-gui-work
2024-03-13 22:51:46 +01:00
Ben Meadors
3995e2f708
Remove bunk code
2024-03-13 15:06:52 -05:00
github-actions[bot]
216f85ff22
[create-pull-request] automated change ( #3397 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com>
2024-03-13 09:02:48 -05: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
GUVWAF
724fa38a55
Fix T-LoRa V2.1-6 with TCXO init ( #3392 )
2024-03-12 16:42:34 -05:00
Wolfgang Nagele
38ea681433
Fix LTO discharge curve ( #3385 )
...
* Fix LTO discharge curve
* Remove duplicate info
2024-03-12 16:42:21 -05:00
Wolfgang Nagele
ee685b4ed7
Check AQ_SET_PIN instead of EINK dependency ( #3387 )
2024-03-12 13:03:04 -05:00
Thomas Herrmann
cf11807f97
use priority background for low priority messages ( #3381 )
2024-03-12 12:21:09 -05:00
Wolfgang Nagele
7f063fbf81
Support external charge detection ( #3386 )
...
* Support external charge detection
* trunk fmt
2024-03-12 11:55:31 -05:00
Manuel
c6b04f39cb
Merge branch 'master' into tft-gui-work
2024-03-12 12:59:42 +01:00
AeroXuk
affbd7f2b9
Update MQTT.cpp
...
Bug fix for #3382
2024-03-12 02:13:52 +00:00
Manuel
5b065d4958
Merge branch 'master' into tft-gui-work
2024-03-11 22:45:21 +01:00
GUVWAF
5f47ca1f32
Don't spam logs if no position with map reporting ( #3378 )
2024-03-11 15:58:45 -05:00
Manuel
4ad08223c7
Merge branch 'master' into tft-gui-work
2024-03-11 20:59:54 +01:00
Ben Meadors
2d5a6c1a20
Merge branch 'master' into eink-special-frames
2024-03-11 13:32:42 -05:00
Manuel
c7839b469b
fix of tryfix SHT31 sensor ( #3377 )
2024-03-11 12:51:14 -05:00
Ben Meadors
95967a01b8
Merge branch 'master' into eink-special-frames
2024-03-11 12:46:32 -05:00
Manuel
e16689a0d6
fix heap use after delete ( #3373 )
2024-03-11 12:45:59 -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
Todd Herbert
1f766a04aa
purge unused enum val
2024-03-12 04:04:28 +13:00
Thomas Göttgens
4b4bd07d5c
Merge branch 'master' into eink-special-frames
2024-03-11 14:10:19 +01:00
todd-herbert
cf4753f7fd
Async full-refresh for EInkDynamicDisplay ( #3339 )
...
* Move Wireless Paper V1.1 custom hibernate behavior to GxEPD2
* Async full-refresh for EInkDynamicDisplay
* initial config for T-Echo
* formatting
responds to https://github.com/meshtastic/firmware/pull/3339#discussion_r1518175434
* increase fast-refresh limit for T-Echo
https://github.com/meshtastic/firmware/pull/3339#issuecomment-1986245727
* change dependency from private repo to meshtastic/GxEPD2
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-03-11 07:56:55 -05: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
Kevin Cai
766beefbc5
Update AccelerometerThread.h to work with T-Watch S3
2024-03-11 10:58:25 +01:00
Thomas Göttgens
70df36b5db
Merge branch 'master' into mapReport
2024-03-10 20:54:48 +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
GUVWAF
cb7407e06b
Don't need to check all channels if not using default frequency slot
2024-03-10 16:04:59 +01:00
GUVWAF
b45a912409
Use dedicated map
topic
2024-03-10 15:56:00 +01:00
Thomas Göttgens
c7d5698dbc
Merge branch 'master' into mapReport
2024-03-10 15:40:22 +01:00
caveman99
69dcc948b9
[create-pull-request] automated change
2024-03-10 14:39:40 +00:00
GUVWAF
084b01715e
Merge remote-tracking branch 'origin/master' into mapReport
2024-03-10 14:54:41 +01:00
GUVWAF
af9d14c370
Periodic reporting of device information to a map via MQTT
2024-03-10 14:52:37 +01:00
Todd Herbert
1032e16ea4
reorder determineMode() checks
2024-03-11 01:02:03 +13: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
Todd Herbert
3daae24d29
fix fallback behavior for unmodified GxEPD2
...
Issues exposed by https://github.com/meshtastic/firmware/pull/3356#issuecomment-1986950317
2024-03-10 13:43:57 +13:00
Jonathan Bennett
dced888492
Add precision_bit sto json
2024-03-09 15:34:01 -06:00
Ben Meadors
7167f1e04f
Add parens to macro ( #3361 )
2024-03-09 15:25:16 -06:00
Ben Meadors
dfbb4cd913
Merge branch 'master' into eink-special-frames
2024-03-09 14:10:09 -06:00
GUVWAF
3da7c0dba7
Add hops_away to JSON output ( #3357 )
2024-03-09 11:32:49 -06:00
Todd Herbert
7b70324435
handle special frames in Screen.cpp
2024-03-10 05:00:51 +13:00
Todd Herbert
94eb837ee8
function macro for tidier addFramFlag() calls
2024-03-10 04:14:45 +13:00
Todd Herbert
a9c07a4c01
add frameFlags to LOG_DEBUG() messages
2024-03-10 04:07:51 +13:00
Todd Herbert
e232e3462c
add BLOCKING modifier to frameFlagTypes
2024-03-10 03:48:59 +13:00
Todd Herbert
94794edd43
add init code as a determineMode() check
2024-03-10 03:43:07 +13:00
Todd Herbert
95b6f27d2a
change order of determineMode() checks
2024-03-10 03:38:39 +13:00
Todd Herbert
efd818fe90
move storeAndReset() to end of update()
2024-03-10 03:07:13 +13:00
Todd Herbert
576f582cd9
rename setFrameFlag() method
2024-03-10 02:30:16 +13:00
Ben Meadors
42286edc81
Merge branch 'master' into eink-async
2024-03-09 06:59:56 -06:00
Manuel
7c63e0312b
Merge branch 'master' into tft-gui-work
2024-03-09 08:50:56 +01:00
Andre K
51df4fc775
fix: turn off T-Echo peripherals on deep sleep ( #3162 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-03-08 20:15:37 -06:00
Ben Meadors
0f1bc98305
Update MQTT topic to match ( #3353 )
2024-03-08 20:15:00 -06:00
Todd Herbert
07da130586
Async full-refresh for EInkDynamicDisplay
2024-03-09 09:30:34 +13:00
Todd Herbert
5d4d91f775
Move Wireless Paper V1.1 custom hibernate behavior to GxEPD2
2024-03-09 09:30:34 +13:00
Manuel
d36ab920ac
Merge branch 'master' into tft-gui-work
2024-03-08 18:22:40 +01:00
Ben Meadors
7da1153c2c
Fix known_only panic by short circuiting for NULL before checking has_user ( #3352 )
2024-03-08 08:31:49 -06: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
4363150b56
Merge branch 'master' into tft-gui-work
2024-03-07 14:29:49 +01:00
Steven Osborn
c860493e68
Add delay so GPS and Radio have time to power up ( #3334 )
...
* Add delay so GPS and Radio have time to power up
* reduce the delay a bit
* make delay more generic / configurable
* remove whitespace changes
2024-03-07 07:11:25 -06:00
github-actions[bot]
2dd751e339
[create-pull-request] automated change ( #3346 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com>
2024-03-07 07:06:47 -06:00
Manuel
3e7284d841
Merge branch 'master' into tft-gui-work
2024-03-06 23:57:40 +01:00
Jonathan Bennett
e174328de3
Native Webserver ( #3343 )
...
* Added WebServer/WebServices for Native Linux Meshtastic and web gui
* Fix bug in login functionality
* Added customized config of portdunio.ini with LovyannGFX from marelab repro
* Compile Problem resolved with developer version of LovyanGFX.git
* Compile against dev version
* Fixes to fit into main branch
* Update variant.h, main.cpp, .gitignore, WebServer.cpp, esp32s2.ini, WebServer.h, ContentHandler.cpp, rp2040.ini, nrf52.ini, ContentHelper.cpp, Dockerfile, ContentHandler.h, esp32.ini, stm32wl5e.ini
* Added linux pi std /usr/include dir
* Adding /usr/innclude for Linux compile against native libs that are not hadled by platformio
* Review log level changes & translation
* Update Dockerfile
* Fix Typo & VFS ref. Part1
* Fix Typo & VFS ref.
* Dev Version for ulfius web lib
* Update platformio.ini
* Free VFS path string
* Remove unintended changes
* More unintentional changes
* Make the HTTP server optional on native
* Tune-up for Native web defaults
* Don't modify build system yet
* Remove more unneeded changes
---------
Co-authored-by: marc hammermann <marchammermann@googlemail.com>
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com>
2024-03-06 16:23:04 -06:00
Manuel
25a16b5ec1
Merge branch 'master' into tft-gui-work
2024-03-05 16:30:11 +01:00
mverch67
4dcaeddb1f
fix build issues
2024-03-05 16:14:52 +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
e73706949f
added freertos task_handler pinned task
2024-03-05 09:20:47 +01:00
mverch67
12c22c7cd2
update Packet classes
2024-03-05 09:20:47 +01:00
mverch67
04848439b9
implement IClientBase interface
2024-03-04 09:43:46 +01:00
mverch67
d72cbd9566
add tft task loop to main()
2024-03-04 09:43:46 +01:00
mverch67
ce39c5133a
fix TFT initialization
2024-03-04 09:43:46 +01:00
mverch67
1997b3df9c
fix native/x11 target
2024-03-04 09:43:46 +01: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
mverch67
942b7d21a2
PacketQueue thread communication
2024-03-04 09:43:46 +01:00
Ben Meadors
72050530f1
NRF52 bluetooth cleanup and fix ( #3328 )
...
* NRF52 bluetooth cleanup. Fixes BLE not returning after serial PhoneAPI connection
* Use new var name in esp32 arch
2024-03-03 13:56:55 -06:00
Ken McGuire
e5bf07d4fb
Fix for issue #3310 ( #3327 )
...
* Portduino multiple logging levels
* Fixes based on GPSFan work
* Fix derped logic
* Correct size field for AID message
* Reformat to add comments, beginning of GPS rework
* Update PM2 message for Neo-6
* Correct ECO mode logic as ECO mode is only for Neo-6
* Cleanup ubx.h add a few more comments
* GPS rework, changes for M8 and stub for M10
* Add VALSET commands for u-blox M10 receivers
* Add VALSET commands for u-blox M10 receivers
tweak M8 commands
add comments for VALSET configuration commands
* Add commands to init M10 receivers,
tweak the M8 init sequence, this is a WIP as there are still some issues during init.
Add M10 version of PMREQ.
* Add wakeup source of uartrx to PMREQ_10
The M10 does not respond to commands when asleep,
may need to do this for the M8 as well
* Enable NMEA messages on USB port.
Normally, it is a good idea to disable messages on unused ports.
Native Linux needs to be able to use GNSS modules connected via
via either serial or USB.
In the future I2C connections may be required, but are not enabled for now.
* Save the config for all u-blox receiver types.
The M10 supports this command in addition to saving using
the VALSET commands for the RAM & BBR layers.
---------
Co-authored-by: Jonathan Bennett <jbennett@incomsystems.biz>
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-03-03 13:08:47 -06: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
3c3d391044
Remove rangetest file on factory reset ( #3322 )
2024-03-03 10:33:30 -06:00
Ben Meadors
495840c777
Filter out neighborinfo if we don't have the module enabled ( #3314 )
...
* Filter out neighborinfo if we don't have the module enabled
* Handlereceived instead
* Add debug message
2024-03-03 08:36:36 -06:00
todd-herbert
5865add857
E-Ink: fast refresh for Wireless Paper V1.1 ( #3320 )
2024-03-03 07:13:56 -06:00
todd-herbert
c659292836
Reimplement "Dynamic E-Ink" as a derived class ( #3316 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-03-02 20:07:29 -06:00
Ben Meadors
905718e2ac
Remove problematic IO2 3V3 toggling (again) as GPS EN pin ( #3317 )
...
* Remove problematic IO2 3V3 toggling (again) as GPS EN pin
* Comment
* Trunk
2024-03-02 15:45:59 -06:00
Ben Meadors
a58348369d
Update protos and add new fields to type conversions ( #3315 )
2024-03-02 10:20:27 -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
todd-herbert
6acc63729b
Refactor EInkDisplay ( #3299 )
...
* Refactor EInkDisplay
A lot of variant specific code is merged, with the macros pushed to the respective variant.h files.
"Dynamic Partial" code has been purged, pending a rewrite.
* fix: declare class only if USE_EINK, init all members
* refactor: move macros to platformio.ini
Responds to https://github.com/meshtastic/firmware/pull/3299#issuecomment-1966425926
* fix: EInkDisplay::connect() references old macros
Usage was in a block of variant-specific code, which had been intentionally left untouched.
* fix: remove duplicate macros from variant.h
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-02-28 09:45:15 -06:00
Ben Meadors
2786db499d
Missing include
2024-02-28 08:01:59 -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