GUVWAF
e51ee91c39
Optimization: stop relaying when reply is received ( #3753 )
2024-04-30 20:07:15 -05:00
mverch67
ae82c32c29
add spi_host support
2024-04-29 20:47:28 +02:00
Manuel
5c05c81ece
Merge branch 'master' into tft-gui-work
2024-04-29 18:01:08 +02:00
todd-herbert
21311bbeda
T-Echo touch button no longer requires "wake on tap or motion" ( #3745 )
2024-04-29 08:54:57 -05:00
Jonathan Bennett
22f6a71e64
Merge branch 'master' into tft-gui-work
2024-04-28 19:18:29 -05:00
Ben Meadors
472db5b237
Merge branch 'master' into RCWL-9620
2024-04-28 07:05:54 -05:00
Mike
ee4c4ae6c9
Allow setting hopLimit for MQTT json sendtext and sendposition ( #3735 )
...
* Fix channel name extraction
* Allow setting hopLimit for mqtt sendtext and sendposition
2024-04-27 18:15:54 -05:00
Ben Meadors
6cc7dee95c
Tradunkadunk
2024-04-27 11:12:52 -05:00
HarukiToreda
38c4d35a7b
Add Notification on device screen following feature toggle ( #3627 )
...
* Update CannedMessageModule.h
* Update CannedMessageModule.cpp
* Update CannedMessageModule.cpp
hopefully this fixes the errors on Trunk
* Update CannedMessageModule.cpp
Changed "Ping Broadcasted" with "Telemetry Update Sent"
* tryfix: disable tempmessage again after 2 seconds
* fix 2s showtime
* Put spelling fix back
* Fix build
---------
Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com>
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-04-27 11:08:25 -05:00
Ben Meadors
e683d8f552
Rebrand "send network ping" to more honest "try send position" with better output ( #3737 )
2024-04-27 08:55:04 -05:00
jcyrio
e66aec8223
fix typo in comment ( #3726 )
2024-04-27 08:54:06 -05:00
Oliver Seiler
a06a01d25e
fix #if HAS_TELEMETRY when set to 0 ( #3733 )
2024-04-27 06:35:44 -05:00
todd-herbert
dfcabba0b2
Prevent overflow when calculating timezones ( #3730 )
2024-04-26 20:43:09 -05:00
Arkadiusz Miśkiewicz
c14043f196
Split warning into two messages, so we know which one is the case. ( #3710 )
2024-04-25 06:47:39 -05:00
Jonathan Bennett
e3610a2eb1
Move to lovyangfx develop for Native
2024-04-24 13:17:43 -05:00
Oleksandr Podolchak
9baccc80d8
Add SX1268 modules support for linux-native ( #3702 )
...
* Add portduino Ebyte E22 XXXM30S/XXXM33S (sx1268) module support
* Add Ebyte E22 XXXM3XS module config
* Update comment for sx1268 module
* Address review comments
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-04-24 08:41:01 -05:00
Ben Meadors
1c0227f90c
Merge branch 'master' into RCWL-9620
2024-04-23 14:19:08 -05:00
Jonathan Bennett
57d296e0db
Add better support for the Adafruit PiTFT 2.8 for Native ( #3704 )
...
* Add better support for the Adafruit PiTFT 2.8 for Native
* native: Make touch i2c address configurable
* Bump portduino to pick up I2C features
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-04-23 14:18:51 -05:00
SCWhite
9c9d126f6b
[BOARD] Add new variant: TWC_Mesh ( #3705 )
...
* add new variant: TWC_mesh_v4
* fix trunk format
* fix format under wsl
* change board to TWC_mesh_v4
* change platformio & variant.h properly
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-04-23 14:09:28 -05:00
github-actions[bot]
27f0e42d2f
[create-pull-request] automated change ( #3708 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com>
2024-04-23 13:32:33 -05:00
todd-herbert
4599534616
Terminate an async-full-refresh when caught by determineMode() instead of onNotify() ( #3706 )
2024-04-23 12:00:48 -05:00
Tom Fifield
7acaec8ef5
Add power limit for TW region ( #3701 )
...
The TW region had now power limit set, so defaulted to 16dBm.
The relevant regulation is section 5.8.1 of the Low-power Radio-frequency Devices Technical Regulations, which notes the limits of 0.5W (27dBM) indoor or coastal, 1.0W (30dBM) outdoor.
This patch updates the power limit to 27dbM, using the the lower limit specified in the regulations to be conservative.
Regulation references:
https://www.ncc.gov.tw/english/files/23070/102_5190_230703_1_doc_C.PDF (latest English version)
https://gazette.nat.gov.tw/egFront/e_detail.do?metaid=147283 (latest Chinese version, February 2024)
2024-04-23 07:11:22 -05:00
Nicholas Baddorf
d0e81b9151
Fixed node and channel selection for t-deck ( #3695 )
...
This enables the node and channel selection to be accessed by pressing the tab shortcut and then swiping between nodes or pressing tab again to change channels.
(To access the tab function look at my other pull request https://github.com/meshtastic/firmware/pull/3668 )
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-04-23 07:09:26 -05:00
Thomas Göttgens
c6e940af81
Merge branch 'master' into RCWL-9620
2024-04-23 14:04:22 +02:00
Manuel
269e861b43
Merge branch 'master' into tft-gui-work
2024-04-22 23:13:35 +02:00
Gareth Coleman
ec2b854ea2
oops missed the extern enabling little chap
2024-04-22 14:44:59 +01:00
Gareth Coleman
378a2d723e
Merge branch 'RGBLED' of github.com:garethhcoleman/firmware into RGBLED
2024-04-22 14:43:07 +01:00
Gareth Coleman
5dd08e9533
added NeoPixel support using Adafruit library
2024-04-22 14:42:52 +01:00
Gareth Coleman
125add9792
Merge branch 'master' into RGBLED
2024-04-22 14:42:14 +01:00
Andrew Yong
250cf16bf8
Add ability to turn off heartbeat LED blinking ( #3674 )
...
* Add ability to turn off status LED blinking
Fixes #3635 and depends on [protobufs PR #485 ](https://github.com/meshtastic/protobufs/pull/485 )
Signed-off-by: Andrew Yong <me@ndoo.sg>
* led_heartbeat_disabled
* trunk
---------
Signed-off-by: Andrew Yong <me@ndoo.sg>
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-04-22 08:21:50 -05:00
David Ellefsen
30d4c3a945
Updates for esp32s2 build
2024-04-22 11:01:13 +02:00
Gareth Coleman
45fd5e25ac
Merge branch 'master' into RGBLED
2024-04-22 09:15:44 +01:00
Thomas Göttgens
f47b40cf68
fix signedness warnings of NRF52 toolchain
2024-04-22 09:49:06 +02:00
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
Ben Meadors
675d8fe089
Merge branch 'master' into RCWL-9620
2024-04-21 12:37:38 -05:00
Mictronics
0406be82d2
Use correct format specifier and fixed typo. ( #3696 )
...
* Fix LED pinout for T-Echo board marked v1.0, date 2021-6-28
* Merge PR #420
* Fixed double and missing Default class.
* Use correct format specifier and fixed typo.
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-04-21 12:36:37 -05:00
Ric In New Mexico
679e068e19
Missing break in INA3221 i2c scan ( #3692 )
...
* INA3221 Mis-identification fix
* Missing break in INA3221 i2c scan
2024-04-21 12:35:42 -05:00
Thomas Göttgens
952393ca0f
Merge branch 'master' into RCWL-9620
2024-04-21 18:34:40 +02:00
Thomas Göttgens
a231cd2ad0
derp...
2024-04-21 16:35:41 +02:00
Ben Meadors
ac87c0065f
Also refresh timestamp for "timeonly" fixed position nodes ( #3689 )
2024-04-21 08:45:36 -05:00
S5NC
9822a85274
Add board and variant definitions for EBYTE_ESP32-S3 ( #2882 )
...
* Create ESP32-S3-WROOM-1-N4.json
* Create pins_arduino.h
* Create platformio.ini
* Create variant.h
* Update mesh.pb.h
* Update architecture.h
* Update mesh.pb.h
* Update variant.h
* Update variant.h
Add example schematic
* Update architecture.h
* Revert update architecture.h
* Create variant.h
* Create pins_arduino.h
* Create platformio.ini
* Delete variants/E22-900M_S3 directory
* Update architecture.h
* Update variant.h
* Update platformio.ini
* Update variant.h
* Update variant.h
* Update architecture.h
* Update platformio.ini
* Update architecture.h
* Update ESP32-S3-WROOM-1-N4.json
* Update platformio.ini
* Update ESP32-S3-WROOM-1-N4.json
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update pins_arduino.h
* Update architecture.h
* add SX1268 allow
* GPS
* Commit
* Whitespace
* Update variant.h
* Update variant.h
* trunk
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com>
Co-authored-by: S5NC <>
2024-04-21 08:40:23 -05: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
Ben Meadors
1dd19cec6e
Merge branch 'master' into RCWL-9620
2024-04-21 07:34:11 -05:00
Ben Meadors
df718ab294
Merge branch 'master' into RGBLED
2024-04-21 07:31:54 -05:00
todd-herbert
dfc43bae18
Fix crash on shutdown, if Bluetooth not enabled ( #3686 )
...
Previously attempted to call deinit method for a nullptr
2024-04-21 07:25:58 -05:00
todd-herbert
f6cfdfe881
(ESP-32S) Fix "critical error 3" after deep-sleep ( #3685 )
2024-04-21 07:25:12 -05:00
S5NC
820c5dc8c5
Update architecture.h ( #3688 )
2024-04-21 07:24:39 -05:00
Thomas Göttgens
5218aaafcf
Change name
2024-04-21 11:41:52 +02:00
Thomas Göttgens
c480f0870c
Support radar sensor RCWL-9620 on i2c
2024-04-21 11:41:52 +02:00
Gareth Coleman
9e4ef92e6d
lets just define it without guards!
2024-04-21 09:16:50 +01: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
Manuel
566f2eaa5e
Merge branch 'master' into tft-gui-work
2024-04-21 00:32:46 +02:00
mverch67
6d945e06c1
added heartbeat
2024-04-20 23:31:00 +01:00
github-actions[bot]
e72792afc8
[create-pull-request] automated change ( #3683 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com>
2024-04-20 15:58:42 -05:00
Ric In New Mexico
ec39e1136a
INA3221 Mis-identification fix ( #3681 )
2024-04-20 15:58:21 -05:00
Manuel
ffca6c6732
Merge branch 'master' into tft-gui-work
2024-04-20 22:10:30 +02:00
caveman99
0972a8dccb
[create-pull-request] automated change
2024-04-20 18:24:40 +00:00
github-actions[bot]
419eb13968
[create-pull-request] automated change ( #3679 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com>
2024-04-20 09:56:55 -05:00
Manuel
95e9b2e039
Merge branch 'master' into tft-gui-work
2024-04-20 15:38:23 +02:00
github-actions[bot]
e7828c4c64
[create-pull-request] automated change ( #3676 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com>
2024-04-20 07:36:53 -05:00
mverch67
0c291665d8
add X11 panel setting (among others)
2024-04-20 13:06:09 +02:00
Manuel
7217569a55
Merge branch 'master' into tft-gui-work
2024-04-20 03:39:44 +02:00
Manuel
44aa248099
added new display parameters ( #3670 )
2024-04-19 19:27:13 -05:00
Manuel
e8706ec4d2
Merge branch 'master' into tft-gui-work
2024-04-19 20:32:03 +02:00
Gareth Coleman
e0513d4078
ahem, another minor edit to have another go at CI
2024-04-19 09:27:10 +01:00
Gareth Coleman
2100f3135e
minor edit to have another go at CI
2024-04-19 09:25:38 +01:00
Gareth Coleman
2f36d4990e
Merge branch 'master' into RGBLED
2024-04-19 08:12:13 +01:00
github-actions[bot]
7a3570aecf
[create-pull-request] automated change ( #3662 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com>
2024-04-18 18:29:50 -05: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
GUVWAF
64edfb76e0
Uplink to MQTT after potentially altering content ( #3646 )
...
Mainly for traceroute module now
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-04-18 17:44:13 -05:00
Gareth Coleman
8ac308e73b
Merge branch 'master' into RGBLED
2024-04-18 23:12:08 +01:00
Gareth Coleman
0ae7674982
I'm sure there's a cleverer way to do this, but I'm stupid and I didn't find it after a few minutes of searching stack overflow
2024-04-18 22:18:50 +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
Gareth Coleman
a149999cec
tidy up first
2024-04-18 20:57:03 +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
Ben Meadors
425a715995
Added one minute throttling to NodeDB save to disk ( #3648 )
...
* Added one minute throttling to NodeDB
* Derp
2024-04-18 14:20:39 -05:00
mverch67
6652683a5e
added ILI9488+ST7796
2024-04-18 15:59:47 +01:00
mverch67
684295cfc2
Merge branch 'tft-gui-work' of https://github.com/meshtastic/firmware into tft-gui-work
2024-04-18 15:36:55 +01:00
Manuel
53c5d2266f
Merge branch 'master' into tft-gui-work
2024-04-18 16:33:16 +02:00
mverch67
dd4bd9856c
fix X11 usage
2024-04-18 14:43:58 +01:00
Ben Meadors
2e13aeeacb
Merge branch 'master' into RGBLED
2024-04-18 07:32:25 -05:00
todd-herbert
747c713ba9
(ESP32) Fix bluetooth after light-sleep; de-init for deep sleep ( #3655 )
2024-04-18 07:27:18 -05:00
Gareth Coleman
4b5549be8f
added vibration notifications
2024-04-18 09:22:31 +01:00
Gareth Coleman
172d271b0b
Merge branch 'master' into RGBLED
2024-04-18 07:11:49 +01:00
Manuel
562cd304ae
Merge branch 'master' into tft-gui-work
2024-04-17 21:56:27 +02:00
mverch67
4c08639198
Merge branch 'tft-gui-work' of https://github.com/meshtastic/firmware into tft-gui-work
2024-04-17 20:51:34 +01:00
mverch67
0840f07e1a
remove PacketServer -> PacketAPI dependency
2024-04-17 20:32:11 +01:00
Jonathan Bennett
d47e9bed19
Add multiple SPI devices for Radio, Display, and Touchscreen ( #3638 )
...
This changeset gives us the ability to specify a separate SPI device for the LoRa, Display, and Touchscreen. The changes in Portduino also add support for specifying a new SPI speed for each transaction. All together, this means that we can let the Linux OS manage the CS lines, and also get much faster SPI speeds, leading to better framerates.
* Add multiple SPI devices to put Radio, Display, and Touchscreen on each their own
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-04-17 14:25:52 -05:00
Manuel
e588b7e97b
Merge branch 'master' into tft-gui-work
2024-04-17 15:20:26 +02:00
mverch67
a98394327f
add portduino seetingsMap configuration
2024-04-17 14:11:33 +01:00
GUVWAF
bc085ab840
Fix #3641 : Always set MAC when picking new NodeNum ( #3651 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-04-17 07:07:40 -05:00
Ben Meadors
2450031b1b
Add device metrics uptime to MQTT JSON ( #3643 )
...
* Add device metrics uptime to MQTT JSON
* Cast a spell
2024-04-17 07:00:18 -05: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
86223d8806
Merge branch 'RGBLED' of github.com:garethhcoleman/firmware into RGBLED
2024-04-16 21:41:57 +01:00
Gareth Coleman
0632b96fcb
just tiny tweak to minimise changes
2024-04-16 21:40:13 +01:00
Gareth Coleman
dcfc9c9f03
Merge branch 'meshtastic:master' into RGBLED
2024-04-16 21:29:12 +01:00
Gareth Coleman
8a3322fbcb
rgb led support for unPhone
2024-04-16 21:28:12 +01:00
David Ellefsen
55c9c3b298
Support for the ATGM336H series of GPS modules ( #3610 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-04-16 09:03:51 -05:00
Andrew Yong
9599549477
Add configuration option for LoRa Region Code override for region-locked builds/variants ( #3540 )
...
The main use case for this will be to create a custom Heltec WiFi LoRa 32 V3 SG_923 variant, which will be pre-flashed and sent for regulatory approval for retail sale.
Signed-off-by: Andrew Yong <me@ndoo.sg>
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-04-16 09:03:36 -05:00
S5NC
e813703bf5
Add support for CDEBYTE_EoRa-S3 ( #3613 )
...
* Create CDEBYTE_EoRa-S3.json
* Update CDEBYTE_EoRa-S3.json
* Update architecture.h
* Create variant.h
* Create platformio.ini
* Create pins_arduino.h
* Update variant.h
* Update variant.h
* Update variant.h
* Trunk format
* update variant.h
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
Co-authored-by: S5NC <>
2024-04-16 09:00:16 -05:00
github-actions[bot]
699ea74672
[create-pull-request] automated change ( #3642 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com>
2024-04-16 08:01:32 -05:00
todd-herbert
a01069a549
No more printing power-state changes to screen ( #3640 )
2024-04-16 07:36:14 -05:00
Gareth Coleman
3413b9da41
Fixed XPT2046 syntax and using unPhone library to clean up support ( #3631 )
...
* Fixed XPT2046 syntax and using unPhone library to clean up main and TFTDisplay.
* strange extra edits removed wtf
2024-04-16 07:29:08 -05:00
Ben Meadors
2f9b68e08b
File management changes (Part 2 - Reboot instead of reformat NRF52 after two failed file saves) ( #3630 )
...
* Add LoadFileState to differentiate types of success / failures
* Try rebooting NRF52s with multiple failed saves
* Trunkate
2024-04-15 16:36:22 -05:00
Ben Meadors
27ae4399bc
Zero hop always for connected node ( #3634 )
2024-04-15 16:35:52 -05:00
Gareth Coleman
385d7296fe
strange extra edits removed wtf
2024-04-15 17:37:39 +01:00
Gareth Coleman
d1cd686644
Fixed XPT2046 syntax and using unPhone library to clean up main and TFTDisplay.
2024-04-15 17:24:08 +01:00
Gareth Coleman
1291da746b
Support for alt I2C address for LSM6DS3 sensor, identification of TCA9555 IO Expander, resolve serial hang issue ( #3622 )
...
* basic identification of TCA9555
* recognise LSM6DS3 on alt address
* keep variant.h changes out of this PR
* 2nd attempt to keep variant.h changes out of this PR
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-04-15 07:30:45 -05:00
Ben Meadors
2803fa964e
Add LoadFileState to differentiate types of success / failures ( #3625 )
2024-04-15 07:22:05 -05:00
todd-herbert
1d97544041
Wireless Paper: Fix BLE after Lightsleep ( #3629 )
...
* NimBLE deinit for deep-sleep only
* Optionally disable blink during light-sleep
* Advised to revert "blink disable"
This reverts commit 66347ce19b
.
2024-04-15 06:50:42 -05:00
Jonathan Bennett
5b52c31a76
Fix HAS_WIRE logic in main
2024-04-14 16:44:28 -05:00
Jonathan Bennett
00d4c011c7
Fix sx126x error log logic
2024-04-14 16:44:28 -05:00
Jonathan Bennett
1447148811
Make sure settingsStrings get initialized
2024-04-14 16:44:28 -05:00
Ben Meadors
4f205718f0
Device telemetry uptime in seconds ( #3614 )
2024-04-14 10:27:01 -05:00
Manuel
5047468d9f
fix/enhancement: TFT device powersave (part 3) ( #3600 )
...
* fix: device TFT powersave (part 3)
* trunk fmt
* trunk fmt
* undo bluetooth deinit from #3596
* revert code for heltec tracker
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-04-14 09:11:27 -05:00
Manuel
ec3971bce5
fix upDown ISR ( #3612 )
2024-04-14 08:11:22 -05:00
Jonathan Bennett
0a246bfe9b
Add more useful error output in radio interfaces ( #3615 )
...
* Add more useful error output in radio interfaces
* trunk
2024-04-14 00:29:42 -05:00
Manuel
2d2caf3dca
Merge branch 'master' into tft-gui-work
2024-04-13 07:52:51 +02:00
Ben Meadors
2a6e26620e
Auto-favorite our node ( #3609 )
2024-04-12 20:17:25 -05:00
Manuel
7578d40455
Merge branch 'master' into tft-gui-work
2024-04-12 22:12:13 +02:00
Jonathan Bennett
3f45c2d4f0
Fix another LOG_DEBUG message that should be LOG_ERROR ( #3607 )
2024-04-12 14:14:56 -05:00
Jonathan Bennett
11adfe05ce
Drop unishox2 functions from Router ( #3606 )
2024-04-12 14:06:05 -05:00
Manuel
4c9646f7d9
fix: device sleep (part 1) ( #3590 )
...
* fix sleep part 1
* always show wakeup reason in debug log
* fix screen turn on issue
* avoid unnecessary reboot when entering light sleep
* set DIO1 based on radio type
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-04-12 10:01:24 -05:00
todd-herbert
178877f2d9
Enable T-Echo touch button by default ( #3604 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-04-12 07:18:36 -05:00
Gareth Coleman
f4a2023dba
LSM6DS3TR-C support ( #3593 )
...
* started work on pulling in the unphone library and dependencies, to do e.g. power switch management and etc.; currently failing at Adafruit_ImageReader
* now compiles with unphoneLibrary included
* successfully pulled in unphone library to manage power switch and init vibe motor and etc.
doesnt print to serial tho...
* simplified the build a bit; when doing meshtastic do not depend on the MCCI lora libs etc., then also no need to config them via build flags
* version that doesnt trigger brownout
* cleaned up initVariant a little
* note re. GPS
* back to mesh upstream version
* this time we're back to mesh upstream version
* getting LSM6DS3TRC driver installed
* shake to wake works, set threshold quite low may need increasing
* whats the crack with these end of file changes?
* paramatize the wake threshold
* try to get the PR to just include real changes
* got the right config item and also not giving compiler messages
* moved the lib_deps for the LSM6DS3TRC driver from our variant platformio.ini to the main one in root so all boards have it
* stuupid error #define-ing
---------
Co-authored-by: Hamish Cunningham <hamish@gate.ac.uk>
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-04-11 19:40:14 -05:00
Manuel
927d07e2c6
fix: device PMU shutdown (part 2) ( #3596 )
...
* fix: device PMU shutdown (part 2)
* fix error + enable nimble deinit
2024-04-11 19:39:07 -05:00
github-actions[bot]
a4a8556aa2
[create-pull-request] automated change ( #3595 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com>
2024-04-11 07:41:37 -05:00
todd-herbert
8e29efcb50
Fix button interrupt after light sleep ( #3587 )
...
* Make ButtonThread instance extern
Previously was a static local instance in setup(). Now declared in ButtonThread.cpp, accessible via extern declaration in ButtonThread.
* Extract attachInterrupt() calls to public method; create matching method for detachInterrupt()
* Change suspension of button interrupts for light-sleep
* Fix declaration for ARCH_PORTDUINO
* Remove LOG_DEBUG used during testing
* Don't assume device has a button..
* Guard entire constructor code
* Don't use BUTTON_PIN with ARCH_PORTDUINO
---------
Co-authored-by: Manuel <71137295+mverch67@users.noreply.github.com>
2024-04-11 07:02:50 -05:00
GUVWAF
3bee6ce9c3
Only set NodeNum based on MAC if it's still zero ( #3585 )
...
* Only set NodeNum based on MAC if it's still zero
* Already declared
2024-04-10 11:29:29 -05: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
github-actions[bot]
daa64b055a
[create-pull-request] automated change ( #3579 )
...
Co-authored-by: caveman99 <caveman99@users.noreply.github.com>
2024-04-09 08:00:19 -05:00
Manuel
f50d8a4b85
Merge branch 'master' into tft-gui-work
2024-04-09 08:40:30 +02:00
Thomas Göttgens
ea61808fd9
tryfix: use UTC on Phone API ( #3576 )
2024-04-08 17:26:23 -05:00
Manuel
bec15f030c
Merge branch 'master' into tft-gui-work
2024-04-08 07:58:02 +02:00
Thomas Göttgens
65e5bdc212
display log and onscreen times in local timezone
2024-04-08 00:10:54 +02:00
caveman99
2db061ded9
[create-pull-request] automated change
2024-04-07 13:58:58 +00:00
mverch67
c0a5304ed7
refactoring part 3: move PacketClient/Server into lib
2024-04-07 15:22:06 +02:00
mverch67
d369c5b89e
USE_PACKET_API compiler switch
2024-04-07 12:45:00 +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
1c73b420d5
Merge branch 'master' into tft-gui-work
2024-04-06 21:02:56 +02:00
todd-herbert
5b5f9c62b5
Remap backlight toggle and touch button ( #3560 )
...
* Update E-Ink display after sending adhoc ping or disable/enable GPS
* Resume display updates when touch button pressed
* Use touch hold as modifier; change double-click behavior for user button
* Fix preprocessor exclusions
* Purge backlight behavior
* Distinguish between 3x and 4x multi-presses
* Touch button considers "Wake screen on tap or motion" user-setting
* Don't assume device has BUTTON_PIN
* Rename misleading method
2024-04-06 08:04:26 -05:00
mverch67
9e6766b081
refactoring part 2: move queue stuff into library
2024-04-06 13:53:08 +02:00
mverch67
25d8be327d
refactoring part 1: remove MeshPacketClient/Server layer
2024-04-06 13:27:22 +02:00
Manuel
e6a87b47f2
Merge branch 'master' into tft-gui-work
2024-04-05 18:08:40 +02:00
Gareth Coleman
902f38238d
This change to the I2C Scan is to distinguish between two devices ( #3554 )
...
sharing the same I2C address, the QMI8658 IMU and BQ24295 PMU.
2024-04-05 07:20:22 -05:00
Manuel
26606a1cf7
Merge branch 'master' into tft-gui-work
2024-04-04 22:41:09 +02:00
Manuel
5a6bc001d8
Merge branch 'master' into tft-gui-work
2024-04-04 11:07:59 +02:00
Gareth Coleman
4cdfae71cf
first attempt at getting trunk to do linting
2024-04-04 11:00:10 +02:00
Gareth Coleman
be889015f7
New device unPhone using HX8357D LCD and XPT2046 touchscreen
2024-04-04 11:00:10 +02:00
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