Jonathan Bennett
30fbcabf84
add conffiles to .deb packaging ( #3722 )
2024-04-25 14:23:38 -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
Gareth Coleman
ac16ccf40c
fix for unPhone hangs during boot without sd card present ( #3709 )
...
* work around sd card hang if not present
* comment out the define for HAS_SDCARD
2024-04-24 06:41:05 -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
3302fbcc53
Merge pull request #3647 from garethhcoleman/RGBLED
...
Support for generic 4pin RGB LEDs (both CC and CA) and NeoPixels, also RGB LED and vibration notification support for unPhone
2024-04-23 13:57:23 +02:00
Gareth Coleman
ccbf635eef
corrected a bit of overzealous tidying
2024-04-22 17:21:41 +01:00
Gareth Coleman
6669b22db3
tidied up, prob broke everything
2024-04-22 16:37:05 +01: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
Thomas Göttgens
8b5fad21b0
Merge pull request #3693 from titan098/updates_for_esp32s2_build
...
Updates for esp32s2 builds
2024-04-22 13:56:14 +02: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
ac6a668362
Merge pull request #3697 from meshtastic/nrf52-signfix
...
fix signedness warnings of NRF52 toolchain
2024-04-22 10:13:38 +02:00
Thomas Göttgens
f47b40cf68
fix signedness warnings of NRF52 toolchain
2024-04-22 09:49:06 +02:00
quimnut
fd9461505f
adjust adc for rak11310 devices ( #3698 )
2024-04-21 19:51:02 -05:00
Ben Meadors
84edaabfe9
Merge branch 'master' into RGBLED
2024-04-21 14:46:18 -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
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
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
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
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
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
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
Thomas Göttgens
ef9808cdd6
Merge pull request #3680 from meshtastic/create-pull-request/patch
...
Changes by create-pull-request action
2024-04-20 20:25:14 +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
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
Manuel
44aa248099
added new display parameters ( #3670 )
2024-04-19 19:27:13 -05: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]
65bde8538f
[create-pull-request] automated change ( #3663 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-04-18 20:33:23 -05: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
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
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
Oliver Seiler
2e14234b77
don't enable the CDC interface already at boot ( #3652 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-04-17 16:55:47 -05: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
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
Jonathan Bennett
7d3175dc83
More useful default input device for Pi 400 ( #3639 )
2024-04-16 07:22:31 -05:00
github-actions[bot]
441638c2eb
[create-pull-request] automated change ( #3636 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-04-15 20:23:49 -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
Jonathan Bennett
f1a1834ee2
Update portduino to include SPI and setSetial fixes ( #3611 )
2024-04-13 16:14:15 -05:00
Ben Meadors
2a6e26620e
Auto-favorite our node ( #3609 )
2024-04-12 20:17:25 -05: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
Ben Meadors
b4009f9f2f
New fixed copy-pasted more corrector hash
2024-04-12 11:49:35 -05:00
Jonathan Bennett
917b739e62
Update TinyGPS version to un-derped commit
2024-04-12 11:29:08 -05:00
Ben Meadors
2c4db16336
TinyGPSAltitude support for negative altitude ( #3605 )
2024-04-12 10:49:14 -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
Oliver Seiler
8fd32f3452
enable USB CDC ( #3597 )
2024-04-12 07:19:48 -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
Jonathan Bennett
6de0363eea
Pin RadioLib to 6.5.x ( #3601 )
2024-04-12 07:17:43 -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
fcab20fb3b
Merge pull request #3580 from meshtastic/add-iaq
...
add BME680 IAQ reading
2024-04-09 21:55:42 +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
rcarteraz
6e7405e56b
add unphone ( #3584 )
2024-04-09 12:26:03 -05:00
rcarteraz
77082e35f5
Add unPhone to S3 build scripts ( #3583 )
...
* add unphone to s3 devices
* add unphone
2024-04-09 11:37:38 -05: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
Thomas Göttgens
ec74fba2bd
update to nanopb 0.4.8 and fix proto regen script ( #3578 )
...
* update to nanopb 0.4.8 and fix proto regen script
* trunk, damnit
2024-04-09 07:40:55 -05:00
github-actions[bot]
e89575bfd1
[create-pull-request] automated change ( #3577 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-04-08 18:43:10 -05:00
Thomas Göttgens
ea61808fd9
tryfix: use UTC on Phone API ( #3576 )
2024-04-08 17:26:23 -05:00
Thomas Göttgens
b14ac777f1
Merge pull request #3570 from meshtastic/local-time-display
...
display log and onscreen times in local timezone
2024-04-08 09:18:41 +02:00
Thomas Göttgens
65e5bdc212
display log and onscreen times in local timezone
2024-04-08 00:10:54 +02:00
Jonathan Bennett
aa3280c18c
add trunk ignore for docker chmod ( #3568 )
...
* add trunk ignore for docker chmod
* Fix incorrect comment type
2024-04-07 17:08:17 -05:00
Jonathan Bennett
68e657fd07
Actually fix Docker - hopefully
2024-04-07 15:52:43 -05:00
Jonathan Bennett
47b8f7b6c6
Don't forget to change directory owner
2024-04-07 14:34:19 -05:00
Jonathan Bennett
fde20db95f
move chmod -t to root section
2024-04-07 14:22:39 -05:00
Jonathan Bennett
40a7fd145a
Update Dockerfile to remove sticky bit during build ( #3567 )
...
* Update Dockerfile to remove sticky bit during build
* no sudo?
2024-04-07 14:15:03 -05:00
Thomas Göttgens
33842b67e8
Merge pull request #3565 from meshtastic/create-pull-request/patch
...
Changes by create-pull-request action
2024-04-07 16:00:03 +02:00
caveman99
2db061ded9
[create-pull-request] automated change
2024-04-07 13:58:58 +00: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
Jared Quinn
0e9f1beb40
Native Linux Build (ARM support and webserver deps) ( #3506 )
...
* Added webserver libraries to build libs
* Revert "Added webserver libraries to build libs"
This reverts commit bcc72a06b9 .
* Added piwebserver library dependencies to native build
* Add webserver libraries to apt install for native build
* Revert additional libraries added by mistake
* Address trunk check issues on Dockerfile
* Ignore linter checks for pinning build packages and apt-get
---------
Co-authored-by: Jonathan Bennett <jbennett@incomsystems.biz >
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-04-06 10:32:15 -05:00
Jonathan Bennett
03f60dcb49
Make instructions clearer in config.yaml comments ( #3559 )
2024-04-06 08:04:49 -05: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
Ric In New Mexico
577de1e517
Merge pull request #3557 from fuutott/master
...
Update platformio.ini
2024-04-05 14:56:38 -06:00
fuutott
f6e6f975c0
Update platformio.ini
...
should be dash instead of underscore
2024-04-05 14:58:00 +01: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
Thomas Göttgens
9b2d862b7d
Merge pull request #3544 from garethhcoleman/unphone
...
New device unPhone using HX8357D LCD and XPT2046 touchscreen
2024-04-04 12:47:12 +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
Thomas Göttgens
f0b6ff9b2d
Merge pull request #3545 from todd-herbert/paper-deepsleep-current
...
Reduce deep-sleep current for Heltec Wireless Paper
2024-04-04 10:59:20 +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
AeroXuk
2caed6d29c
Feature parity between Pico and Pico W ( #3538 )
2024-04-02 15:36:15 -05: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
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
rcarteraz
15501e84dd
Add Station-G2 to install scripts ( #3525 )
...
* add station g2 to device-install.bat
* add station-g2 to device-install.sh
* remove extra space
2024-04-01 05:53:19 -05: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
Jorropo
279464f96d
linux-native: only install linux native deps ( #3510 )
...
This is a couple times faster because platformio checks all environment sequentially.
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-03-29 07:42:20 -05:00
Jorropo
3cf6c47bab
replace arch with uname -m for arch linux ( #3508 )
...
From the manpage:
> arch - print machine hardware name (same as uname -m)
Arch Linux does not have the `arch` alias, only `uname`, so use `uname` to fix this issue:
> ```
> ./bin/build-native.sh: line 18: arch: command not found
> ```
Co-authored-by: Jonathan Bennett <jbennett@incomsystems.biz >
2024-03-29 01:01:40 -05: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
github-actions[bot]
7b391d1a9f
[create-pull-request] automated change ( #3507 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-03-28 19:27:34 -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
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
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
Jonathan Bennett
1542afb847
Add libulfius2.7 to .deb debendencies ( #3494 )
2024-03-26 00:58:47 -05: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
code8buster
5f529f7ca3
Remove unused defines from nrf52 variants ( #3482 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-03-24 13:41:28 -05:00
github-actions[bot]
b4dbc2b4bf
[create-pull-request] automated change ( #3485 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-03-24 12:44:44 -05:00
Ben Meadors
63df972d42
Revert "[create-pull-request] automated change ( #3483 )" ( #3484 )
...
This reverts commit c87fdfece7 .
2024-03-24 08:11:47 -05:00
github-actions[bot]
c87fdfece7
[create-pull-request] automated change ( #3483 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-03-23 19:47:43 -05:00
GUVWAF
381d5230b8
Merge pull request #3480 from GUVWAF/logsMapReport
...
Don't spam logs if no position with map reporting (2)
2024-03-23 20:12:25 +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
Jonathan Bennett
79cfb1e876
Revert "Bump actions to node 20 ( #3461 )" ( #3462 )
...
This reverts commit defeb8e52b .
As per https://github.com/actions/upload-artifact/issues/478 the new version of upload-artifact includes a breaking change.
2024-03-21 16:50:44 -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
Jonathan Bennett
907d075917
Revert previous attempt
2024-03-21 16:17:13 -05:00
Jonathan Bennett
9c88906acc
Remove double run of build-raspbian
2024-03-21 16:14:45 -05:00
Jonathan Bennett
defeb8e52b
Bump actions to node 20 ( #3461 )
2024-03-21 15:24:57 -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
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
github-actions[bot]
5e832e2fc6
[create-pull-request] automated change ( #3444 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-03-19 12:02:29 -05: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
711b85cfe8
fix WLAN crash ( #3435 )
...
* fix WLAN crash
* link to commit in arduinothread
* revert usb mode
2024-03-18 15:42:44 -05:00
github-actions[bot]
b98176e73e
[create-pull-request] automated change ( #3434 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-03-18 07:33:01 -05: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
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
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
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
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
4d0d82f7e7
Merge pull request #3411 from meshtastic/rp2040-slowclock
...
(2/3) Add Slow Clock Support for RP2040 platform.
2024-03-15 20:56:50 +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
Thomas Göttgens
cb3740708b
Merge pull request #3410 from meshtastic/gnss-l76b
...
(1/3) Support L76B GNSS chip found on pico waveshare shield.
2024-03-15 20:16:06 +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
Thomas Göttgens
50cc4cfcf1
We don't use Lorawan ( #3417 )
...
#warning "Persistent storage not supported!" [-Wcpp]
2024-03-15 08:07:54 -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
Ben Meadors
a085c3ddb3
Try-fix router missed messages ( #3405 )
2024-03-14 17:00:57 -05: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
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
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
Ben Meadors
2efe436102
Update nrf52 platform and consolidate Adafruit Bus IO ( #3393 )
2024-03-13 07:20:51 -05:00
Thomas Göttgens
fb16390205
Merge pull request #3395 from tavdog/patch_buzzer_no_turnoff_off_by_one_error
...
fix off by one error
2024-03-13 09:23:14 +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
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
Thomas Göttgens
6215495ccc
Merge pull request #3379 from meshtastic/create-pull-request/patch
...
Changes by create-pull-request action
2024-03-12 10:26:17 +01:00
GUVWAF
045dda64e7
Merge pull request #3383 from AeroXuk/patch-1
...
Fix for incorrect mapTopic mqtt path
2024-03-12 08:39:30 +01:00
AeroXuk
affbd7f2b9
Update MQTT.cpp
...
Bug fix for #3382
2024-03-12 02:13:52 +00:00
thebentern
f9bf9e2dcc
[create-pull-request] automated change
2024-03-11 21:43:46 +00:00
GUVWAF
5f47ca1f32
Don't spam logs if no position with map reporting ( #3378 )
2024-03-11 15:58:45 -05:00
Thomas Göttgens
6a27e62bcf
Merge pull request #3356 from todd-herbert/eink-special-frames
...
Handle "special-frames" with EInkDynamicDisplay
2024-03-11 21:43:39 +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
Todd Herbert
1f766a04aa
purge unused enum val
2024-03-12 04:04:28 +13:00
Todd Herbert
1d31be939f
Swap Wireless Paper V1.0 dependency to meshtastic/GxEPD2
2024-03-12 03:06:01 +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
David Ellefsen
3a8f623f8a
Change '! -z' to '-n' to addresss shellcheck/SC2236
2024-03-11 12:09:00 +01:00
David Ellefsen
f09e5c96fc
Add permission: read-all to silence CKV_GHA_1 check
2024-03-11 12:09:00 +01:00
David Ellefsen
a493ab526f
Trunk fmt to correct failing PR check for device-install.sh
2024-03-11 12:09:00 +01:00
David Ellefsen
b3ec3c20fb
Update device-install.sh files to account for bleota-c3.bin file
2024-03-11 12:09:00 +01:00
David Ellefsen
b65b9e5d65
Include esp32c3 build step
2024-03-11 12:09:00 +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
eb372c190e
Merge pull request #3365 from GUVWAF/mapReport
...
Periodic reporting of device information to a map via MQTT
2024-03-10 20:55:31 +01:00
Thomas Göttgens
70df36b5db
Merge branch 'master' into mapReport
2024-03-10 20:54:48 +01:00
Thomas Göttgens
e33d014257
Merge pull request #3351 from thoherr/refactor-paxcounter
...
Refactor paxcounter
2024-03-10 18:49:16 +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
Thomas Göttgens
d1a25947e3
Merge pull request #3366 from meshtastic/create-pull-request/patch
...
Changes by create-pull-request action
2024-03-10 15:40:05 +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
Andre K
3da1b74a10
refactor: always send range tests with zero hops
2024-03-10 10:50:02 +01:00
Todd Herbert
c0a3b20aa3
while drafting, build from todd-herbert/meshtastic-GxEPD2#async
2024-03-10 13:45:35 +13: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
Todd Herbert
d5c11d1892
change dependency from private repo to meshtastic/GxEPD2
2024-03-10 02:11:49 +13:00
Ben Meadors
aaa5d61162
Merge branch 'master' into eink-async
2024-03-09 07:06:04 -06:00
Ben Meadors
3efd606ea7
Bump to 2.3.0
2024-03-09 07:01:46 -06:00
Ben Meadors
42286edc81
Merge branch 'master' into eink-async
2024-03-09 06:59:56 -06:00
Mark Trevor Birss
29335a18f5
Update variant.h ( #3354 )
2024-03-09 06:55:02 -06: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
23926210d1
increase fast-refresh limit for T-Echo
...
https://github.com/meshtastic/firmware/pull/3339#issuecomment-1986245727
2024-03-09 09:57:30 +13:00
Todd Herbert
7275c21f6b
formatting
...
responds to https://github.com/meshtastic/firmware/pull/3339#discussion_r1518175434
2024-03-09 09:34:53 +13:00
Todd Herbert
ac89bb3387
initial config for T-Echo
2024-03-09 09:30:34 +13: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
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
Thomas Göttgens
a4830e0ab1
Merge pull request #3347 from thoherr/add-bmp085_180-sensor
...
add BMP085 (and BMP180) sensor (temperature and air pressure)
2024-03-08 12:02:43 +01:00
Thomas Herrmann
763ae9f2e2
add BMP085 (and BMP180) sensor (temperature and air pressure)
2024-03-07 23:58:04 +01:00
Ben Meadors
7f12505716
Update trunk
2024-03-07 15:52:08 -06:00
Ben Meadors
b4940b476d
Trunk
2024-03-07 15:51:28 -06: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
Jonathan Bennett
bfce3938d2
Add openssl as dependency to meshtasticd .deb
2024-03-06 18:54:09 -06:00
Jonathan Bennett
46ad623785
Add webroot to .deb
2024-03-06 17:43:04 -06: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
Jonathan Bennett
9d37a8d17f
Stop Fiddling with Newlines! ( #3341 )
2024-03-06 13:09:46 -06:00
Thomas Göttgens
f5ff77c2b9
Turn off certain modules not wanted in custom builds ( #3337 )
2024-03-05 07:50:52 -06: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
e3063a2785
Turns out bluefruit uses some of these macros even though "we" don't :-/
2024-03-03 09:46:36 -06:00
Ben Meadors
6dbb6583ef
Put these back
2024-03-03 09:33:18 -06:00
Ben Meadors
9b3e519487
Revert "Fix LED pinout for T-Echo board marked v1.0" ( #3304 )
...
* Revert "Fix LED pinout for T-Echo board marked v1.0, date 2021-6-28 (#3051 )"
This reverts commit c2afa879b8 .
* Remove / comment out unused LED pins
2024-03-03 08:55:52 -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
todd-herbert
7aee014f5e
Add Heltec Wireless Paper V1.0 to the build matrix ( #3306 )
2024-02-28 09:20:20 -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
github-actions[bot]
f7758b4e44
[create-pull-request] automated change ( #3298 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-02-26 21:32:49 -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
Ben Meadors
ce0e5c0ce7
SDA and SCL remap
2024-02-26 19:49:43 -06:00
Ben Meadors
59bbd1ad00
Revert I2C changes
2024-02-26 19:32:58 -06:00
Thomas Göttgens
4796c8edc4
Update trunk to latest version ( #3295 )
2024-02-26 10:38:16 -06:00
Thomas Göttgens
f708e41ba7
Merge pull request #3293 from meshtastic/font-fix
...
fix compilation for Cyrillic fonts
2024-02-26 10:20:33 +01: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
Thomas Herrmann
d434117ffd
add UI frame for PaxCounter module ( #3285 )
...
* add UI frame to display PaxCounter module data
* only acquire screen when paxcounter is active, i.e. enabled and wifi and ble are both off
* sync font #define with other occurrences in code
* protect screen specific code with #if HAS_SCREEN
* limit upload_speed to 115200 for TLORA_V2_1_16
* fix failing trunk checks; sorry
* Revert "limit upload_speed to 115200 for TLORA_V2_1_16"
This reverts commit 4eb549c5e8 .
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-02-25 13:03:54 -06:00
GUVWAF
0f27992c5a
Ignore JSON enabled setting on nRF52 platforms ( #3286 )
...
Not supported, see #2804
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-02-25 07:44:08 -06:00
GUVWAF
824991c178
Ignore MQTT by default if region has a duty cycle limit ( #3277 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-02-25 07:43:44 -06:00
GUVWAF
02192e1163
More StoreForward updates ( #3274 )
...
* More StoreForward updates
* Disable heartbeat again if not in config
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-02-25 07:29:34 -06:00
Thomas Göttgens
d47f55289f
Merge pull request #3276 from rcarteraz/update-nodedb-log
...
update node db lite log message
2024-02-25 12:36:38 +01:00
rcarteraz
b98ddbddf4
update node db lite log message
2024-02-25 12:36:21 +01:00
Thomas Göttgens
6932f07310
Add Station G2 to the build matrix
2024-02-25 12:11:11 +01:00
Thomas Göttgens
a8d37475b6
Merge pull request #3282 from neilhao/master
...
Station G2
2024-02-25 12:08:09 +01:00
Neil Hao
8726cb830e
Trunk don't like long line:)
2024-02-25 18:44:43 +08:00
Neil Hao
8c7ee1a7bb
Corrected the Trunk Problem
2024-02-25 18:32:46 +08:00
Neil Hao
1fe230a065
Undo VS automatic modifications to this file
2024-02-25 08:18:30 +08:00
neil
74714bf0c5
station-g2
2024-02-24 14:28:58 -08:00
Thomas Göttgens
8bfe5a2bd4
Merge pull request #3280 from meshtastic/create-pull-request/patch
...
Changes by create-pull-request action
2024-02-24 21:09:17 +01:00
caveman99
9c4d1b5ac8
[create-pull-request] automated change
2024-02-24 20:08:49 +00:00
Jonathan Bennett
c2085c2c88
Fix default stance in position_precision
2024-02-24 13:29:07 -06:00
Ben Meadors
730429fc9b
Routers / Repeaters deep sleep default w/ LoRA interrupts ( #3251 )
...
* Experimenting with deep sleep routers / repeaters
* Make decision to SDS or LS based on Router/Repeater role
* Don't sleep LoRA on router / repeater deep sleep
* Guards
* Platform guards
* Rename method
2024-02-24 07:55:00 -06:00
rcarteraz
f1b314251c
remove flasher and replace with web on unset screen ( #3272 )
2024-02-24 07:49:15 -06:00
Jonathan Bennett
b2ea1e23be
Move imprecise locations to grid middle
2024-02-23 17:27:47 -06:00
todd-herbert
3ad34f8759
E-Ink: change inaccurate terminology ( #3269 )
...
Follows a discussion with @markbirss on discord
2024-02-23 07:45:23 -06:00
Mark Trevor Birss
f95b90364a
Update EInkDisplay2.cpp ( #3264 )
...
Fix for line at bottom of e-ink display. From @todd-herbert new e-ink enhancements
2024-02-22 16:18:05 -06:00
Jonathan Bennett
7706786541
Correct powersave settings for ublox
2024-02-22 13:41:43 -06:00
Jonathan Bennett
eb2fa727a7
Adds support for position_precision
2024-02-22 13:41:43 -06:00
Jonathan Bennett
790f100620
Protobuf bump
2024-02-22 13:41:43 -06:00
Jonathan Bennett
0153daa8ba
Minor typo fix
2024-02-22 13:41:43 -06:00
Ben Meadors
880afb9477
Protos
2024-02-22 07:18:53 -06:00
todd-herbert
78b4a65635
E-Ink: additional conditions for "Dynamic Partial" mode ( #3256 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-02-21 13:00:56 -06:00
GUVWAF
eb8a12e5a2
Refactor MQTT: only publish on LoRa Tx if packet is from us and on Rx if not ( #3245 )
...
Such that direct message to MQTT node gets published and we get rid of always rebroadcasting when MQTT is enabled
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-02-21 13:00:14 -06:00
Ben Meadors
9784758c7b
Remove heltec-v1
2024-02-21 10:03:45 -06:00
Ben Meadors
e0c7f7207b
Manual trunk
2024-02-21 07:45:23 -06:00
Mark Trevor Birss
23df6ddf01
[BOARD] Adds Waveshare ESP32-S3-PICO ( #3081 )
...
* Update architecture.h
* Add files via upload
* Add files via upload
* Update EInkDisplay2.cpp
* Update platformio.ini
* Update architecture.h
* Update EInkDisplay2.cpp
* Update platformio.ini
* Update EInkDisplay2.cpp
* Update platformio.ini
* Update EInkDisplay2.cpp
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com >
2024-02-21 07:18:36 -06:00
github-actions[bot]
7a1c565701
[create-pull-request] automated change ( #3255 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-02-20 19:31:48 -06:00
Gabriele Russo
0bfac7b5f9
Fixes [3074] Heltec Tracker Screen issues + minor fixes ( #3213 )
...
* Fix Heltec Tracker Screen issues
Fix Heltec Tracker Screen issues like wrong offsets, display size and screen not shutting down.
Divides board into two different envs for 1.0 and 1.1 version PCB
* Helteck wireless tracker default version V1_1
* rename heltec tracker 1.1 - trunk fmt
rename varian of heltec tracker 1.1 to "heltec tracker" to be retro-compatible.
Trunk formatting.
* Heltec Tracker increase Screen update to 3Hz
Heltec Tracker increase Screen update to 3Hz from 1Hz
2024-02-20 07:27:48 -06:00
github-actions[bot]
5a3180a525
[create-pull-request] automated change ( #3247 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-02-19 07:02:36 -06:00
GUVWAF
5672e6825d
feat: implement StoreAndForward lastRequest map handling (2) ( #3246 )
...
* feat: implement StoreAndForward `lastRequest` map handling
* Correct type, check if NodeNum is in map
---------
Co-authored-by: andrekir <andrekir@pm.me >
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-02-18 14:27:44 -06:00
Manuel
143ee9cdf6
remove logging from int handler ( #3242 )
2024-02-17 13:25:57 -06:00
Ben Meadors
998013aff3
Add TAK Tracker role behavior ( #3233 )
...
* Proto
* Standalone TAK Tracker
* Add log
* Make TAK_Tracker behave like Tracker
2024-02-16 20:04:21 -06:00
github-actions[bot]
1bacd8641d
[create-pull-request] automated change ( #3232 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-02-16 06:39:53 -06:00
Gabriele Russo
7c9d1b0abf
Battery level with proportional filter and lookup table ( #3216 )
...
* Add battery level with lookup table
now uses a lookup table to better calculate battery level of different cells
* LifePo4 and PB battery table - added voltage filter
removed delay from adc reading, added a software filter to smooth out voltage readings. In those applications battery would last hours to days, no sudden change should be expected so a less frequent voltage reading or a more aggressive filtering could be done.
Note: to speed up convergence i initiliazied the last value to the minimum voltage, there are other and better ways to init the filter.
Added LiFePO4 and PB open circuit volta battery tables,
* Fixed ADC_CTRL , Checks for valid ADC readings
line 230/386 For heltec v3 and heltec tracker a different approach was used with the ADC_CTRL pin, now is more uniform using the same code for the 3 boards.
line 236 Check if the raw reading we are getting is Valid or not, count only the valid readings. This could lead to a division by 0 (improbable) so that's why at line 258 there is a check for that.
* updated OCV values
updated value to not OCV but to very low current, almost the same anyway
* Added Alkaline/Nimh voltage curve
Added Alkaline/Nimh voltage curve for AA/AAA and similar cells
* updates variants for new capacity measurement
* trunk reformatting
* trunk fmt
* Add LTO chemistry
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
Co-authored-by: code8buster <20384924+code8buster@users.noreply.github.com >
2024-02-16 06:09:57 -06:00
Jonathan Bennett
e3c4bc5473
Re-enable GPS on native
2024-02-15 11:46:30 -06:00
Ken McGuire
fdc27fe08b
Enable NMEA Messages on USB port for u-blox receivers ( #3227 )
...
* 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.
---------
Co-authored-by: Jonathan Bennett <jbennett@incomsystems.biz >
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-02-15 11:19:35 -06:00
Ben Meadors
cb4e1840e3
Revert HW_MODEL name
2024-02-14 07:30:01 -06:00
Ben Meadors
007ecd0604
Update protos
2024-02-14 07:23:55 -06:00
GUVWAF
d9bd9bdfb0
StoreForward updates ( #3194 )
...
* StoreForward updates
- Send history in "text" variant
- Don't send history the client already got
- Check if PSRAM is full
- More sensible defaults
* Set `TEXT_BROADCAST` or `TEXT_DIRECT` RequestResponse tag
* feat: E-Ink "Dynamic Partial" (#3193 )
Use a mixture of full refresh, partial refresh, and skipped updates, balancing urgency and display health.
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
* [create-pull-request] automated change (#3209 )
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
* Reset `last_index` if history was cleared, e.g. by reboot
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
Co-authored-by: todd-herbert <herbert.todd@gmail.com >
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
Co-authored-by: Garth Vander Houwen <garthvh@yahoo.com >
2024-02-14 07:07:20 -06:00
Ken McGuire
d2a74a5329
Phase 3 of the GPS rework ( #3220 )
...
* 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
---------
Co-authored-by: Jonathan Bennett <jbennett@incomsystems.biz >
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-02-14 07:06:38 -06:00
todd-herbert
0b466fdca9
fix: Wireless Paper (v1.0 & v1.1) not showing battery percentage ( #3208 )
...
* fix: Wireless Paper (v1.0 & v1.1) not showing battery percentage
Addresses https://github.com/meshtastic/firmware/issues/3131
* refactor: count only valid samples
Responds to https://github.com/meshtastic/firmware/pull/3208#discussion_r1485661096
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-02-13 10:20:48 -06:00
Manuel
30507f5125
refactored ButtonThread, fix IRQ issues ( #3214 )
...
* refactored ButtonThread, fix IRQ issues
* fix copy&paste syntax error
2024-02-12 16:44:21 -06:00
code8buster
c43cbb5795
Merge pull request #3217 from Gabrielerusso/ADC-resolution-fix
...
Fixed ESP32 ADC resolution bug introduced by #3184
2024-02-12 19:59:38 +00:00
Gabrielerusso
124be247c7
Fixed ESP32 ADC resolution bug introduced by #3184
...
Fixed ESP32 ADC resolution bug introduced by #3184 as esp32 analog resolution is already set some line of code before to 12 bit default.
For our usage wouldn't be faster to use 10 bit? .
2024-02-12 20:14:50 +01:00
Ben Meadors
4d18bc0658
V1.1
2024-02-12 07:23:52 -06:00
github-actions[bot]
c8dae33e2f
[create-pull-request] automated change ( #3211 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-02-11 16:00:05 -06:00
rcarteraz
bac7c708bf
LilyGo T-Echo Bootloader UF2 and ZIP packages ( #3210 )
...
Built the LilyGo T-Echo bootloader from source to obtain the UF2 and zip package for updating the bootloader on the devices with outdated bootloaders. The UF2 will allow drag and drop flashing the update, and the zip package is in case adafruit-nrfutil is needed.
I wasn't sure the best location to put this but since we already have the nrf52 flash erase uf2 here, I figured this might be the best. I will be linking to these files in a docs article detailing the process for using them.
2024-02-11 14:10:08 -06:00
github-actions[bot]
96bd898a38
[create-pull-request] automated change ( #3209 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-02-11 07:43:07 -06:00
todd-herbert
36cf9b9ef4
feat: E-Ink "Dynamic Partial" ( #3193 )
...
Use a mixture of full refresh, partial refresh, and skipped updates, balancing urgency and display health.
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-02-11 07:27:22 -06:00
Ben Meadors
ce8673b6dc
Added RP2040-LoRA target ( #3195 )
2024-02-10 20:09:51 -06:00
github-actions[bot]
d52cfc294b
[create-pull-request] automated change ( #3204 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-02-10 20:01:29 -06:00
github-actions[bot]
f11def4246
[create-pull-request] automated change ( #3200 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-02-10 17:56:04 -06:00
Huston Hedinger
13c8dca6b4
[BOARD]: CanaryOne ( #3150 )
...
* compiling w/o e-ink display
* pinout changes
* progress getting LoRa and LCD working
* fix for bootloader, gps pins
* add canary to build matrix
* merge with main
* fix build by excluding BellModem in RadioLib
* fixes for GPS
* Fix LED_BLUE and GPS RX/TX pins
* Variant changes for merge
* make GPS baud rate configurable
* fix debug config
* Canary v1.2 changes
* Fixes for GPS
* pass trunk check
* bump protobufs to master
* update build flags to use CANARYONE enum
* use canaryone throughout for consistency.
* #define 0 is still defined
* add back .vscode/extensions.json
* bump protobufs
* revert manual change to generated file
---------
Co-authored-by: Steven Osborn <steven@lolsborn.com >
2024-02-10 17:55:32 -06:00
Ben Meadors
404d0dda79
Fix - Add GeoChat To field to payloads and handle compression ( #3199 )
...
* WIP ATAK plugin message handling
* Log
* Update size and regen
* Rework protos and remove compression
* Track
* Altitude
* Protos
* Protos and formatting
* Add to column
* Fixes / updates
* Doh!
* S
* Refactoring and compression fixes
* Fix missing (to) from ATAK geochat
* Trunk
* Explicitly set has_to
* Fmt
* Protobufs
2024-02-10 14:20:04 -06:00
github-actions[bot]
514c19a68e
[create-pull-request] automated change ( #3198 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-02-10 14:16:46 -06:00
Ben Meadors
1085b54069
ATAK plugin ( #3189 )
...
* WIP ATAK plugin message handling
* Log
* Update size and regen
* Rework protos and remove compression
* Track
* Altitude
* Protos
* Protos and formatting
* Add to column
* Fixes / updates
* Doh!
* S
* Refactoring and compression fixes
2024-02-09 20:31:10 -06:00
GUVWAF
bcbc2f229d
Only cancel packet in Tx queue if it was already sent out via LoRa ( #3191 )
...
To avoid canceling a transmission if it was already ACKed via MQTT
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-02-09 17:36:16 -06:00
Andrew Yong
74b90d3505
Add Singapore Region ( #3165 )
...
Add 923MHz band for Singapore.
Regulatory reference: https://www.imda.gov.sg/-/media/imda/files/regulation-licensing-and-consultations/ict-standards/telecommunication-standards/radio-comms/imdatssrd.pdf bands 30d.
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-02-09 15:52:08 -06:00
github-actions[bot]
d246c47ae7
[create-pull-request] automated change ( #3192 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-02-09 15:50:00 -06:00
Manuel
54e52ae05f
Improved button-click accuracy ( #3188 )
...
* IRQ triggers button fsm
* revert change that causes raspbian compile-error
2024-02-09 12:06:56 -06:00
todd-herbert
8130b1cf43
feat: initial support for Heltec Wireless Paper v1.0 ( #3181 )
...
E-ink panel is DEPG0213BNS800. Otherwise, identical to v1.1 (?)
Partial refresh supported, but not implemented in this commit.
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-02-08 19:00:13 -06:00
github-actions[bot]
9d4c4f8bd1
[create-pull-request] automated change ( #3186 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-02-08 18:57:23 -06:00
Jonathan Bennett
3b0169ba7a
Adafruit display ( #3179 )
...
* Use uint8_t instead of char in icon_bits
* Add Adafruit PiTFT support
2024-02-08 16:29:15 -06:00
github-actions[bot]
996e72a816
[create-pull-request] automated change ( #3185 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-02-08 16:14:58 -06:00
GUVWAF
a40b4e4d69
MQTT JSON downlink fixes ( #3183 )
...
* Fix getting channel name from MQTT topic
* Allow specifying channel index in JSON field "channel" for downlink
Still requires JSON message to be published to channel named "mqtt"
* Make non-breaking if someone adds another slash
2024-02-08 15:43:24 -06:00
code8buster
f4151a7108
Merge pull request #3184 from meshtastic/rp2040-ADC-hotfix
...
Fix analog adc init resolution for all architectures
2024-02-08 21:36:08 +00:00
Ben Meadors
a3755dfce5
Trunk fmt
2024-02-08 14:56:46 -06:00
code8buster
ca5795d3e7
Fix init resolution for all architectures
2024-02-08 20:46:22 +00:00
Tommy Ekstrand
990ee5dacf
Update link to docs from webserver when file not found ( #3175 )
2024-02-08 14:06:29 -06:00
Ken McGuire
4c55d5d9e4
GPS rework phase 2 updates for M8 and stub for M10 ( #3166 )
...
* 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
---------
Co-authored-by: Jonathan Bennett <jbennett@incomsystems.biz >
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-02-05 09:02:30 -06:00
github-actions[bot]
7db02ad722
[create-pull-request] automated change ( #3161 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-02-01 16:33:40 -06:00
Ben Meadors
7f7c5cbd62
Triple GPS state ( #3157 )
...
* Triple state GPS refactoring
* Skip probe
* Move GPS toggle into the GPSThread
* Consolidate
* make all happy (including me)
* corrected screen texts
* NOT_PRESENT guard in main.cpp
---------
Co-authored-by: mverch67 <manuel.verch@gmx.de >
2024-02-01 15:24:39 -06:00
GUVWAF
0c0a3c4b55
Fix: mark packet sent to MQTT as ACKed only after we sent it out via LoRa ( #3155 )
...
* Fix: mark packet via MQTT as ACKed only after we sent it out via LoRa
* Don't need to check for broadcast, DMs also get implicit ACKs
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-01-31 14:04:52 -06:00
github-actions[bot]
bf762bc58d
[create-pull-request] automated change ( #3156 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-01-31 13:47:17 -06:00
Ben Meadors
84e578323e
Update version.properties
2024-01-31 13:46:48 -06:00
Ben Meadors
bdbe42dfd0
Update version.properties
2024-01-31 12:58:04 -06:00
github-actions[bot]
4f64c4f7b9
[create-pull-request] automated change ( #3154 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-01-30 20:01:00 -06:00
Jonathan Bennett
af5ac32048
Re-order GPS check to eliminate TOO old message ( #3152 )
2024-01-30 17:44:08 -06:00
Ken McGuire
9586c68c65
GPS updates ( #3142 )
...
* 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
---------
Co-authored-by: Jonathan Bennett <jbennett@incomsystems.biz >
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-01-30 17:38:31 -06:00
Artem
ca45888f3e
feat(variants): Add support for TXCO on TLORA_V2_1_6 devices ( #3124 )
...
* feat(variants): Add support for TXCO on TLORA_V2_1_6 devices
* chore: remove long comment
* feat(variants): Add tlora-v2-1-1_6-tcxo to build matrix
* feat(variants): Use RADIOLIB_NC as DIO1 pin for tlora_v2_1_16 with TXCO
* Use generic naming scheme, add variant to build envs
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
Co-authored-by: code8buster <20384924+code8buster@users.noreply.github.com >
2024-01-30 07:06:47 -06:00
Andre K
1e4ecea6fc
update to Meshtastic_nRF52_factory_erase_v2 ( #3146 )
2024-01-29 20:07:09 -06:00
code8buster
d1ea589757
Allow NRF52 ADC overrides; begin simplifying analog battery logic ( #3134 )
...
* Isolate esp32 adc logic gymnastics, try simplifying getBattVoltage
* Set sense resolution for pico platforms
* try silencing cppcheck when variant has no battery pin
* ADC channel for esp-idf calibration
* Missed an rp2040 device
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-01-29 06:14:21 -06:00
GUVWAF
af52dcecdf
Restrict MQTT JSON downlink messages ( #3141 )
...
Channel needs to be named "mqtt"
"from" field should be set to the node number of the transmitter
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-01-29 06:13:56 -06:00
Ben Meadors
0ae4622393
Admin message to delete file ( #3144 )
...
* Protos
* Delete file admin message
2024-01-29 06:10:48 -06:00
Jonathan Bennett
a49740cd56
Adds i2c device configuration to native ( #3143 )
2024-01-28 20:15:29 -06:00
GUVWAF
417feee47f
Fix: return failure when PhoneAPI times out ( #3136 )
...
* Add debug options for RP2040
* Rename: "observed" should be plural: "observables"
* PhoneAPI: return failure on timeout
In `onNotify()`, when disconnected, PhoneAPI removed itself from the list of observers that was looped through in `notifyObservers()`. We should exit that loop in that case.
2024-01-28 07:53:39 -06:00
Jonathan Bennett
d604a76c73
Use correct define for native gos ( #3133 )
2024-01-26 09:06:15 -06:00
Ken McGuire
ac9c5f81b9
Add CircutMess Chatter 2 ( #3125 )
...
* Add Chatter 2 default_envs
* Add Chatter 2 to varients
* Add Chatter 2 specific code to esp32 platform code
* Parameterize TFT_INVERT for Chatter 2 and specify setRotation to 1
* Fix formatting to make Trunk happy
* Remove commented out #define USE_LCC68
* Fix formatting again
* Add chatter2 to the CI matrix
---------
Co-authored-by: code8buster <20384924+code8buster@users.noreply.github.com >
2024-01-26 08:40:16 -06:00
Andre K
d6fa190025
fix: allow MQTT encryption_enabled with json_enabled ( #3126 )
...
* fix: allow MQTT `encryption_enabled` with `json_enabled`
* fix: copy decoded MeshPacket and release memory after use
* fix: use `packetPool` allocCopy and release methods
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-01-25 08:42:34 -06:00
Manuel
f2c04c5504
fix MQTT crash ( #3127 )
2024-01-24 14:01:50 -06:00
Jonathan Bennett
4ae5443c3b
Don't ever delete own node from DB ( #3122 )
2024-01-22 20:13:27 -06:00
Jonathan Bennett
6b5101ec67
Portduino logging enhancements ( #3121 )
...
* Portduino logging enhancements
* Extra debugging for SPI device
2024-01-22 01:27:06 -06:00
Jonathan Bennett
062c646814
TinyGPS fix for empty terms ( #3120 )
2024-01-21 19:13:54 -06:00
github-actions[bot]
bccc0d47eb
[create-pull-request] automated change ( #3119 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-01-20 19:11:21 -06:00
GUVWAF
8f6a2836b8
Mark packets received via MQTT and add option to ignore them ( #3117 )
...
* Mark packets received via MQTT and add option to ignore them
* Don't send packets received via MQTT back into MQTT
Generate implicit ACK for packets we as an MQTT gateway sent
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-01-20 14:22:09 -06:00
github-actions[bot]
4f76239d48
[create-pull-request] automated change ( #3118 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-01-20 09:40:28 -06:00
rcarteraz
486bf79690
update default ( #3114 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-01-19 13:41:24 -06:00
Ben Meadors
2efaaea625
Update oled dep to include RP2040 fix ( #3112 )
2024-01-19 13:14:27 -06:00
Manuel
af157d276a
fix T-Watch flip screen ( #3113 )
2024-01-19 13:11:19 -06:00
Ben Meadors
b489ee08c8
Update radiolib
2024-01-19 10:53:00 -06:00
orange
751bdf94aa
Initial Partial Updates on t-echo ( #3090 )
...
Co-authored-by: Jonathan Bennett <jbennett@incomsystems.biz >
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-01-19 10:28:26 -06:00
Ben Meadors
e2a3b0306f
Default mqtt root to msh/region from unset ( #3111 )
...
* Default mqtt root to msh/region from unset
* Correct segments
2024-01-19 07:40:14 -06:00
github-actions[bot]
a8b7490b6e
[create-pull-request] automated change ( #3106 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-01-17 18:15:00 -06:00
Andre K
4056d34bed
fix: ipv4_config byte order already little endian ( #3073 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-01-17 18:14:44 -06:00
GUVWAF
fd8b1687a1
Update channel of node in updateUser and write to flash if needed ( #3094 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-01-15 20:11:35 -06:00
Jonathan Bennett
8b362dee3a
RadioLib 6.4.0 fixes ( #3098 )
2024-01-15 10:56:17 -06:00
github-actions[bot]
30e3a28014
[create-pull-request] automated change ( #3099 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-01-15 07:28:20 -06:00
Jonathan Bennett
14736775e2
Update define for RadioLib 6.4.0
2024-01-14 14:51:37 -06:00
Jonathan Bennett
a7019b7206
Update for Radiolib 6.4.0 to fix build
2024-01-14 14:38:57 -06:00
Jonathan Bennett
6284f4ffe6
Update Linux binaries to use arch names ( #3093 )
2024-01-13 19:11:59 -06:00
Jonathan Bennett
e4e9a1559e
Drop the Raspbian and Linux targets ( #3091 )
...
* Drop the Raspbian and Linux targets
* Add lovyanGFX libdep to native
2024-01-13 16:12:26 -06:00
GUVWAF
92110276d7
Use ::printf for Portduino only
2024-01-13 14:54:43 -06:00
GUVWAF
c22340eaf7
Add necessary libs to Dockerfile for native build
2024-01-13 14:54:43 -06:00
KodinLanewave
6f96fbfb74
INA3221 library branch to support negative values ( #3084 )
...
* INA3221 library branch to support negative values
Original INA3221 library does not handle negative values properly due to mishandling of signed bits in sensor reading and processing. I have branched the library, changed the code, and tested with several deployed nodes to confirm functionality.
* Update INA3221 library reference to use version tag
Updated my library repo to reflect a version tag properly per request by meshtastic code reviewer
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-01-12 10:02:51 -06:00
Jonathan Bennett
4a867c81c0
Portduino work ( #3049 )
...
* Move to Portduino's getMacAddr()
* Add ST7735/S screen support
* Push Raspbian support into native target
* Remove latent pigpio references.
* CardKB defensive programming
* Adds configurable spidev
* Fixes to build on Fedora 40
* ENUMs are not #defines. Pull latest portduino
* Add more configuration options for SPI displays
* Add config.yaml option to set DIO3_TCXO_VOLTAGE
* change tft clear() to fillScreen()
Maintains compatability with ESPI driver.
* Adds TXen and RXen pins to portduino
* Add -c --config options to specify config file
* Fail when a specified config file is unavailable
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-01-12 02:00:31 -06:00
github-actions[bot]
7e53a96ee5
[create-pull-request] automated change ( #3082 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-01-11 12:44:46 -06:00
github-actions[bot]
3e21e05a2c
[create-pull-request] automated change ( #3079 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-01-11 11:52:01 -06:00
Ben Meadors
e9bde80b57
change tft clear() to fillScreen() ( #3077 )
...
Maintains compatability with ESPI driver.
Co-authored-by: Jonathan Bennett <jbennett@incomsystems.biz >
2024-01-11 10:06:26 -06:00
Mark Trevor Birss
ccb5485510
Add SX1262 to M5Stack CoreInk ( #3078 )
...
* Update platformio.ini
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
2024-01-11 10:06:02 -06:00
Ben Meadors
0d85069bec
Heltec paper ( #3069 )
...
* Attempts at getting the Heltec Wireless Paper eink operational
* Bogus comment
* Fixing Support For Heltec Wireless Paper
---------
Co-authored-by: NfN Orange <orange@reveb.la >
2024-01-09 19:48:21 -06:00
GUVWAF
77ff1704db
Allow button press if CannedMessage updown1 or rotary1 are not enabled ( #3067 )
...
`BUTTON_PIN` may be 0, which is equal to `inputbroker_pin_press` by default
2024-01-09 19:45:54 -06:00
GUVWAF
613a2bfb70
Update exception decoder for other platforms ( #3070 )
2024-01-09 19:45:03 -06:00
Ben Meadors
ea651c2f8f
Remove gps_attempt_time and use broadcast interval instead ( #3064 )
2024-01-07 09:35:19 -06:00
Mictronics
c2afa879b8
Fix LED pinout for T-Echo board marked v1.0, date 2021-6-28 ( #3051 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-01-07 07:40:12 -06:00
Ben Meadors
59253d9c78
Don't reboot after removing node from DB ( #3065 )
2024-01-07 07:37:13 -06:00
github-actions[bot]
be46f9ea24
[create-pull-request] automated change ( #3063 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-01-06 15:23:40 -06:00
Ben Meadors
674fd32349
RP2040 Enter uf2 DFU mode ( #3062 )
...
* Pico enter dfu mode
* Ungaurd pico
2024-01-06 14:39:27 -06:00
Amin Husni
bacc525d0a
Add Malaysia Region ( #3053 )
...
* Add Malaysia Region
Add frequency for 433MHz and 919MHz with specific power limit and limitation.
* Update RadioInterface.cpp
Formatting issues
2024-01-05 15:37:31 -06:00
github-actions[bot]
aa10a3ec40
[create-pull-request] automated change ( #3055 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2024-01-04 18:54:44 -06:00
Jonathan Bennett
e3c768bf10
Update platformio.ini -- set target default to tbeam ( #3054 )
2024-01-04 12:22:45 -06:00
GUVWAF
943367edd0
Fix "watch GPIOs" feature of Remote Hardware module ( #3047 )
...
* Fix watch GPIO feature of Remote Hardware
* Add Remote Hardware messages to JSON output
* Add curly brackets
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2024-01-03 15:08:28 -06:00
Jonathan Bennett
4577646f8b
Get rid of max-parallel build for rp2040
2023-12-29 17:49:25 -06:00
Jonathan Bennett
1ae02a9a28
Add dependencies for native build
2023-12-29 16:47:42 -06:00
Jonathan Bennett
28951ea1e0
Add libbluetooth-dev to build image
2023-12-29 12:35:42 -06:00
github-actions[bot]
2e9cc73ebb
[create-pull-request] automated change ( #3046 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2023-12-27 18:40:54 -06:00
Ben Meadors
dbac2b1cad
Implemented enter (Uf2 usb) DFU mode admin message on NRF52 ( #3045 )
...
* Added enter DFU mode admin message
* Trunk
2023-12-27 14:26:40 -06:00
github-actions[bot]
2b7eb1e489
[create-pull-request] automated change ( #3044 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2023-12-27 12:48:30 -06:00
S5NC
d401040e51
Remove old SX126x and SX128x boosted gain commented-out code ( #2976 )
...
* Update SX126xInterface.cpp
* Update SX128xInterface.cpp
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-12-27 08:18:26 -06:00
Wolfgang Nagele
5110de4838
Portduino reboot ( #3033 )
...
* Portduino reboot
* separate blocks
---------
Co-authored-by: Jonathan Bennett <jbennett@incomsystems.biz >
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-12-27 08:16:53 -06:00
GUVWAF
2d35f72d85
SimRadio: send queue status to phone ( #3041 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-12-27 08:16:04 -06:00
Mictronics
d318d34c3c
Fix #3032 ( #3040 )
...
* Fixed bug #3023 in upstream master. Wire.begin doesn't accept two arguments in RP2040 framework.
* Fix typo.
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-12-27 08:15:38 -06:00
Wolfgang Nagele
06b4638f6b
Allow override of HWID using environment variable ( #3036 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-12-27 08:14:55 -06:00
GUVWAF
16c18d0da9
Add Traceroute, DetectionSensor and Paxcounter to MQTT JSON ( #3043 )
...
* Add Traceroute, DetectionSensor and Paxcounter to MQTT JSON
* Guard Paxcounter for ESP32 only
2023-12-27 08:14:25 -06:00
Jonathan Bennett
8d37d93e05
Hash function needs uint32_t for some platforms. ( #3038 )
2023-12-26 13:21:09 -06:00
Wolfgang Nagele
7334ee7349
Time Fix ( #3035 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-12-25 16:40:16 -06:00
Wolfgang Nagele
ba98da55a7
Align glibc with Debian builder ( #3034 )
2023-12-25 09:47:19 -06:00
GUVWAF
db8f8db8e8
Don't disconnect WiFi when we're actively reconnecting ( #3026 )
...
WiFiEvents may happen asynchronously
2023-12-21 14:59:45 -06:00
GUVWAF
d88baea627
Make implicit ACKs work on MQTT ( #3028 )
...
Don't filter out messages we originally sent via LoRa
2023-12-21 14:59:16 -06:00
Mark Trevor Birss
16a3a32f2a
[Add] SX1280 to linux native Portduino ( #3023 )
...
* Update PortduinoGlue.cpp
* Update PortduinoGlue.h
* Update main.cpp
* Update config-dist.yaml
* Update config-dist.yaml
* Fix whitespace in main.cpp
---------
Co-authored-by: Jonathan Bennett <jbennett@incomsystems.biz >
2023-12-17 18:05:04 -06:00
Thomas Göttgens
a138e9cb6b
Merge pull request #3020 from meshtastic/paxcounter
...
Include Libpax
2023-12-17 19:20:04 +01:00
Thomas Göttgens
86475a1719
admin getters and setters
2023-12-17 18:30:38 +01:00
Thomas Göttgens
c5a2dc758f
rule of thumb, last minute changes are dumb.
2023-12-17 18:30:38 +01:00
Thomas Göttgens
add78a459b
Include Libpax - WIP
2023-12-17 18:30:38 +01:00
Thomas Göttgens
f1b380882d
Merge pull request #3022 from meshtastic/create-pull-request/patch
...
Changes by create-pull-request action
2023-12-17 18:30:19 +01:00
caveman99
bbe21766be
[create-pull-request] automated change
2023-12-17 17:29:49 +00:00
Thomas Göttgens
dfa537415d
Merge pull request #3021 from meshtastic/nodeinfo-shading
...
local variable and class variable may not be named the same
2023-12-17 17:09:44 +01:00
Thomas Göttgens
24c4ee9bfa
local variable and class variable may not be named the same
2023-12-17 16:28:48 +01:00
Jonathan Bennett
71c0726838
Ignore keyboard input while sending CannedMessages packet
2023-12-16 23:03:41 -06:00
github-actions[bot]
45f90fb39b
[create-pull-request] automated change ( #3018 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2023-12-16 19:21:54 -06:00
Ben Meadors
1c6acfd734
Set NRF cpu brownout at 2.4V instead of running down to the limit ( #3016 )
2023-12-16 06:57:01 -06:00
Jonathan Bennett
c6ae66dcaa
Add fallthrough option to avoid a GPS stuck off.
2023-12-14 21:39:41 -06:00
Jonathan Bennett
fc365a1fee
Keep WiFi defines out of platforms without WiFi
2023-12-14 20:16:36 -06:00
Jonathan Bennett
6c1db94ae7
Add raspbian reboot and shutdown behavior
2023-12-14 19:53:42 -06:00
Thomas Göttgens
ded1cbf4dd
Merge pull request #3015 from meshtastic/esp32s2fix
...
ESP32-S2 fix
2023-12-14 18:24:00 +01:00
Ben Meadors
399b9f8f6d
Merge branch 'master' into esp32s2fix
2023-12-14 07:37:59 -06:00
Ben Meadors
4720b2874f
Cpp-check warnings cleanup ( #3014 )
...
* cpp-check warnings cleanup
* Supressions and more fixes
2023-12-14 07:35:46 -06:00
Thomas Göttgens
1af3e0ddaa
ESP32-S2 fix
...
ESP32-S2 does not have bluetooth
2023-12-14 13:40:22 +01:00
Ben Meadors
9f85279e74
Lost and found mode ( #3012 )
...
* Lost and found WIP
* 5 minutes
* ASCII bell character correction
* Memory
2023-12-13 17:43:20 -06:00
Jonathan Bennett
dd96848bec
Change type to fix compilation in new code
2023-12-12 21:35:01 -06:00
Thomas Göttgens
4932e277f1
remove char counter when changing destination
...
shorten destination to make room for char counter, only on small displays.
2023-12-12 21:35:01 -06:00
Thomas Göttgens
dad05d7873
Select Node and channel in Canned Message module.
2023-12-12 21:35:01 -06:00
Thomas Göttgens
4b7fbeca29
only ever emit the up/down action if we have actual messages stored
2023-12-12 21:35:01 -06:00
Jonathan Bennett
2ebaea317a
Refactor display handling add Raspbian TFT display ( #2998 )
...
* Refactor display handling add Raspbian TFT display
* Add missed change
* Add static casts
* Add missed TFT refactor for RAK14014
* Add missed GPIO configuration
* Adds Native keyboard input option
* Get the ifdefs right
* CannedMessage send via queue, not run immediately.
* Fixup systemd service file
* Add display blanking for Raspberry Pi
* Add a couple missed key definitions
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-12-12 20:27:31 -06:00
Ben Meadors
d14d2c89c3
RTTTL ringtones on T-Deck / T-Watch S3 and potentially more I2S audio enabled devices ( #2917 )
...
* WIP
* ESP8266 SAM fun
* I2S audio / ext. notification module
* Remove
* Protos
* Add use_i2s_as_buzzer from protos
* Fixes
* Stuff
* Thing
* Ext. Notification working(ish)
* Remove SAM commented code
* Trunk upgrade
* Trunk
* Fixes
* Slow not fast... :-|
* T-Deck and T-Watch don't use normal buttons
* Stop ext. notification nagging with touchscreen as well
* Add button gpio back for T-Deck, but guard against long-press during ext. notification
* Ext. notification wrap up
* Better place to guard against long-press false positives
* Adjust default gain and guard against non-i2s devices referencing audio-thread
* Simplify guard logic with a boolean
* Supress uninitMemberVar
* Protos merge got out of wack
* Trunk resolution
* Remove extra crap
* Cleanup and thread-interval
* Default to alert message buzzer and add nag timeout
* Formatting
2023-12-12 08:36:37 -06:00
Thomas Göttgens
35938392f1
Merge pull request #2739 from meshtastic/delivery-report
...
UI/UX: Display delivered message on incoming ACK.
2023-12-11 22:59:19 +01:00
Thomas Göttgens
d952da8b1e
make sure the queue stays in te same order
...
the memory pool can NOT be iterated easily, since it's not a linear object.
2023-12-11 15:44:32 +01:00
Thomas Göttgens
385b29c977
we don't use the static MemoryPool anywhere, ditch dead code.
2023-12-11 15:35:22 +01:00
Thomas Göttgens
dc309f61e8
Look into tophone queue for the received packet.
...
- only works if we don't have a phone connected, but that is probably dsired
- this will send a copy of device-originating text messgaes to a connected phone. Breaking change.
- this will iterate the tophone queue by deconstructing and reconstructing it every time we look for an ID. Probably also mangles the queue oder since it aborts when a ID is found.
- Can we navigate the packet pool instead? If so, how?
- Let's keep this in draft state for now
2023-12-11 15:11:10 +01:00
Thomas Göttgens
512399c8f5
Merge branch 'delivery-report' of https://github.com/meshtastic/firmware into delivery-report
2023-12-11 12:38:22 +01:00
GUVWAF
5d94bb601a
Distinguish between ACK/NAK by checking for error reason
2023-12-11 12:30:33 +01:00
Thomas Göttgens
796592b586
UI/UX: Display delivered message on incoming ACK.
...
Needs more work
2023-12-11 12:30:33 +01:00
Ben Meadors
d552ee3556
Add heltec-ht62 to CI ( #3007 )
2023-12-09 19:12:51 -06:00
Ben Meadors
14b31d4d14
Fix INA sensor dual use between environment telem and device battery reading ( #3002 )
2023-12-08 19:26:37 -06:00
Ken McGuire
4de6eb2e1d
Reduce Serial Traffic on Heltec Wireless Trackers GNSS port ( #3004 )
...
* Fix typo in GNSS_MODEL defination and usages for the UC6580
Correct the $CFGSYS init string for the UC6580 to init the receiver for:
GPS L1 & L5 + BDS B1I & B2a + GLONASS L1 + GALILEO E1 & E5a + SBAS
* Reduce GNSS serial traffic on Helted Wireless Tracker
Turn off GSV and NOTIFY __TXT messages as neither are
necessary to Meshtastic operation.
2023-12-08 14:51:50 -06:00
Ben Meadors
abaa37133d
Repeater and other power optimizations ( #2999 )
...
* End wire if we find no i2c devices
* Set tx-power to 0 on nrf bluetooth shutdown
* Change polling interval of PowerFSM to 100ms instead of 10ms
* Guard 3v3
2023-12-08 11:13:15 -06:00
Jonathan Bennett
5eac227550
Fix whitespace in workflow
2023-12-07 21:29:04 -06:00
Jonathan Bennett
671112f47d
Update pull-request-artifacts config
2023-12-07 21:22:30 -06:00
Jonathan Bennett
8ea19d665a
Update pull-request-artifacts
2023-12-07 20:22:22 -06:00
Ben Meadors
8f57cfaaf4
Makersense rp2040 variant fixes ( #2997 )
...
* WIP
* Do the right things
* Add to build matrix
* Yaml lint has annoyed me for the final time
* Fixes to variant
2023-12-07 17:12:51 -06:00
Ben Meadors
a54e3826e9
Remove truffle-hog tool for now since it's breaking CI
2023-12-07 07:14:41 -06:00
Ben Meadors
9188a9a1f2
Makersense RP2040 support ( #2996 )
...
* WIP
* Do the right things
* Add to build matrix
* Yaml lint has annoyed me for the final time
2023-12-06 21:42:06 -06:00
github-actions[bot]
17f1a450b2
[create-pull-request] automated change ( #2995 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2023-12-06 18:14:41 -06:00
GUVWAF
ba021c97b2
Pico W: Handle Wi-Fi reconnects and update core ( #2994 )
...
* Fix time lost on the Pico W right after NTP
Shouldn't check for `#ifdef` as it will always be defined, but might be set to 0
* Handle reconnect for Wi-Fi on RP2040
* Update arduino-core for Wi-Fi + FreeRTOS fixes
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-12-06 15:49:56 -06:00
Ben Meadors
b4ad6b0f41
Added client-hidden role behavior ( #2992 )
...
* Added client-hidden role behavior
* Trunkt
* That line got all boogered up
2023-12-06 14:04:09 -06:00
Ben Meadors
28502a762f
Added Known-Only rebroadcast mode behavior ( #2993 )
2023-12-06 14:02:41 -06:00
github-actions[bot]
89f0464233
[create-pull-request] automated change ( #2991 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2023-12-06 06:17:50 -06:00
GUVWAF
46d02affe8
Pico W: Wi-Fi improvements ( #2989 )
...
* Pico W: Initial WiFi support: connects, but freezes after a while
* Update arduino-pico core to fix hang with Wi-Fi
* Add `picow` to workflow since it's different from `pico` now
* Show Wi-Fi frame on screen for all devices with Wi-Fi
* Pico W: Disable mDNS as it's unsupported with FreeRTOS
* Fix printing IP address
* Fix Raspbian build
2023-12-04 15:45:07 -06:00
Ken McGuire
62329ad11f
Fix typo in GNSS_MODEL defination and usages for the UC6580 ( #2988 )
...
Correct the $CFGSYS init string for the UC6580 to init the receiver for:
GPS L1 & L5 + BDS B1I & B2a + GLONASS L1 + GALILEO E1 & E5a + SBAS
2023-12-04 12:35:26 -06:00
Thomas Göttgens
72b4fe51b1
radiolib is stable
...
just use one definition for all targets
2023-12-04 11:33:32 +01:00
Thomas Göttgens
07fc5df9c1
update trunk and linters to latest version
2023-12-03 13:02:14 +01:00
Thomas Göttgens
1c22d2c885
switch onebutton back to PIO registry, since they finally updated the lib there
2023-12-03 13:00:15 +01:00
github-actions[bot]
1f931a5e55
[create-pull-request] automated change ( #2981 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2023-12-02 17:19:29 -06:00
Ben Meadors
31c4693c66
Missed the version bump apparently
2023-12-02 15:50:17 -06:00
GUVWAF
6ff61b3e04
Pico W: Initial Wi-Fi support ( #2980 )
...
* Pico W: Initial WiFi support: connects, but freezes after a while
* Update arduino-pico core to fix hang with Wi-Fi
* Add `picow` to workflow since it's different from `pico` now
2023-12-02 14:47:52 -06:00
S5NC
9e90b4af02
Update variant.h ( #2930 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-12-02 07:46:25 -06:00
S5NC
2544733ad4
Standardise order for setting GPIO pin default values ( #2942 )
...
* Update SX126xInterface.cpp
* Update GPS.cpp
* Update TFTDisplay.cpp
* Update SX128xInterface.cpp
* Update EInkDisplay2.cpp
* trunk fmt
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com >
2023-12-02 07:40:31 -06:00
Thomas Göttgens
1b6c11c5f1
tryfix crash ( #2964 )
...
* tryfix crash
* only use this when wifi is not enabled. (poking around)
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-12-02 07:00:20 -06:00
S5NC
4c69d06ac0
Update Power.cpp ( #2979 )
2023-12-02 06:30:00 -06:00
code8buster
85cbde75fe
Merge pull request #2977 from meshtastic/g2-defaults
...
Factory Defaults for Nano G2 Ultra
2023-12-02 00:36:31 +00:00
GUVWAF
5e70fb9851
Distinguish between ACK/NAK by checking for error reason
2023-12-01 18:28:38 +01:00
Thomas Göttgens
6e967421a5
UI/UX: Display delivered message on incoming ACK.
...
Needs more work
2023-12-01 18:28:38 +01:00
Ben Meadors
a05bab35ad
=
2023-12-01 07:17:38 -06:00
Ben Meadors
ac506a581c
Merge branch 'master' into g2-defaults
2023-12-01 07:07:59 -06:00
Ben Meadors
def4ec5822
Always set user (nodeinfo) role to device config's current role ( #2973 )
2023-12-01 07:00:19 -06:00
Ben Meadors
209fb585b0
Default to what G2 comes with
2023-11-30 20:49:00 -06:00
S5NC
fb89482129
Set default LoRa SPI pins individually on ESP32 architecture ( #2971 )
...
* Each pin individually
* Correction
---------
Co-authored-by: Jonathan Bennett <jbennett@incomsystems.biz >
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-11-30 06:39:46 -06:00
Thomas Göttgens
8e742f2f80
Update portduino.ini
2023-11-30 11:53:47 +01:00
Thomas Göttgens
238cf8cdeb
fix portduino
2023-11-30 11:53:47 +01:00
Thomas Göttgens
5df7f07f95
unpin radiolib
2023-11-30 11:53:47 +01:00
Thomas Göttgens
6fa026a78b
fix radiolib API for 6.3.0 release
2023-11-30 10:59:01 +01:00
Jonathan Bennett
39743832ad
Revert Portduino RadioLib to 6.1.0
2023-11-29 20:19:10 -06:00
Jonathan Bennett
bd2675caf1
Temporarily Pin RadioLib to 6.2.0
2023-11-29 20:19:10 -06:00
Jonathan Bennett
c489c251ab
Pull in Portduino changes for Raspberry Pi support
2023-11-29 20:19:10 -06:00
Jonathan Bennett
14d03a2bda
Initial implementation of I2C
2023-11-29 20:19:10 -06:00
Jonathan Bennett
423b8ad603
Adds real GPS support to Raspberry Pi arch
2023-11-29 20:19:10 -06:00
Jonathan Bennett
ce8342d3e5
Drop Pi HAL
2023-11-29 20:19:10 -06:00
Jonathan Bennett
57227c0f85
Add gpiochip setting
2023-11-29 20:19:10 -06:00
Jonathan Bennett
1ca2923658
Fix missed #if defined() logic
2023-11-29 20:19:10 -06:00
Jonathan Bennett
d10b1e1d00
Add better error reporting for RF95 init failure
2023-11-29 20:19:10 -06:00
Jonathan Bennett
d3e64350d9
Remove RADIOLIB_SPI_PARANOID compile option, as it does nothing
2023-11-29 20:19:10 -06:00
Jonathan Bennett
102efd4954
Move to portduino GPIO, adding user button support
2023-11-29 20:19:10 -06:00
S5NC
18cf8ca4fa
Generalise SPI pin names ( #2970 )
...
* Generalise SPI pin names
* CS not NSS
* trunk fmt
* Update variant.h
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-11-29 15:51:05 -06:00
Ben Meadors
c7f6071f70
Enable IO2 toggling on RAK if the coast is clear ( #2968 )
...
* Enable IO2 toggling on RAK if the coast is clear
* Guard against monteops target which doesn't use 3V3 pin
* Also check for en_gpio = 0 to avoid re-setting the value
2023-11-28 20:40:51 -06:00
Thomas Göttgens
c7e3485dd7
Revert "same change for STM32WL - also update trunk"
...
This reverts commit f9fdb0f98d .
2023-11-26 14:49:11 +01:00
Thomas Göttgens
603e564db3
same change for STM32WL - also update trunk
2023-11-26 14:49:11 +01:00
Thomas Göttgens
ac318a9850
Swapped out crypto engine for one that also works with AES-256
2023-11-26 14:49:11 +01:00
Ben Meadors
1feb74f525
Add number of sats to default position flags ( #2962 )
2023-11-25 19:34:30 -06:00
Thomas Göttgens
d6fc1c314f
WIP: Add battery level for Nimble
2023-11-25 16:03:39 +01:00
Thomas Göttgens
b3852322ef
Add config example for Elecrow Hat
...
NFC
2023-11-24 14:40:20 +01:00
HookdomPonix
cbb8eb65ba
Add USB detection to RAK4631 based boards. ( #2956 )
...
* Add support for the rak10701 board, no touch
* Moved tftblack fillin and changed teh src flags
* Added rak10701 to platformio.ini
* Add USB detection to RAK4631 units.
* Eliminate spurious symbol in comment field.
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-11-22 10:30:55 -06:00
Jonathan Bennett
4712b1ca65
Add manual run option to package_raspbian.yml ( #2954 )
2023-11-22 07:17:48 -06:00
Ric In New Mexico
57542ce9e6
Retain device nodeinfo during reset-nodedb ( #2951 )
...
* INA3221 bugfixes & refinement
Reorganized and refactored some INA3221 code
Added comments
Added missing shunt resistor value (100mΩ)
Added INA3221 Channel 1 to getINAVoltage() for device battery monitoring
modified: src/Power.cpp
modified: src/modules/Telemetry/PowerTelemetry.cpp
modified: src/modules/Telemetry/Sensor/INA3221Sensor.cpp
modified: src/modules/Telemetry/Sensor/INA3221Sensor.h
modified: src/power.h
* reset-nodedb retain device nodeinfo
modified: src/mesh/NodeDB.cpp
* reset-nodedb #2
modified: src/mesh/NodeDB.cpp
---------
Co-authored-by: Jonathan Bennett <jbennett@incomsystems.biz >
2023-11-20 06:33:14 -06:00
Jonathan Bennett
1b20a82b55
Update package_raspbian.yml
...
Trunk
2023-11-19 20:28:37 -06:00
Jonathan Bennett
195706e0e5
Update package_raspbian.yml to pull correct code for PR runs
2023-11-19 20:19:43 -06:00
Jonathan Bennett
c1f5878648
Add Raspbian to firmware zip
2023-11-19 17:11:54 -06:00
Jonathan Bennett
7380f3b170
Trunk fmt fix whitespace
2023-11-19 16:53:00 -06:00
Jonathan Bennett
a9d846c1b3
make package_raspbian.yml a reusable workflow
2023-11-19 16:45:06 -06:00
Jonathan Bennett
cfb09ee115
add .deb to release
2023-11-19 16:41:47 -06:00
Jonathan Bennett
8f0ce606db
Update package_raspbian.yml upload .deb as artifact
2023-11-19 16:07:08 -06:00
Jonathan Bennett
d04ff29c2a
Update package_raspbian.yml use ubuntu-latest
2023-11-19 15:56:41 -06:00
Jonathan Bennett
8e92754b59
Update package_raspbian.yml
2023-11-19 15:48:43 -06:00
Jonathan Bennett
dad824c0e9
Update package_raspbian.yml -- add checkout step
2023-11-19 15:16:11 -06:00
Jonathan Bennett
31d7c6826d
Update package_raspbian.yml
...
Properly run build_raspbian as a step
2023-11-19 15:03:46 -06:00
Jonathan Bennett
d33521ee86
Add package-raspbian workflow
2023-11-19 14:53:49 -06:00
Jonathan Bennett
5ad12fed60
Chill out, yamllint
2023-11-19 14:53:49 -06:00
Jonathan Bennett
4af90eeb39
Revamp yaml config for Raspbian
2023-11-19 14:53:49 -06:00
Jonathan Bennett
08297bb0b7
Copy and Paste output file location for workflow
2023-11-18 15:36:41 -06:00
Jonathan Bennett
16ef40b21f
Add even moar workflow debugging
2023-11-18 15:16:36 -06:00
Jonathan Bennett
7ef4abb974
Add debugging output to main workflow
2023-11-18 14:56:40 -06:00
Jonathan Bennett
297267d037
Try harder to find Raspbian binary
2023-11-18 13:26:05 -06:00
Jonathan Bennett
f8e766ebc7
Include Raspbian in release zip
2023-11-18 12:05:51 -06:00
Jonathan Bennett
7bd2b07024
Disable radiolib debug
2023-11-18 12:05:51 -06:00
Jonathan Bennett
b6ddbd0087
More CI work for Raspbian ( #2949 )
...
* More CI work for Raspbian
* Workaround quirks of Arm64/debian runners
2023-11-18 11:04:21 -06:00
Jonathan Bennett
dc8903ec42
Add Raspbian to Main CI ( #2948 )
2023-11-18 08:55:19 -06:00
Ben Meadors
46bd6ca7ba
YAML based config for PI / Portduino ( #2943 )
...
* Add configuration via /etc/meshtastic/config.yaml
* Move example config, support more locations
* Fix config check
* Use access() to check for config file presence
* Throw an error and exit on radio init fail
* Adds error check for reading Bluetooth MAC
* Settle on meshtasticd, add install script
* Shell fixes
* Fine. I'll put it back and then disable you
* Get wrekt, shellchekt
* Firat attempt at adding raspbian CI build
* Tickle the workflow
* Beatings will continue til morale improves
* Permissions are overrated
---------
Co-authored-by: Jonathan Bennett <jbennett@incomsystems.biz >
2023-11-18 08:12:34 -06:00
Ric In New Mexico
9d4af1146e
INA3221 bugfixes & refinement ( #2944 )
...
Reorganized and refactored some INA3221 code
Added comments
Added missing shunt resistor value (100mΩ)
Added INA3221 Channel 1 to getINAVoltage() for device battery monitoring
modified: src/Power.cpp
modified: src/modules/Telemetry/PowerTelemetry.cpp
modified: src/modules/Telemetry/Sensor/INA3221Sensor.cpp
modified: src/modules/Telemetry/Sensor/INA3221Sensor.h
modified: src/power.h
2023-11-17 06:46:59 -06:00
Thomas Göttgens
5ce6ca25f2
Merge pull request #2083 from meshtastic/raspi-portduino
...
Start working on RF95 attached to Raspberry Pi
2023-11-16 15:07:02 +01:00
Ben Meadors
f2210d8f8d
Merge branch 'master' into raspi-portduino
2023-11-16 06:57:52 -06:00
Ben Meadors
5d917885df
Added Remove node by nodenum admin message ( #2941 )
...
* Remove node by nodenum
* It were backerds! DERP
2023-11-16 06:57:22 -06:00
Jonathan Bennett
e99ae64ece
Add Pi library only to Raspbian
2023-11-15 21:16:27 -06:00
Jonathan Bennett
61f888e952
Add missed ifdef
2023-11-15 21:01:17 -06:00
Jonathan Bennett
a144d5d6cc
Clean up, fix reboot, minimize changes
2023-11-15 20:33:53 -06:00
Ben Meadors
c3e3569c14
Merge branch 'master' into raspi-portduino
2023-11-15 19:39:19 -06:00
Jonathan Bennett
b1b5bafdda
Add PiHal and get Waveshare SX1262 XXXM working
2023-11-15 17:04:41 -06:00
Ben Meadors
91e399a2b6
Added detection sensor en pin to fix issues with RAK microwave ( #2940 )
2023-11-15 09:26:47 -06:00
HookdomPonix
8b16367597
Add support for the rak10701 board, no touch ( #2933 )
...
* Add support for the rak10701 board, no touch
* Moved tftblack fillin and changed teh src flags
* Added rak10701 to platformio.ini
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-11-13 06:20:49 -06:00
S5NC
0b9accc3b6
Remove redundant checks for power of 0 ( #2934 )
...
* Add comment explaining necessity for second 0 check
Thank you @GUVWAF
* Update RF95Interface.cpp
* Update STM32WLE5JCInterface.cpp
* Update SX126xInterface.cpp
* Update SX128xInterface.cpp
* remove whitespace...
* Update SX128xInterface.cpp
2023-11-13 06:19:02 -06:00
GUVWAF
590b0bbff4
Merge pull request #2935 from S5NC/add-missing-has-sensor
...
Add missing defaulting for HAS_SENSOR to configuration.h
2023-11-10 09:57:44 +01:00
S5NC
19be230b24
Update configuration.h
2023-11-08 21:58:33 +00:00
Jonathan Bennett
8df16ad6a6
Add ctime include to fix native compile
2023-11-08 14:36:12 -06:00
Ben Meadors
2d62f00ac3
Merge branch 'master' into raspi-portduino
2023-11-08 09:54:18 -06:00
pdxlocations
9f93b9ab9d
fix sizeof error
2023-11-08 12:40:51 +01:00
pdxlocations
fc3200134d
party time
2023-11-08 12:40:51 +01:00
Ben Meadors
470264b7f9
Merge branch 'master' into raspi-portduino
2023-11-07 05:58:42 -06:00
Ben Lipsey
600541ac25
Fix Documentation Links in Comments ( #2929 )
...
* update external notification
* ContentHandler
2023-11-06 22:03:44 +00:00
github-actions[bot]
298b383127
[create-pull-request] automated change ( #2927 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2023-11-05 06:50:02 -06:00
Ric In New Mexico
f57020412e
INA3221 / Power Telemetry Payload Variant Implementation ( #2916 )
...
* INA3221 / Power Telemetry Variant Implementation
modified: platformio.ini
modified: src/configuration.h
modified: src/detect/ScanI2C.h
modified: src/detect/ScanI2CTwoWire.cpp
modified: src/main.cpp
modified: src/modules/Modules.cpp
new file: src/modules/Telemetry/PowerTelemetry.cpp
new file: src/modules/Telemetry/PowerTelemetry.h
new file: src/modules/Telemetry/Sensor/INA3221Sensor.cpp
new file: src/modules/Telemetry/Sensor/INA3221Sensor.h
modified: src/mqtt/MQTT.cpp
* ifdef for portduino / linux native
modified: src/modules/Telemetry/PowerTelemetry.cpp
* try #2
modified: src/modules/Modules.cpp
modified: src/modules/Telemetry/PowerTelemetry.cpp
deleted: variants/xiao_ble/1.0.0/libraries/SPI/SPI.cpp
* try #3
modified: src/modules/Modules.cpp
* try #4
modified: src/modules/Telemetry/PowerTelemetry.cpp
* try #5 ?
modified: src/modules/Telemetry/PowerTelemetry.cpp
* try #6
modified: src/modules/Telemetry/PowerTelemetry.cpp
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-11-04 20:07:00 -05:00
Ben Meadors
4a6cc8fd8c
Extend packet history expire time to 10 minutes ( #2921 )
2023-11-03 15:43:26 -05:00
Tyler Jang
45c5e0e730
cleanup disables ( #2924 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-11-03 06:50:30 -05:00
github-actions[bot]
527bffb7e0
[create-pull-request] automated change ( #2926 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2023-11-03 06:36:24 -05:00
GUVWAF
4c35a7fb7d
Handle AmbientLighting Module config ( #2923 )
2023-11-03 07:36:36 +00:00
GUVWAF
0f9936a0e0
Change default Coding Rate to 4/5 for <=LongFast ( #2920 )
...
Increases througput at the cost of a little bit of sensitivity
Non-breaking as the CR is sent in the LoRa header
2023-11-02 09:21:07 -05:00
Thomas Göttgens
40395bef01
Merge branch 'master' into raspi-portduino
2023-10-31 14:09:38 +01:00
GUVWAF
8b8fffda81
Drop packets if toPhoneQueue is full, unless it's text/RangeTest ( #2918 )
2023-10-30 06:12:22 -05:00
Ric In New Mexico
4052194dfe
Fix for is_licensed save / reboot ( #2911 )
...
* Fix is_licensed save / reboot
* Revert "Fix is_licensed save / reboot"
This reverts commit 634151b8ec .
* Changed reloadConfig to saveChanges /w reboot
2023-10-26 06:25:06 -05:00
Ben Meadors
b36ffe5200
Trunk fmt fix
2023-10-24 18:52:46 -05:00
S5NC
a60b4d08bf
Hydra variant rectification ( #2903 )
...
* Update variant.h
* Update variant.h
* Update platformio.ini
2023-10-24 18:47:36 -05:00
github-actions[bot]
227467f638
[create-pull-request] automated change ( #2897 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2023-10-20 09:52:56 -05:00
Tavis
092e6f2424
add rssi and snr to json output ( #2894 )
...
* add rssi and snr to json output
* explicitly cast to int and float
2023-10-17 06:50:36 -05:00
Andre K
e6b20bff77
refactor: simplify MQTT defaults ( #2893 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-10-15 18:56:47 -05:00
Andre K
2c625f6ba1
fix: channel routing for decoded MQTT packets ( #2892 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-10-15 06:41:40 -05:00
Manuel
142d56c663
allow sensors connected to second I2C port ( #2891 )
2023-10-14 19:33:45 -05:00
Ben Meadors
f4b40562d3
Start of TAK role ( #2890 )
...
* Start of TAK role
* Position flags change for CoT friendly altitudes
* Trunk
2023-10-14 06:49:38 -05:00
github-actions[bot]
9e203532d0
[create-pull-request] automated change ( #2889 )
2023-10-13 20:02:59 -05:00
code8buster
8bd7b5e779
Merge pull request #2887 from yupyvovarov/fix-hwids-address
...
Fix typo in tbeam-s3-core hwids address
2023-10-13 10:24:49 +00:00
Yurii Pyvovarov
1af970765f
Fix typo in tbeam-s3-core hwids address
2023-10-13 11:31:10 +03:00
Ben Meadors
def55ec063
Remove specific upload ports from pio
2023-10-11 10:21:58 -05:00
Ben Meadors
092c6cac66
Convert from inline to static class methods ( #2883 )
2023-10-11 06:17:05 -05:00
Ben Meadors
e39f129bd6
More comprehensively clear current position info ( #2881 )
2023-10-10 19:33:58 -05:00
S5NC
9d1fe8c245
Update architecture.h ( #2880 )
2023-10-10 15:35:07 -05:00
Aciid
786248a6b1
Dragino TrackerD wip ( #2324 )
...
* Dragino TrackerD initial variant
* fmt
---------
Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com >
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-10-10 06:20:46 -05:00
github-actions[bot]
d1ac2dc6ea
[create-pull-request] automated change ( #2879 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2023-10-09 20:43:42 -05:00
Ben Meadors
87396d9105
Refactor away some code duplication in screen frames and display formatter for modem presets ( #2872 )
...
* Refactor away some duplication
* Refactor preset names to display formatter method
* Remove unused screen brightness adjustment and extract wifi disconnect reason name to display formatter method
* Tronk
* Let's be more clear with this naming
* Effed
* DisplayFormatters static class and use native wifi disconnect reason names method
* git mv file so casing should match now
* Include titlecase
* Trunk
2023-10-09 20:43:16 -05:00
Ben Meadors
b388f8edcd
Merge branch 'master' into raspi-portduino
2023-10-09 19:45:08 -05:00
Ben Meadors
10265aabd5
Fix buggy phone positions ( #2876 )
...
* Guard-clause channel util. to reduce nesting
* Try-fix PhoneAPI position not updating
* Trunk
* Missed it
* Really disable GPS when asked to
---------
Co-authored-by: Jonathan Bennett <jbennett@incomsystems.biz >
2023-10-09 18:33:04 -05:00
Jonathan Bennett
8780d93941
Remove missed GPS definition ( #2878 )
2023-10-09 13:30:51 -05:00
Sacha Weatherstone
54f0c045e4
Update README.md
2023-10-09 22:30:02 +10:00
github-actions[bot]
3ddad671a5
[create-pull-request] automated change ( #2875 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2023-10-08 08:12:42 -05:00
pat-trunk-io
dc6f0b8e0b
mention trunk is beta on windows ( #2871 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-10-06 15:31:04 -05:00
pat-trunk-io
33f28c3d56
Add trunk githooks to the repo ( #2870 )
2023-10-06 15:02:27 -05:00
github-actions[bot]
ef1d8c8eee
[create-pull-request] automated change ( #2869 )
2023-10-05 17:51:23 -05:00
Ben Meadors
950d5f0946
Power saving sensor ( #2865 )
...
* Trunk
* Again
* This thing just keeps updating itself
* Ignore tools
* Sleepy sensor
* Batrunkadunk
2023-10-05 12:42:03 -05:00
Thomas Göttgens
fc06754e1f
Possibly fix #2704 "Heltec Wireless Tracker screen doesn't display anything" ( #2749 )
...
* fix #2704
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
Co-authored-by: Jonathan Bennett <jbennett@incomsystems.biz >
2023-10-04 22:24:25 -05:00
github-actions[bot]
fbf74fc0b2
[create-pull-request] automated change ( #2863 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2023-10-04 10:23:55 -05:00
code8buster
7cebd79475
Use doNotEnterOff flag to prevent GNSS poweroff before fix acquisition ( #2861 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-10-03 19:50:27 -05:00
Jonathan Bennett
aa38f53aed
Fix for T-Beam 1.2 GPS ( #2858 )
...
* Fix for T-Beam 1.2 GPS, with DEBUG enabled
* Don't break other devices
* Saving GPS data on this breaks on next boot. Fix.
* derp
* disable the extra verbosity
* Try the same sort of factory reset as the Lilygo image
* Catch GPS reboots and squash
* trunk
* GPS
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-10-03 12:05:40 -05:00
Ben Meadors
2a6c8be684
Avoid problematic sleep state transitions for power saving sensors and trackers ( #2860 )
...
* Avoid problematic sleep state transitions for power saving sensors and trackers
* Line got duped :-|
2023-10-03 10:09:27 -05:00
GUVWAF
37c3d15978
Check if packet is decrypted before using portnum when converting to JSON ( #2857 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-10-03 06:39:35 -05:00
Manuel
f301e236eb
fix crash during shutdown ( #2859 )
...
* fix null pointer access
* ptr initialize
2023-10-03 06:37:46 -05:00
Manuel
94c2ade272
make esp32 deepsleep button wakeup functional again ( #2854 )
...
* make deepsleep button wakeup functional again
* Remove unused var
* Cleanup comment
* suppress screen wake on button
* add resume screen
* trunk fmt
* added missing #ifdef
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-10-02 16:16:29 -05:00
Ben Meadors
a6e4402e41
Screen on secs router default ( #2855 )
2023-10-02 06:28:05 -05:00
Jonathan Bennett
50db2d0e9b
Add timeout to ublox PMREQ command ( #2851 )
2023-10-01 20:39:18 -05:00
Ben Meadors
5ecdbd0dbb
Removed non-functional deep sleep button awake functionality (user can RST instead) ( #2852 )
...
* Fixed mask length
* Don't want_response if we're a tracker or sensor
* Fixes
* Removing non-functioning deep sleep button awake
2023-10-01 12:48:12 -05:00
Jonathan Bennett
47c6738c0d
Fix GPS init bug -- power up even when disabled ( #2850 )
2023-09-30 23:38:51 -05:00
Ben Meadors
1552aa0081
Tracker role wakeup and sleep cycle when power.is_power_saving true ( #2846 )
...
* WIP
* Sleepy sleepy low power tracker
* Sleepy tracker clear
* NRF52 PoC
* Simplify NRF52 "sleep"
* Trackers aren't polite
* Remove unnecessary include
* Removed accidental commit
* Fixed not-so-sleepy T-Beam due to button gpio mask precendence
* Added sleepOnNextExecution for allowing fulfillment of pending messages before shutting down
* Cleanup
* Don't wantResponse for trackers
* Heltec wireless tracker doesn't like the button interrupt (maybe all s3 because user button press doubles as bootloader mode trigger?)
2023-09-30 21:09:17 -05:00
github-actions[bot]
6ebec8fcd9
[create-pull-request] automated change ( #2849 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2023-09-30 20:40:04 -05:00
Manuel
e9215a5d70
revert KB_POWERON changes ( #2847 )
2023-09-30 06:43:36 -05:00
Thomas Göttgens
5075849ec0
Add missing endif
2023-09-28 10:50:26 +02:00
Thomas Göttgens
7f16b6b342
Merge branch 'master' into raspi-portduino
2023-09-28 09:29:45 +02:00
S5NC
4e3576ae48
Simplify SX126x variant configuration ( #2813 )
...
* Update SX126xInterface.cpp
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update SX126xInterface.cpp
* Update SX126xInterface.cpp
* Update variant.h
* Update variant.h
* trunk fmt
* trunk fmt
* Update variant.h
* trunk fmt
* trunk fmt
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update pins_arduino.h
* Update pins_arduino.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* trunk fmt
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* trunk fmt
* trunk fmt
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
Specify behavior
* Update variant.h
Maintain behavior
* trunk fmt
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
* Update variant.h
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-09-27 16:01:40 -05:00
Tavis
98290e5d7b
Re issue: #2496 Populate the position log entries from PositionModule with data fields ( #2839 )
...
* Populate the position log entries with data fields
includes datafields with no data as 0
* trunk check formatted.
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-09-27 16:00:56 -05:00
Ben Meadors
ad529924f1
Code duplication cleanup for smart position logic ( #2840 )
2023-09-27 10:32:35 -05:00
github-actions[bot]
07d51a2ca4
[create-pull-request] automated change ( #2837 )
2023-09-26 14:54:35 -05:00
github-actions[bot]
47301a5ac0
[create-pull-request] automated change ( #2836 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2023-09-26 11:11:54 -05:00
Ben Meadors
0d023ea215
Revert "Fix compression ( #2806 ) ( #2819 )" ( #2835 )
...
This reverts commit cdac643749 .
2023-09-26 07:02:06 -05:00
Ben Meadors
b5e952db24
No more goober traffic on public mqtt ( #2831 )
...
* No more goober traffic on public mqtt
* Oops
2023-09-26 06:19:17 -05:00
GUVWAF
a1c433748a
RP2040: Add SerialModule support ( #2830 )
...
* Support for SerialModule on RP2040
* Remove one !defined too many
* Increase serial RX_BUFFER: more reliable for long packets
Even results into an error for ESP32
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-09-26 05:45:34 -05:00
Jonathan Bennett
04b2ab82dc
Add GPS pin definitions missed in revamp ( #2834 )
2023-09-26 05:44:08 -05:00
github-actions[bot]
e96ba7cbcf
[create-pull-request] automated change ( #2827 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2023-09-25 06:31:22 -05:00
Andre K
61f6fb22c5
move STATE_SEND_METADATA to beginning of wantConfig ( #2820 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-09-24 07:22:54 -05:00
github-actions[bot]
db7b77c76e
[create-pull-request] automated change ( #2823 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2023-09-24 07:01:46 -05:00
Andre K
350090ec0d
remove residual code for mesh_sds_timeout_secs ( #2821 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-09-24 06:49:35 -05:00
GUVWAF
cdac643749
Fix compression ( #2806 ) ( #2819 )
...
* Fix compression: encode to bytes after `decoded` is modified
* Change payload size to decompressed length
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-09-24 06:49:21 -05:00
Jonathan Bennett
1a2c7f00e1
Gps cleanup and powersave ( #2807 )
...
* Refactor GPS to not probe if pins not defined
* Use Named Constructor to clean up code
* Move doGPSPowerSave to GPS class
* Make sure to set GPS awake on triple-click
* Cleanup and remove dead code
* Rename GPS_PIN_WAKE to GPS_PIN_STANDBY
* Actually put GPS to sleep between fixes
* add GPS_POWER_TOGGLE for heltec-tracker and t-deck
* Change GPS_THREAD_INTERVAL to 200 ms
* More dead code, compiler warnings, and add returns
* Add Number of sats to log output
* Add pgs enable and triple-click config
* Track average GPS fix time to judge low-power time
* Feed PositionModule on GPS fix
* Don't turn off the 3v3_s line on RAK4631
when the rotary is present.
* Add GPS power standbyOnly option
* Delay setting time currentQuality
to avoid strange log message.
* Typos, comments, and remove unused variable
* Short-circuit the setAwake logic on GPS disable
* heltec-tracker 0.3 GPS power saving
* set en_gpio to defined state
* Fix fixed_position logic with GPS disabled
* Don't process GPS serial when not isAwake
* Add quirk for Heltec Tracker GPS powersave
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
Co-authored-by: mverch67 <manuel.verch@gmx.de >
Co-authored-by: Manuel <71137295+mverch67@users.noreply.github.com >
2023-09-23 23:45:35 -05:00
Jonathan Bennett
7eff5e7bcb
Fix for Pi Pico hang ( #2817 )
...
* Fix for Pi Pico hang
* Pi Pico fix part 2: Electric Boogaloo
2023-09-20 19:34:45 -05:00
Jonathan Bennett
17207681ef
Remove GPS pins from devices lacking built-in GPS ( #2812 )
2023-09-19 10:55:14 -05:00
Thomas Göttgens
94f7c7e472
Merge pull request #2814 from meshtastic/create-pull-request/patch
...
Changes by create-pull-request action
2023-09-19 12:46:26 +02:00
caveman99
0a12d67d19
[create-pull-request] automated change
2023-09-19 10:45:28 +00:00
Thomas Göttgens
3175a3d630
Merge pull request #2811 from meshtastic/create-pull-request/patch
...
Changes by create-pull-request action
2023-09-19 10:48:41 +02:00
thebentern
4e9bf75340
[create-pull-request] automated change
2023-09-18 19:49:42 +00:00
github-actions[bot]
e8970ad66b
[create-pull-request] automated change ( #2810 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2023-09-18 13:26:09 -05:00
code8buster
f737ee59ec
Deny maxhops to anyone who sets >7 ( #2808 )
...
* Deny maxhops to anyone who sets >7
* Use reliable hop count instead of 3
2023-09-18 12:58:09 -05:00
Ric In New Mexico
6d211815d9
Temp fix for S3 bluetooth ( #2809 )
...
Need to roll back espressif to v6.3.2
2023-09-18 14:26:19 +02:00
Manuel
1bae926576
fix: nodenum 4 ( #2798 )
...
* tryfix: nodenum 4
* trunk fmt
* rename vars and fix brackets
* purge invalid db entries
* trunk fmt
2023-09-18 06:16:37 -05:00
Thomas Göttgens
a1514b8b64
Enable (new) ADC and GPS capability. ( #2792 )
...
* Enable (new) ADC and GPS capability.
* Make Picomputer a canon device and define ADC for new board revision
2023-09-18 11:38:33 +02:00
Jonathan Bennett
8b82ae6fe3
refactor and avoid needless probe ( #2799 )
...
* Use UINT32_MAX to indicate no configured GPS
* Refactor GPS to not probe if pins not defined
* Minor cleanups related to rework
* Use Named Constructor to clean up code
* Actually disable the GPS thread
* Don't actually disable the GPS thread
* Move doGPSPowerSave to GPS class
* Make sure to set GPS awake on triple-click
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-09-16 23:10:10 -05:00
Ric In New Mexico
822c150e0d
Fixing typo in src/mesh/mesh-pb-constants.cpp logging ( #2800 )
...
* Update variant.h
Add second i2c channel on external connector for Station G1
* Create trunk-check.yml
* Fix typo in logging
Corrected typo in pb_msgdesc logging for packets failing to be decoded.
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-09-16 15:24:59 -05:00
github-actions[bot]
0731902744
[create-pull-request] automated change ( #2791 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2023-09-12 18:00:29 -05:00
github-actions[bot]
b53cb38a09
[create-pull-request] automated change ( #2790 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2023-09-12 16:50:52 -05:00
Jonathan Bennett
b02dd0e964
Move partial GPS initialization earlier in boot ( #2788 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-09-12 16:46:46 -05:00
Ben Meadors
c608f0ba81
Fix time=0 bug for fixed_position nodes ( #2789 )
2023-09-12 15:54:50 -05:00
Jonathan Bennett
e1839e33f2
Lazy probe of GPS ( #2781 )
...
* First attempt at lazy config of GPS
* More GPS rework
Break GPS init into smaller, interruptable steps
Move more GPS commands into ubx.h
Combine Setup functions
* Move the rest of UBX messages to ubs.h
2023-09-10 22:21:14 -05:00
Manuel
d6d51bc3f4
T-Deck/T-Watch: enhancements/fixes ( #2786 )
...
* T-Deck: enhancements/fixes
* trunk fmt
* T-Watch board update
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-09-10 06:54:25 -05:00
github-actions[bot]
44a77a10e1
[create-pull-request] automated change ( #2785 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2023-09-10 06:34:48 -05:00
Ben Meadors
8255128eae
Trunk finally spilled the beans about what it's upset about
2023-09-09 19:40:57 -05:00
Ric In New Mexico
d7a98519f4
Update variant.h ( #2778 )
...
* Update variant.h
Add second i2c channel on external connector for Station G1
* Create trunk-check.yml
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-09-09 19:37:35 -05:00
github-actions[bot]
e256520336
[create-pull-request] automated change ( #2782 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2023-09-08 14:34:58 -05:00
Ben Meadors
fcf798df98
Experiment with moving gps init ( #2780 )
...
* Move it move it
* Moving to the end of the main setup method
* NimBLE version
2023-09-07 16:01:35 -05:00
Ben Meadors
dcdf9b64de
Ambient lighting ( #2779 )
...
* This was already defined and throwing a ton of warnings
* Ambient lighting module feature
* Use local instance type
2023-09-07 12:24:47 -05:00
Jonathan Bennett
fd563e41f1
Add ubx-cfg-rxm and cfg-pm2 for ublock 6 powersave ( #2777 )
2023-09-07 12:24:21 -05:00
Jonathan Bennett
0fa3685161
Fix crash in GPS setup when GPS is disabled
2023-09-06 12:38:58 -05:00
code8buster
899f9dd7bf
Merge pull request #2775 from GUVWAF/disabledNeighbor
...
Only update neighbors when module is enabled
2023-09-05 23:43:09 +00:00
GUVWAF
9af4ecf48f
Remove unnecessary line when disabled
2023-09-05 21:42:39 +02:00
GUVWAF
cfb6a1394c
Only update neighbors when module is enabled
2023-09-05 19:56:42 +02:00
code8buster
1254031f7d
Merge pull request #2772 from meshtastic/ubx-pmreq
...
UBX-RXM-PMREQ soft-off implemented
2023-09-05 17:15:12 +00:00
code8buster
c91e306659
Move packet scratch declaration to header
2023-09-05 11:59:34 -04:00
code8buster
4ff343b20f
no byte... just 8 unsigned bits please
2023-09-05 00:32:53 -04:00
code8buster
134fc75b67
UBX-RXM-PMREQ soft-off implemented
2023-09-05 00:26:42 -04:00
Ben Meadors
fb23e479ac
Update ESP32 platform ( #2770 )
2023-09-04 20:20:20 -05:00
github-actions[bot]
5a61695016
[create-pull-request] automated change ( #2769 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2023-09-04 19:45:46 -05:00
github-actions[bot]
3bcab0e223
[create-pull-request] automated change ( #2768 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2023-09-04 18:38:58 -05:00
GUVWAF
17617ce031
Fix possible memory leak in NeighborInfo Module ( #2765 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-09-04 18:38:16 -05:00
Jonathan Bennett
97f0c734e0
Fix Neighborinfo crash
...
neighbors object wasn't initialized when module disabled, this
initializes it to a safe, empty object.
2023-09-04 18:15:27 -05:00
Jonathan Bennett
e943fffe8c
GPS fixes
...
Work aroung Serial reset issue on ESP32
Don't send unsupported command to G60xx GPS
2023-09-04 15:00:05 -05:00
tropho23
ffcb131171
GPS toggle for RAK4631 (patch 2 of 2) ( #2764 )
...
* Added triple-press GPS toggle button changes
* Revert edits to extensions.json
* comma'd
* Update variant.h
Added the line:
// Define pin to enable GPS toggle (set GPIO to LOW) via user button triple press
#define PIN_GPS_EN 34 // GPS power enable pin
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
Co-authored-by: code8buster <communismisgreat@national.shitposting.agency >
2023-09-04 13:17:01 -05:00
tropho23
bb1fe7cad3
GPS toggle for RAK4631 (patch 1 of 2) ( #2763 )
...
* Added triple-press GPS toggle button changes
* Revert edits to extensions.json
* comma'd
* Update platformio.ini
Added line:
-DGPS_POWER_TOGGLE ; comment this line to disable triple press function on the user button to turn off gps entirely.
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
Co-authored-by: code8buster <communismisgreat@national.shitposting.agency >
2023-09-04 13:16:39 -05:00
Ben Meadors
ad40493a39
Add speed, heading, and DOP to default position flags ( #2759 )
...
* Add speed and heading
* Add DOP
2023-09-04 06:46:27 -05:00
Jonathan Bennett
ac62330e1c
Found lost byte dropped from moduleinfo
...
Attempt to fix CFG-GNSS for neo-6m
2023-09-03 22:38:03 -05:00
code8buster
53f6a43661
Merge pull request #2752 from meshtastic/nmea-rate
...
Adds GPS Serial Speed scanning, fixes ublox GNSS setup errors
2023-09-03 21:57:51 +00:00
Jonathan Bennett
7ad94da1c6
Add more to GPS_DEBUG and fix ubx7 CFG-GNSS
2023-09-03 16:20:01 -05:00
Jonathan Bennett
ecdb75aae0
Correct UBX-CFG-PMS message
2023-09-03 02:16:29 -05:00
Jonathan Bennett
7c98445ca3
Cleanup in prep for commiting
...
Fix some compilation warnings
gate debug code behind GPS_DEBUG
minor fix in u-blox protocol detection
Begin to gate GPS messages based on protover
2023-09-03 01:50:11 -05:00
Jonathan Bennett
b21368ecfa
Add delay and debug code for GPS probe
2023-09-02 20:35:38 -05:00
Jonathan Bennett
1a178c7d33
Add check for GPS Frame Errors message
2023-09-02 04:29:48 -05:00
Jonathan Bennett
5d6f0ea6c4
Fix possible edge case in GPS detection
2023-09-01 16:24:28 -05:00
Ben Meadors
5bd861f3d8
Merge branch 'master' into nmea-rate
2023-09-01 15:08:32 -05:00
GUVWAF
6d93fab495
Add neighbor IDs to MQTT JSON ( #2756 )
...
* Add neighbor IDs to JSON
* Limit #neighbors to what we can actually save
* Put neighbor IDs in an array
* Add SNR to neighbors in nested objects
2023-09-01 14:35:57 -05:00
Jonathan Bennett
6803fd7949
More fixes for GPS chips with unexpected baud
2023-09-01 12:11:39 -05:00
Jonathan Bennett
a61f969773
Increase GPS detection timeout slightly
2023-08-31 22:19:50 -05:00
Jonathan Bennett
79cfc4b725
Avoid Serial output mangling with RTOS.
2023-08-31 20:40:01 -05:00
Jonathan Bennett
cf762bbd42
Cut down delay times for GPS probe and init
2023-08-31 20:39:23 -05:00
code8buster
3d2c419d0d
Remove leftover debug msg
2023-08-30 16:24:56 -04:00
Jonathan Bennett
903f619609
Add GPS serial speed scan
2023-08-28 19:01:14 -05:00
Jonathan Bennett
2e3f762d3d
Catch a nullptr return rather than crash
2023-08-28 04:05:45 -05:00
Jonathan Bennett
a42266f74b
GPS: Fix checksum and remove spurious returns
2023-08-28 04:05:45 -05:00
github-actions[bot]
a605c69eb4
[create-pull-request] automated change ( #2748 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2023-08-26 07:36:04 -05:00
Thomas Göttgens
282cc0b16a
Merge pull request #2737 from meshtastic/BBQ10Kb-Fix
...
Bbq10 kb fix
2023-08-26 11:22:35 +02:00
Thomas Göttgens
4ab67f3668
IGOR! Fetch me the brain!
2023-08-25 16:44:39 +02:00
Thomas Göttgens
312028b161
Possble fix ESC
2023-08-25 09:27:09 +02:00
Ben Meadors
ecd48db69c
Merge branch 'master' into BBQ10Kb-Fix
2023-08-24 19:57:49 -05:00
Ben Meadors
03dc36ea12
Use fixed position regardless of gps lock ( #2744 )
2023-08-24 10:55:49 -05:00
Mark Trevor Birss
c2ae38405e
Update architecture.h ( #2746 )
2023-08-24 07:58:24 -05:00
Thomas Göttgens
2a1d8c40b4
add TAB and ESC handling
2023-08-24 14:24:26 +02:00
Ben Meadors
e2441c425a
Merge branch 'master' into BBQ10Kb-Fix
2023-08-24 07:06:42 -05:00
Mark Trevor Birss
00ffe73ebd
Heltec ESP32-C3 HT-CT62 support ( #2741 )
...
* Add files via upload
* Update platformio.ini
* Update variant.h
* Update platformio.ini
* Switch to our new HW_MODEL
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
Co-authored-by: Ben Meadors <thebentern@tuta.io >
2023-08-23 07:59:21 -05:00
Thomas Göttgens
3355019de3
Merge branch 'master' into BBQ10Kb-Fix
2023-08-23 09:45:06 +02:00
Thomas Göttgens
5bb207d88b
reset sym after second keypress
...
also remove debug print and non-working scancodes.
2023-08-23 09:44:20 +02:00
github-actions[bot]
5453e4d123
[create-pull-request] automated change ( #2742 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2023-08-22 17:11:22 -05:00
Thomas Göttgens
7f1b58a222
trunk fmt
2023-08-22 21:23:37 +02:00
Thomas Göttgens
39357b2686
Merge branch 'BBQ10Kb-Fix' of github.com:meshtastic/firmware into BBQ10Kb-Fix
2023-08-22 21:23:00 +02:00
Thomas Göttgens
d6b629ae04
update SYM Scancode
2023-08-22 21:19:51 +02:00
Thomas Göttgens
7b1aeb60cd
Try manual scancode for SYM
2023-08-22 21:19:51 +02:00
Thomas Göttgens
5c7c1cd253
silence compiler warnings
2023-08-22 21:19:51 +02:00
Thomas Göttgens
8cfe130df3
update SYM Scancode
2023-08-22 21:11:19 +02:00
Thomas Göttgens
feef86942d
Merge pull request #2738 from meshtastic/neighbourinfo-fix
...
fix crash and Debug logging in NeighbourInfo
2023-08-22 16:27:52 +02:00
Thomas Göttgens
5f3a8b4924
fix crash and Debug logging in NeighbourInfo
2023-08-22 15:43:21 +02:00
Thomas Göttgens
0fcaaf39b0
Try manual scancode for SYM
2023-08-22 11:23:19 +02:00
Thomas Göttgens
a55eac5c20
silence compiler warnings
2023-08-22 10:58:54 +02:00
github-actions[bot]
b47c9c165a
[create-pull-request] automated change ( #2733 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-08-19 18:06:33 -05:00
Thomas Göttgens
ecceb10910
different debug print
2023-08-19 21:28:02 +02:00
Thomas Göttgens
6fc76103a0
temporarily Enable debug print
2023-08-19 20:55:50 +02:00
Ben Meadors
f35c7be917
Just putting back DELAYED_INTERVAL for reliability. Ran into problems
2023-08-19 09:45:48 -05:00
Ben Meadors
364364263b
Remove range_test goalie from drawing frames
2023-08-19 09:44:40 -05:00
Manuel
ef957bfac5
support BB Q10 keyboard ( #2703 )
...
* support BB Q10 keyboard
* remove debug code
* fix wrong logic
* fix left/right keys for cardkb
* Try to enable Q10 kb after all
* cppcheck
* Only fire on Key release and assume 0x0a is a enter as well
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com >
2023-08-19 08:37:42 -05:00
Ben Meadors
5d78795065
Portnum promiscuity for text messages from other modules ( #2732 )
...
* Add interested portnums to TextMessageModule
* Send Detection Sensor Module messages on its own portnum
* Add to Ext. Notification and consolidate logic
* RANGE_TEST_APP portnum for RangeTestModule
2023-08-19 07:46:34 -05:00
github-actions[bot]
2dbdda204f
[create-pull-request] automated change ( #2731 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2023-08-18 10:17:55 -05:00
Jonathan Bennett
4767bd5497
Rename utils.h to avoid collision with library. ( #2730 )
2023-08-17 20:22:34 -05:00
Thomas Göttgens
05efd68097
Merge pull request #2729 from meshtastic/trunk-fmt
...
update trunk to latest version
2023-08-17 13:46:44 +02:00
Thomas Göttgens
a90eef432f
update trunk to latest version
2023-08-17 12:17:36 +02:00
Thomas Göttgens
762166495f
Merge branch 'master' into raspi-portduino
2023-08-17 10:06:34 +02:00
Ben Meadors
929b8f6209
Fix thread to use getConfiguredOrDefaultMs ( #2727 )
...
* WIP
* Updates
* Move it out of the macro guard so portduino can build
* Changes from feedback
* Use minimum_broadcast_secs as interval if we just broadcasted to avoid wasting cpu cycles
* Fmt
* Merge conflict resolution boogered me up
* Missed a spot
* getConfiguredOrDefaultMs
* Get the minimum interval
2023-08-16 15:08:06 -05:00
Thomas Göttgens
5d76771fab
Permanently Enable Canned Messages on T-Deck and Picomputer ( #2728 )
...
* - Permanently Enable Canned Messages on T-Deck and Picomputer
- picomputer has a really dark TFT; switch color to white for better UX.
* well, you know... bullock...
2023-08-16 15:07:22 -05:00
Thomas Göttgens
91eb64d7b7
Fix warning about init order ( #2725 )
2023-08-15 20:17:15 -05:00
Ben Meadors
03fe4c629a
Dection Sensor module duty cycle interval optimization ( #2723 )
...
* WIP
* Updates
* Move it out of the macro guard so portduino can build
* Changes from feedback
* Use minimum_broadcast_secs as interval if we just broadcasted to avoid wasting cpu cycles
* Fmt
* Merge conflict resolution boogered me up
* Missed a spot
2023-08-15 12:23:07 -05:00
Ben Meadors
144dfe9805
Initial Detection sensor module feature ( #2722 )
...
* WIP
* Updates
* Doh!
* Move it out of the macro guard so portduino can build
* Changes from feedback
2023-08-14 19:00:51 -05:00
rcarteraz
18899fd168
Update variant.h ( #2719 )
...
remove HAS_GPS 0 so users can add gps
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-08-13 23:45:23 -05:00
code8buster
fcfd83bc89
Remove auto GPS shutoff for fixed position nodes ( #2720 )
2023-08-13 15:56:49 -05:00
github-actions[bot]
a3d2b6166c
[create-pull-request] automated change ( #2716 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2023-08-12 20:49:42 -05:00
Manuel
fb5f2e48a5
fix T-Deck trackball crashes ( #2714 )
...
* try-fix: nodenum crash during boot
* Revert "try-fix: nodenum crash during boot"
This reverts commit 632012e197 .
* fix/workaround: trackball interrupt crashes
* trunk fmt
* add OSThread to trackballInterrupt
2023-08-12 19:44:05 -05:00
Jonathan Bennett
d29c975e3c
Comment out extra-chatty debug message ( #2715 )
2023-08-12 13:51:31 -05:00
Ben Meadors
00ea6ef5ad
Merge branch 'master' into raspi-portduino
2023-08-12 09:40:26 -05:00
Jonathan Bennett
c44986127e
More GPS work ( #2711 )
...
Increase GPS buffer on esp32
Check for and flush GPS buffer when overfilled and corrupted.
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-08-12 09:29:44 -05:00
Ben Meadors
6e0b6684ee
Extend node max to 100 and remove mesh_sds_timeout_secs ( #2713 )
...
* Extend node max to 100 and remove mesh_sds_timeout_secs
* Const pointers for you and you and you
* Fixes and supressions
* Missed it
* uint
* Resize
* Derp
2023-08-12 09:29:19 -05:00
Manuel
84ddfea491
try-fix: max nodes crash during boot ( #2712 )
...
* try-fix: nodenum crash during boot
* Revert "try-fix: nodenum crash during boot"
This reverts commit 632012e197 .
* try-fix: max nodes crash during boot
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-08-12 09:28:58 -05:00
Ben Meadors
3d6fb13f9a
Stop failing on low severity styling issues
2023-08-12 06:43:13 -05:00
Manuel
54c48329c8
Merge pull request #2710 from meshtastic/fix-screen-setup
...
fix repeater crash during screen setup
2023-08-12 10:46:07 +02:00
mverch67
ede31a2080
fix repeater crash
2023-08-11 19:41:21 +02:00
Jonathan Bennett
9470d4694b
Pickier parsing of NMEA to detect an L76K chip ( #2699 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-08-10 11:21:35 -05:00
github-actions[bot]
2074c76780
[create-pull-request] automated change ( #2697 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2023-08-10 05:53:55 -05:00
Thomas Göttgens
b5b66f43f2
Merge branch 'master' into raspi-portduino
2023-08-09 11:19:23 +02:00
Thomas Göttgens
9f6584bd67
Merge pull request #2694 from mverch67/t-watch-fixes
...
T-Watch S3 fixes
2023-08-08 22:49:37 +02:00
mverch67
dd69de9f32
trunk fmt
2023-08-08 20:21:20 +02:00
mverch67
616553ed72
doing the math :)
2023-08-08 20:14:12 +02:00
mverch67
1986267d65
check payload size
2023-08-08 20:02:29 +02:00
mverch67
1d0ac2caf7
trunk fmt
2023-08-08 18:55:00 +02:00
mverch67
746d7268a2
fix picomputer
2023-08-08 18:51:11 +02:00
Manuel
9a7777dbdb
Merge branch 'master' into t-watch-fixes
2023-08-08 18:21:57 +02:00
mverch67
0fe99b0caa
T-Watch fixes
2023-08-08 18:06:39 +02:00
Ben Meadors
f9798b7dda
Bump to 2.2
2023-08-08 08:05:43 -05:00
Ben Meadors
23fb377fd7
Don't cancel sending "seen" messages on MQTT enabled nodes ( #2690 )
2023-08-08 06:27:26 -05:00
Thomas Göttgens
4808a5c57f
also update other boards with those ( #2691 )
2023-08-07 23:22:17 +00:00
Thomas Göttgens
d25c368985
Try enabling the secondary I2C bus on Heltec V3 ( #2689 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-08-07 15:17:26 -05:00
GUVWAF
a5f3dea40b
Clarify that when rebooting is not implemented some settings may not apply ( #2688 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-08-07 15:16:56 -05:00
Thomas Göttgens
f026c3308c
add picomputer
2023-08-07 21:34:01 +02:00
Thomas Göttgens
ed4e7a4cee
Change Target Name
2023-08-07 21:33:42 +02:00
Thomas Göttgens
95f67d70ea
Merge pull request #2493 from meshtastic/picomputer-s3
...
Add variant an plumbing for #2468
2023-08-07 21:17:24 +02:00
Thomas Göttgens
e3260c1d19
Merge branch 'master' into picomputer-s3
2023-08-07 20:27:44 +02:00
Thomas Göttgens
98f3be0665
Merge pull request #2647 from meshtastic/2.2-working-changes
...
2.2 Changes
2023-08-07 20:27:05 +02:00
Ben Meadors
dc31024764
Merge remote-tracking branch 'origin/master' into 2.2-working-changes
2023-08-07 13:24:10 -05:00
Ben Meadors
5bbcb40f7a
Updated protos
2023-08-07 13:23:21 -05:00
Thomas Göttgens
8218a729e0
Merge branch 'picomputer-s3' of github.com:meshtastic/firmware into picomputer-s3
2023-08-07 19:58:48 +02:00
Thomas Göttgens
cbc3e605dd
fix building for other platforms
2023-08-07 19:57:47 +02:00
Thomas Göttgens
94c41a4fed
Merge branch 'master' into picomputer-s3
2023-08-07 19:47:29 +02:00
caveman99
1afe9f75bd
[create-pull-request] automated change
2023-08-07 19:46:28 +02:00
Thomas Göttgens
402f8ba524
Let's see what this breaks...
2023-08-07 19:34:42 +02:00
Ben Meadors
04bbdc6b8a
Platform / dep updates ( #2684 )
...
* Update nordic platform
* Update sensor libs
2023-08-06 10:06:08 -05:00
Thomas Göttgens
0084c0881d
Merge branch 'picomputer-s3' of github.com:meshtastic/firmware into picomputer-s3
2023-08-06 16:57:03 +02:00
Thomas Göttgens
8552cc44b9
Merge branch 'master' into picomputer-s3
2023-08-06 16:55:28 +02:00
Thomas Göttgens
684cce7640
trunk fmt
2023-08-06 16:53:37 +02:00
Thomas Göttgens
114eb0c952
enable Canned Messages on T-Deck without presets
2023-08-06 16:53:37 +02:00
Thomas Göttgens
bed2bfa074
trunk fmt
2023-08-06 16:47:55 +02:00
Thomas Göttgens
0aef8703b6
- use LovyanGFX for m5stack
...
- update some comments
2023-08-06 16:47:55 +02:00
Thomas Göttgens
f5d323fdd3
trunk fmt
2023-08-06 16:21:39 +02:00
Thomas Göttgens
568cc259af
Don't crash when no radio detected.
2023-08-06 16:21:39 +02:00
Neil Hao
42039e27e7
Initialize the L76K Chip, use GPS + GLONASS + BEIDOU ( #2680 )
...
* 'nano-g2-ultra'
* revert overcommit
* nano-g2-ultra-fmt
* revert overcommit
* revert overcommit
* Added BEIDOU support to L76K
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-08-06 08:28:37 -05:00
Mark Trevor Birss
400b71c152
Update variant.h
2023-08-05 17:42:51 +02:00
Mark Trevor Birss
b1f6ff1280
Update variant.h
2023-08-05 17:42:51 +02:00
Ben Meadors
cfe5c7f31d
Tweaking Power FSM states ( #2676 )
...
* Tweaking Power FSM states
* Turn bluetooth back on after serial disconnected
* Remove references to deprecated mesh_sds_timeout_secs
2023-08-04 06:01:01 -05:00
Thomas Göttgens
1e71d346ae
Merge branch 'master' into raspi-portduino
2023-08-03 21:36:43 +02:00
Thomas Göttgens
4e54bec525
Force small fonts on Low DPI screens, no matter what the driver default uses. Up till now we assumed large fonts on E-Paper and TFT Screens. ( #2677 )
2023-08-03 06:58:19 -05:00
Thomas Göttgens
e0bf15b80e
trunk fmt
2023-08-03 10:05:38 +02:00
Jm Casler
26264fd908
more fixes for trunk
2023-08-03 10:05:38 +02:00
Jm Casler
794948d7e4
fixing trunk problems
2023-08-03 10:05:38 +02:00
Jm Casler
e9cbe54eca
add more documentaiton
2023-08-03 10:05:38 +02:00
Jm Casler
641d117106
Update extensions.json
2023-08-03 10:05:38 +02:00
Jm Casler
5f38e79b8f
Add documentation to a few areas
2023-08-03 10:05:38 +02:00
Thomas Göttgens
b238aebe38
Merge branch 'picomputer-s3' of github.com:meshtastic/firmware into picomputer-s3
2023-08-03 09:37:32 +02:00
GUVWAF
e05c8e60d9
Save Neighbors to flash
2023-08-02 20:56:24 +02:00
Ben Meadors
f1bcc300d9
Merge branch 'master' into 2.2-working-changes
2023-08-02 12:58:32 -05:00
Jonathan Bennett
06a6a992c2
GPS Fixes for nrf52 ( #2675 )
...
Expands board serial buffer from 64 (!) to 1024
Adds some debugging messages when problems are detected.
2023-08-02 10:08:59 -05:00
Ben Meadors
11be856507
Merge branch 'master' into 2.2-working-changes
2023-08-01 21:00:58 -05:00
github-actions[bot]
7fe815a327
[create-pull-request] automated change ( #2674 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2023-08-01 21:00:34 -05:00
Ben Meadors
191a69dd26
Don't create potential NodeInfo storm on telemetry reponse from Repeater ( #2673 )
...
* Don't create potential NodeInfo storm on telemetry reponse from Repeaters
* Check decoded
2023-08-01 18:24:40 -05:00
Ben Meadors
9eeec6c083
Reply to Repeater in DeviceTelemetry module ( #2661 )
2023-08-01 16:18:10 -05:00
Ben Meadors
919b2d1e48
Merge branch 'master' into raspi-portduino
2023-07-31 19:00:00 -05:00
Ben Meadors
c4474a7b99
Merge branch 'master' into picomputer-s3
2023-07-31 18:59:50 -05:00
Ben Meadors
0821cff1c8
Merge remote-tracking branch 'origin/master' into 2.2-working-changes
2023-07-31 18:54:53 -05:00
github-actions[bot]
b799b7bf62
[create-pull-request] automated change ( #2672 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2023-07-31 18:51:15 -05:00
Ben Meadors
90ec8eae6c
Backmerge master protos
2023-07-31 18:28:27 -05:00
Thomas Göttgens
ba172aae32
Merge branch 'picomputer-s3' of github.com:meshtastic/firmware into picomputer-s3
2023-07-31 22:28:04 +02:00
Thomas Göttgens
26338b8f2b
Merge branch 'master' into picomputer-s3
2023-07-31 22:27:24 +02:00
Jonathan Bennett
939a359e7e
Adds DOP fields to JSON MQTT output ( #2671 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-07-31 15:19:36 -05:00
GUVWAF
5a5af4707c
SerialModule SIMPLE mode: use write() instead of printf()
2023-07-31 22:18:42 +02:00
Thomas Göttgens
ef5e21d3da
Enable Trunk on Windows
2023-07-31 21:37:55 +02:00
Ben Meadors
8a49221b7f
Update version.properties
2023-07-30 20:17:57 -05:00
Ben Meadors
76dc805184
Add Nano-g2-ultra
2023-07-30 14:07:17 -05:00
GUVWAF
297708a50b
Manually update protos
2023-07-30 17:27:43 +02:00
GUVWAF
a61a4fad3e
Merge pull request #2667 from GUVWAF/removeNeighbors
...
Remove neighbors after twice their broadcast interval
2023-07-30 17:17:17 +02:00
GUVWAF
c66b68b0cc
Remove neighbors after twice their broadcast interval
2023-07-30 16:54:39 +02:00
Ben Meadors
97d7a89644
Update protobufs
2023-07-30 07:58:11 -05:00
Ben Meadors
04cba45c60
Merge branch 'master' into 2.2-working-changes
2023-07-30 07:54:11 -05:00
Manuel
502a6596a3
T deck: support keyboard, trackball and touchscreen ( #2665 )
...
* add hwid for auto-detection
* fix: heltec-wireless-tracker USB serial
* T-Deck support
* trunk fmt
* set FRAMERATE to 1
* fix some defines
* trunk fmt
* corrected vendor link
* T-Deck: support keyboard, trackball & touch screen
* T-Watch add touchscreen defs, remove getTouch
* fix warnings
* getTouch uint16 -> int16
* fix touch x,y
* fix I2C port
* CannedMsgModule: use entire display height
* trunk fmt
* fix I2C issue for T-Watch
* allow dest selection in canned mode
* fix: allow dest selection in canned mode
* use tft.setBrightness() to poweroff display
* Increased t-watch framerate and added back haptic feedback
* add da ref
* Move to touched
* improved sensitivity and accuracy of touch events
* use double tap to send canned message
* fix warning
* trunk fmt
* Remove extra hapticFeedback()
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-07-30 07:51:26 -05:00
Ben Meadors
5aedd84c7d
Merge branch 'master' into 2.2-working-changes
2023-07-29 08:15:17 -05:00
Neil Hao
b9c9f0f865
nano-g2-ultra ( #2660 )
...
* 'nano-g2-ultra'
* revert overcommit
* nano-g2-ultra-fmt
* revert overcommit
* revert overcommit
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-07-29 07:54:56 -05:00
GUVWAF
ffcc1a0275
RP2040: Enable ExternalNotification and RangeTest Module, set randomSeed ( #2664 )
...
* Enable ExternalNotification (and RangeTest) Module
* Set a random seed at boot
2023-07-29 07:19:58 -05:00
Ben Meadors
3d697f8cf4
Enable SX126X RX Boosted gain by default ( #2663 )
2023-07-28 10:39:40 -05:00
Ben Meadors
38c9a1ea07
neighborInfo->node_broadcast_interval_secs
2023-07-28 10:36:44 -05:00
Ben Meadors
0eefd0912f
Move node_broadcast_interval_secs
2023-07-28 10:28:14 -05:00
Ben Meadors
0cda8e6087
Start plumbing node_broadcast_interval_secs
2023-07-28 06:58:28 -05:00
Ben Meadors
2cf648928a
Add node_broadcast_interval_secs to Neighbor
2023-07-28 06:43:21 -05:00
Andre K
3cd7d8d6af
update min_app_version to 2.2.0
2023-07-28 06:22:16 -03:00
Ben Meadors
702a83b525
Bumb device state version
2023-07-27 16:03:57 -05:00
GUVWAF
32246850aa
Convert protobuf values that are unsigned properly to uint in JSON ( #2659 )
2023-07-27 13:53:20 -05:00
Ben Meadors
74650ca276
Words are important
2023-07-27 13:23:18 -05:00
Ben Meadors
0141bbe772
Regen
2023-07-27 12:59:06 -05:00
Ben Meadors
049c587ca2
Add phoneapi plumbing. Need to regen protos on my other machine
2023-07-27 12:51:31 -05:00
Ben Meadors
1a28225cd5
Merge branch 'master' into 2.2-working-changes
2023-07-27 08:55:48 -05:00
Ben Meadors
6bd870c454
I guess we have to use SHAs (lame)
2023-07-27 07:59:39 -05:00
Ben Meadors
c782380373
Fix semgrep errors
2023-07-27 07:04:00 -05:00
Ben Meadors
4fd756acd8
Merge branch 'master' into 2.2-working-changes
2023-07-27 06:42:02 -05:00
Ben Meadors
0b509c7e79
Remove concurrency groups for now. They seem to cause CI hangs
2023-07-27 06:41:39 -05:00
Ben Lipsey
86af578df9
Preferred units when distance unknown ( #2652 )
...
* units when distance unknown
* replace deleted comment
2023-07-26 18:06:31 -05:00
Thomas Göttgens
ff11506922
Merge pull request #2649 from meshtastic/neighborinfo
...
add Neighborinfo
2023-07-26 13:07:01 +02:00
Ben Meadors
f35b422365
Trunk
2023-07-25 20:54:01 -05:00
Ben Meadors
08f1ac785a
Gut NodeDb and remove deprecated protos
2023-07-25 19:13:19 -05:00
Ben Meadors
146ed067a1
Merge branch 'master' into neighborinfo
2023-07-25 16:14:50 -05:00
Ben Meadors
bdcf17a3f7
Add T-Deck to S3 ota logical branch ( #2644 )
...
* Add T-Deck to S3 ota logical branch
* Revert "Add T-Deck to S3 ota logical branch"
This reverts commit d0aef9dc26 .
* Add targets
* Get the bat file too
2023-07-25 16:13:32 -05:00
github-actions[bot]
81edf363d7
[create-pull-request] automated change ( #2645 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2023-07-25 05:46:11 -05:00
Ben Meadors
96c6a20e03
Ensure that MQTT is enabled and log initialization ( #2643 )
2023-07-24 12:33:01 -05:00
Ben Meadors
3fbe2d771c
Hopefully this cancels previous CI runs for a branch ( #2642 )
2023-07-24 09:47:16 -05:00
Jonathan Bennett
ac9c81f6d1
Check Position Request for Primary Channel ( #2638 )
...
Prevents leaking location data to secondary channels.
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-07-24 09:37:56 -05:00
Ben Meadors
2e7c95a110
Merge branch 'master' into neighborinfo
2023-07-24 07:24:34 -05:00
Ben Meadors
490abdac96
Whoops
2023-07-24 07:22:04 -05:00
Ben Meadors
b17436a023
Patch gather-artifacts
2023-07-24 06:54:05 -05:00
rcarteraz
b9ae63cb3c
Update Bug Report.yml ( #2640 )
...
Add T-Deck, T-Watch, Wireless Paper, and Wireless Tacker to device list.
2023-07-24 06:44:19 -05:00
github-actions[bot]
55701692fd
[create-pull-request] automated change ( #2637 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2023-07-24 06:43:47 -05:00
Thomas Göttgens
171cca435e
Merge branch 'master' into raspi-portduino
2023-07-24 11:00:58 +02:00
Ben Meadors
470363d294
Update Hydra to use new TXEN->DIO2 macro ( #2636 )
2023-07-22 18:59:33 -05:00
github-actions[bot]
fb21bfe0f5
[create-pull-request] automated change ( #2635 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2023-07-22 09:37:51 -05:00
Ben Meadors
0739bc0cea
T-Watch S3 Support ( #2632 )
...
* T-Watch WIP
* Updates
* Temp
* Update screen spi bus and and backlight en
* Peripherals progress
* Fixes
* Fixes
* Updates
* DRV scaffolding
* Fixed touch-screen driver selection. WIP on DRV haptic feedback
* DRV2605 pmu channel
* Trunk
* Fixes and defaults
* Dropped an s
* Move PMU and turn off screen that way
* Add t-deck and t-watch-s3 to CI and cleanup
* More cleanup
2023-07-22 09:26:54 -05:00
Ben Meadors
3a24882e76
Merge branch 'master' into neighborinfo
2023-07-22 08:46:27 -05:00
andrew-moroz
1c74479555
xiao-ble: add initial support for the Xiao BLE + Ebyte E22-900M30S ( #2633 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-07-21 20:37:00 -05:00
rcarteraz
084ad1b722
Update main_matrix.yml ( #2634 )
...
Add Heltec Wireless Paper to S3 Boards
2023-07-21 19:32:39 -05:00
Manuel
2486892e6d
Basic T-Deck support ( #2630 )
...
* add hwid for auto-detection
* fix: heltec-wireless-tracker USB serial
* T-Deck support
* trunk fmt
* set FRAMERATE to 1
* fix some defines
* trunk fmt
* corrected vendor link
2023-07-19 08:13:51 -05:00
github-actions[bot]
77efbb3f5d
[create-pull-request] automated change ( #2626 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2023-07-18 10:00:12 -05:00
Ben Meadors
eb7025f1b1
Add Hydra specific target to define GPS EN pin and limit tx power ( #2608 )
...
* Use DIO2 bridged to TXEN and remove TX/RXEN pin switching altogether
* Add Hydra specific target to limit tx power and define GPS EN
* Whoops
2023-07-18 07:09:55 -05:00
github-actions[bot]
69beef8310
[create-pull-request] automated change ( #2625 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2023-07-18 06:19:37 -05:00
Manuel
468807466c
fix BLE PIN screen for not so large screens ( #2624 )
...
* add hwid for auto-detection
* fix: heltec-wireless-tracker USB serial
* fix BLE PIN screen for not so large displays
2023-07-18 06:10:39 -05:00
code8buster
8927cffd64
GPS log modifications ( #2609 )
...
* Move module info for use in functions outside of probe, refmt MON-VER message
* use checksum function in probe message
* Housekeeping on some comments, unsign the position ctr again
2023-07-17 20:27:14 -05:00
tropho23
5995c7060d
Added triple-press GPS toggle button changes for select ESP32 devices ( #2617 )
...
* Added triple-press GPS toggle button changes
* Revert edits to extensions.json
* comma'd
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
Co-authored-by: code8buster <communismisgreat@national.shitposting.agency >
2023-07-17 18:55:40 -05:00
Manuel
541291cc70
resolve heltec-wireless-tracker serial issue ( #2621 )
...
* add hwid for auto-detection
* fix: heltec-wireless-tracker USB serial
2023-07-17 13:06:34 -05:00
Ben Meadors
41b07de5a2
Merge branch 'master' into neighborinfo
2023-07-17 09:21:08 -05:00
Mark Trevor Birss
4306c32349
Update variant.h ( #2620 )
...
Update M5Stack CoreInk enable GPS/BDS
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-07-17 09:20:42 -05:00
Manuel
491fe52841
add hwid for auto-detection ( #2619 )
2023-07-17 09:20:05 -05:00
Manuel
ad5de5a724
increase BT NIMBLE task stack size by 1k ( #2618 )
2023-07-17 06:23:27 -05:00
Manuel
ab32503601
Heltec-Tracker: GPS support ( #2615 )
...
* Heltec-Tracker: GPS support
* trunk fmt
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-07-16 16:57:14 -05:00
Ben Meadors
e4e26a819b
Check if hasSensor an run if not initialized ( #2613 )
2023-07-16 15:23:31 -05:00
Ben Meadors
6d97d5dfa2
Bump PR artifacts github action
2023-07-16 15:18:42 -05:00
Manuel
c75965480f
Heltec-Tracker: TFT LCD support ( #2612 )
...
* Heltec-Tracker: TFT LCD support
* trunk fmt
* backwards compatibility with ST7735 devices
* trunk fmt
2023-07-15 08:53:26 -05:00
luzpaz
003047baaf
Fix various typos ( #2607 )
...
* Fix various typos
Found via `codespell -q 3 -L acount,clen,dout`
* Trunk reformatting
---------
Co-authored-by: code8buster <communismisgreat@national.shitposting.agency >
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-07-14 16:25:20 -05:00
Ben Meadors
4ace59fc18
Partial Heltec Wireless Paper and Wireless Tracker support ( #2594 )
...
* WIP
* Comment
* WIP
* TFT_CTRL
* Update platformio.ini
update to current latest version available
* Update EInkDisplay2.cpp
Is the e-ink Display a DEPG0213BN ?
* Logging
* trunk fmt
---------
Co-authored-by: Mark Trevor Birss <markbirss@gmail.com >
2023-07-14 16:12:30 -05:00
Dmitry Galenko
aa0b56e947
GPS: Implement Power Management, Refactor Code and Fix GSA Message Configuration for U-Blox hardware ( #2606 )
2023-07-12 19:35:41 -05:00
Ben Lipsey
42d79d012e
center text based on screen width ( #2603 )
2023-07-09 20:16:36 -05:00
Ben Meadors
d3e7e45ded
Append alpha to release name
2023-07-09 06:17:17 -05:00
github-actions[bot]
0cca7751cd
[create-pull-request] automated change ( #2600 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2023-07-09 06:15:48 -05:00
Ben Meadors
de53280ffc
PIN_GPS_EN power toggling ( #2592 )
...
* PIN_GPS_EN
* Remove extra digitalWrite
* GPS_POWER_TOGGLE macro enabled. Added WSLv3 too
* Update variant.h
* Update variant.h
* Fixed macro guard
2023-07-08 21:01:00 -05:00
Ben Meadors
65aafe7ea1
Update protos
2023-07-08 20:46:34 -05:00
Ben Meadors
6e96216ba3
MQTT client proxying ( #2587 )
...
* WIP on MQTT proxy message queue
* Fix copy paste goof
* Progress on uplink
* Has packets
* Avoid trying to connect if we're proxying
* Pointer correctly
* Remove wifi guards
* Client proxy subscribe
* Fixed method that got bababababorked somehow... personally I blame CoPilot
* Short circuit logic
* Remove canned settings
* Missed some stuff in the move
* Guard pubsub client for non-networked variants
* Has networking guard
* else
* Return statement for fall-thru
* More gaurd removals
* Removed source filters. No wonder I was confused
* Bounding
* Scope guard around else and fix return
* Portduino
* Defs instead
* Move macro up to actually fix portduino
* Size_t
* Unsigned int
* Thread interval
* Protos
* Protobufs ref
2023-07-08 20:37:04 -05:00
Max-Plastix
da389eb787
Correct unused variable warning and typo around GNSS_MODEL_UNKNOWN ( #2596 )
...
* Small warning and typo cleanup.
* Update GPS.cpp (missed one instance of GNSS_MODEL_UNKONW)
2023-07-08 18:30:52 -05:00
GUVWAF
d8ad2b3f48
RPi Pico screen, CannedMessageModule (CardKB) and reboot support ( #2595 )
...
* Make input_source case insensitive
* Implement reboot for RP2040
* Remove EXT_NOTFIFY_OUT as it conflicts with I2C and module is not supported
* RP2040 has screen, button and wire
* Add default I2C pins also for Pico W
2023-07-08 11:32:36 -05:00
Ben Meadors
97606cd382
New platform updates ( #2593 )
2023-07-07 18:58:49 -05:00
prokrypt
5c34e36bec
Temporary band-aid to address mesh [un]reliability after queue "fix" ( #2588 )
2023-07-06 06:43:21 -05:00
Dmitry Galenko
9c141919f6
Initial support for MonteOps's fixed hardware platform ( #2582 )
...
* Initial support for MonteOps's fixed hardware platform
* Update platformio env config + cleanup
* Fix platformio build
* Fix platformio build
* Fix wrong definition logic for NCP5623
* Fix another wrong definition logic for NCP5623, it's not board feature
* Fix wrong definition logic for NCP5623 in External Notification code, it's not board feature
* We need for CI magic here
* Another fix related to NCP5623
* Fix cosmetic issue with redifined variable
* Fix typo
* Cleanup and update defs for HW1
* Fix OEM RAK4631
* Fix AQ sensor reading
* Fix AQ sensor reading (better variant)
* Fix build for other nRF52 devices
* Replace HAS_EINK_RAK to RAK_4631
2023-07-03 09:34:32 -05:00
GUVWAF
b9ad274104
Update retransmission timer based on client offset ( #2583 )
2023-07-02 16:30:28 -05:00
Dmitry Galenko
4ef61f0f15
GPS: Performance improvment for U-Blox hardware ( #2574 )
...
* Add proper configuration procedure for U-Blox modules
* More human friendly getACK
* Fix checksum calculation and payload
* GPS: move unsigned int check
* Introduce UBX protocol payload checksuming
* Fix missed checksums calculation for UBX-CFG-CFG
2023-07-01 19:20:40 -05:00
Thomas Göttgens
1745722dac
Merge branch 'picomputer-s3' of github.com:meshtastic/firmware into picomputer-s3
2023-06-28 09:12:10 +02:00
github-actions[bot]
c120549215
[create-pull-request] automated change ( #2580 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2023-06-27 20:29:11 -05:00
github-actions[bot]
7ca2e818df
[create-pull-request] automated change ( #2579 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2023-06-27 19:38:45 -05:00
Thomas Göttgens
f02923435b
Fix build warning
2023-06-27 23:10:53 +02:00
Ben Meadors
849599cd8e
Merge branch 'master' into picomputer-s3
2023-06-27 15:40:13 -05:00
Ben Meadors
eb0a96a79e
Default ext. notification output for RAK to LED #2 ( #2570 )
...
* Default ext. notification output for RAK to LED #2
* Enabled by default
* Update
* Wrong macro
* Output and nag
2023-06-27 12:21:06 -05:00
Thomas Göttgens
e878f55ed3
Merge branch 'master' into raspi-portduino
2023-06-27 18:13:24 +02:00
Thomas Göttgens
bfc567ad89
Add variant an plumbing for #2468
2023-06-27 18:11:58 +02:00
Thomas Göttgens
b665786c77
Merge branch 'master' into neighborinfo
2023-06-27 18:00:20 +02:00
Ben Meadors
9e2b86b92c
Bump RadioLib to 6.1.0 ( #2577 )
...
* Bump RadioLib to 6.1.0
* RP2040
* More excludes
* Jan added a lot of stuff apparently
* Stay back a version on portduino for now
* It wasn't this. I need to remove the docker build from ci
2023-06-27 07:08:32 -05:00
Ben Meadors
d0cf70c8b3
Remove docker steps from PR build process
2023-06-27 06:59:28 -05:00
charminULTRA
44a906dd01
RAK14001 LED - Turn on to 50% at boot ( #2571 )
...
* Addition of RAK 14001 functionality to start and stay on for boot
* Fixing via Trunk
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-06-26 19:59:44 -05:00
GUVWAF
ccb682bbb8
Call getMacAddr within pickNewNodeNum() ( #2576 )
...
It could be called from within NodeDB::init() before it is set
2023-06-26 19:26:12 -05:00
GUVWAF
e60a5f1cf2
Setter for NeighborInfo
2023-06-25 15:41:19 +02:00
GUVWAF
6bdf67c9be
Conversion to NodeInfoLite
2023-06-25 15:41:06 +02:00
Ben Meadors
bbfd62c47e
Merge branch 'master' into neighborinfo
2023-06-21 21:11:06 -05:00
Ben Meadors
e677a02273
Map built-in LED on RAK-11310 ( #2568 )
2023-06-21 12:11:42 -05:00
GUVWAF
47168d5063
Always assign NodeNum based on MAC address ( #2567 )
...
* Always assign NodeNum based on MAC address
Step one of trying to fix infinite loop
* Store our mac.addr again to ignore an already existing NodeNum if it's us
2023-06-20 16:29:25 -05:00
Ben Meadors
a07e30544d
Merge branch 'master' into neighborinfo
2023-06-19 06:16:42 -05:00
github-actions[bot]
5591b9b9f5
[create-pull-request] automated change ( #2564 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2023-06-18 20:46:06 -05:00
Ben Meadors
a2c5b92840
NodeDB Lite migration ( #2554 )
...
* Skadoosh
* Removing deprecated fields
* Remove remaining deprecations
* Macro
* Macro
* WIP conversion
* Lots of type conversions between Lite versions and new NodeDB methods
* Trunk
* Conversion
* NULL
* Init
* Rename
* Position
* Reworked conversion to NodeInfo for PhoneAPI
2023-06-17 09:10:09 -05:00
Ben Meadors
9716bd8bec
Merge branch 'master' into neighborinfo
2023-06-13 05:44:48 -05:00
GUVWAF
685d27f566
Update core to 3.2.2 and use real FreeRTOS defs ( #2558 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-06-13 05:44:24 -05:00
Ben Meadors
c2168dd450
Merge branch 'master' into neighborinfo
2023-06-09 19:51:22 -05:00
Ben Meadors
f71869215d
Set pin for RAK-12039 to allow I2C auto-detect ( #2555 )
...
* SET pin for RAK-12039 and put back macaddr for now
* Guard against epaper RAK variant
* Update main.cpp
* Add these back
2023-06-09 05:58:58 -05:00
GUVWAF
66c71250b8
Update last_sent_by_id in FloodingRouter
2023-06-08 20:59:09 +02:00
Ben Meadors
81f80546b4
Remove deprecated MyNodeInfo fields ( #2552 )
...
* Skadoosh
* Removing deprecated fields
* Remove remaining deprecations
* Macro
* Macro
2023-06-08 08:07:32 -05:00
Ben Meadors
44a54278b3
Skadoosh ( #2549 )
2023-06-07 12:59:01 -05:00
Ben Meadors
5c438ae792
Merge branch 'master' into neighborinfo
2023-06-06 19:29:59 -05:00
Michel Jung
194833d77f
Fix static ethernet config ( #2544 )
...
With static ethernet config, `status` stayed `0` which let the function return
without setting `ethEvent`. Therefore, `reconnectETH` was never called and network services were never started.
Also, the RAK4631 uses little endian, which is why the IP addresses need to be
converted before setting them.
Fixes #2543
2023-06-06 19:26:13 -05:00
Andre K
207d421fca
refactor tx delay calculation for routers and non-routers ( #2542 )
2023-06-06 17:33:51 -05:00
rcarteraz
fb14487f2f
Update pull_request_template.md ( #2547 )
...
Swap clang-format with trunk check
2023-06-06 17:31:27 -05:00
GUVWAF
365a91f3d9
Add Raspberry Pi Pico and RAK11310 to bug report
2023-06-06 21:40:44 +02:00
GUVWAF
cdf44ce7fa
Move module init out of repeater clause
2023-06-06 21:07:12 +02:00
GUVWAF
d70bd23260
Use float print specifier for SNR
2023-06-06 21:06:19 +02:00
github-actions[bot]
5edc872c31
[create-pull-request] automated change ( #2540 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2023-06-03 06:19:38 -05:00
Ben Meadors
b42ead4400
Merge branch 'master' into neighborinfo
2023-06-02 06:46:45 -05:00
Ben Meadors
cd787232ca
Use INA for device battery level ( #2536 )
...
* WIP
* Continued wip
* We got em
* Voltage sensor base class
* INA voltage
* Log it
* Stacie's mom has got it going on
* Move declaration up
* Last one
* Sneaky little bugger
* Macro guard to avoid calling methods
2023-06-02 06:32:34 -05:00
GUVWAF
344baf7ffc
Cancel rebroadcast in Tx queue upon receiving another rebroadcast ( #2538 )
...
* Make portduino great again
* Upon receiving packet that was seen recently, cancel a rebroadcast if there was one in Tx queue already
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com >
2023-06-01 13:36:30 -05:00
Ben Meadors
a491ceefcd
Wio-e5 wip ( #2265 )
...
* Wio-e5 / STM32WL wip
* Stubbing some FS stuff out
* Wio-e5 / STM32WL wip
* Stubbing some FS stuff out
* Wio-e5 / STM32WL wip
* Stubbing some FS stuff out
* Wio-e5 / STM32WL wip
* Stubbing some FS stuff out
* LittleFS compiles. Can't check with actual device.
* make cppcheck happy again
* Guard against accelerometer thread
* Missed a spot
* Upload via ST-LINK
* Derive MAC address from UID
* upload port
* Trunk it
* Guard it
* Maybe fix the cache error on startup.
* Latest RadioLib ref to fix SubGHZ
* revert nasty Sub-GHz Hack
* Boots and radio inits with RadioLib 6.0, LittleFS doesn't seem to work
---------
Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com >
Co-authored-by: GUVWAF <thijs@havinga.eu >
2023-06-01 07:14:55 -05:00
Ben Meadors
b2704a0082
Merge branch 'master' into neighborinfo
2023-06-01 06:02:42 -05:00
github-actions[bot]
1524c2365f
[create-pull-request] automated change ( #2537 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2023-06-01 06:02:23 -05:00
Ben Meadors
9b94701699
Merge branch 'master' into neighborinfo
2023-05-31 20:08:50 -05:00
Ben Meadors
9d3dc9283c
Enable range test module (sending only) on NRF ( #2534 )
...
* Enable range test module (sending only) on NRF
* Consolidate
2023-05-31 20:08:32 -05:00
Thomas Göttgens
61661aed50
Broadcast neighbor info
...
also update trunk
2023-05-31 13:18:43 +02:00
Ben Meadors
b1398d0770
Open up Serial Module to T-Echo ( #2533 )
...
* Remove macro guards for T-Echo
* Missed a spot
* Gaurd serial2
* Didn't mean to circumcize that declaration
2023-05-31 05:30:59 -05:00
Thomas Göttgens
3a25d6d3b3
Merge branch 'picomputer-s3' of github.com:meshtastic/firmware into picomputer-s3
2023-05-30 14:52:24 +02:00
Ben Meadors
fd4e9daa7f
Merge branch 'master' into picomputer-s3
2023-05-30 07:36:53 -05:00
github-actions[bot]
110ec85137
[create-pull-request] automated change ( #2532 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com >
2023-05-30 07:36:36 -05:00
Thomas Göttgens
b6f7b7fa47
Merge branch 'picomputer-s3' of github.com:meshtastic/firmware into picomputer-s3
2023-05-30 13:07:29 +02:00
Thomas Göttgens
a92a960682
Merge branch 'master' into picomputer-s3
2023-05-30 09:55:33 +02:00
Thomas Göttgens
5d2ab65a81
Merge branch 'picomputer-s3' of github.com:meshtastic/firmware into picomputer-s3
2023-05-27 13:08:57 +02:00
Thomas Göttgens
f3b7f7251c
Add variant an plumbing for #2468
2023-05-27 13:08:27 +02:00
Thomas Göttgens
2f60bbe5f2
Merge branch 'picomputer-s3' of github.com:meshtastic/firmware into picomputer-s3
2023-05-24 01:48:44 +02:00
Thomas Göttgens
0261754269
Add variant an plumbing for #2468
2023-05-24 01:48:01 +02:00
Thomas Göttgens
d74cbdaa8b
update platform def
2023-05-23 21:55:12 +02:00
Ben Meadors
3a5b79e4c1
Merge branch 'master' into raspi-portduino
2023-05-23 07:51:32 -05:00
Ben Meadors
9bee35118f
Merge branch 'master' into raspi-portduino
2023-05-18 06:47:56 -05:00
Thomas Göttgens
e6fc2af21f
Merge branch 'picomputer-s3' of github.com:meshtastic/firmware into picomputer-s3
2023-05-17 20:28:49 +02:00
Ben Meadors
ae41944a89
Merge branch 'master' into picomputer-s3
2023-05-16 10:38:12 -05:00
Thomas Göttgens
62259583e6
Add variant an plumbing for #2468
2023-05-15 17:18:06 +02:00
Thomas Göttgens
c5d87fe581
Add variant an plumbing for #2468
2023-05-15 17:17:14 +02:00
Thomas Göttgens
80f029aa32
Merge branch 'master' into raspi-portduino
2023-05-10 17:13:32 +02:00
Thomas Göttgens
b75aa79da5
Merge branch 'master' into raspi-portduino
2023-05-08 10:32:36 +02:00
Thomas Göttgens
49febc0d9d
Merge branch 'master' into raspi-portduino
2023-04-24 14:58:20 +02:00
Thomas Göttgens
85818b8dfd
Merge branch 'master' into raspi-portduino
2023-04-21 16:50:48 +02:00
Thomas Göttgens
7d299b06a7
Merge branch 'master' into raspi-portduino
2023-04-04 15:00:31 +02:00
Thomas Göttgens
14080d4667
Merge branch 'master' into raspi-portduino
2023-04-02 21:24:49 +02:00
Thomas Göttgens
8a806efb95
Merge branch 'master' into raspi-portduino
2023-03-27 15:30:05 +02:00
Thomas Göttgens
ef2d0cb830
Merge branch 'master' into raspi-portduino
2023-03-21 09:31:49 +01:00
Ben Meadors
5e779bfb33
Merge branch 'master' into raspi-portduino
2023-03-16 14:43:23 -05:00
Thomas Göttgens
498964e04e
Merge branch 'master' into raspi-portduino
2023-03-04 17:24:37 +01:00
Thomas Göttgens
7d0bea267a
Merge branch 'master' into raspi-portduino
2023-02-22 10:08:20 +01:00
Thomas Göttgens
ed1aa9ddb0
Merge branch 'master' into raspi-portduino
2023-02-17 12:34:00 +01:00
Thomas Göttgens
97a0b164be
Merge branch 'master' into raspi-portduino
2023-02-10 00:21:47 +01:00
Ben Meadors
82706a961f
Merge branch 'master' into raspi-portduino
2023-02-08 07:40:36 -06:00
Thomas Göttgens
06a1b079da
even more cleanup-ing and revert-ing
2023-02-02 11:47:47 +01:00
Thomas Göttgens
56afed84df
revert some more
2023-02-02 11:35:30 +01:00
Thomas Göttgens
945fd7a05c
revert readprops change
2023-02-02 11:32:00 +01:00
Thomas Göttgens
e9a55fc296
revert them trunk shite
2023-02-02 11:29:55 +01:00
Thomas Göttgens
472c43aace
Merge remote-tracking branch 'remotes/origin/master' into raspi-portduino
2023-02-02 10:49:45 +01:00
Thomas Göttgens
8b5937892b
Merge pull request #2100 from meshtastic/develop
...
Update Raspi branch
2023-01-04 21:11:47 +01:00
Thomas Göttgens
8c20fe5ec4
Start working on RF95 attached to Raspberry Pi
2022-12-30 21:44:51 +01:00