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
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
Manuel
af157d276a
fix T-Watch flip screen ( #3113 )
2024-01-19 13:11:19 -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
GUVWAF
92110276d7
Use ::printf
for Portduino only
2024-01-13 14:54:43 -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
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
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
Ben Meadors
ea651c2f8f
Remove gps_attempt_time and use broadcast interval instead ( #3064 )
2024-01-07 09:35:19 -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
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
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
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
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
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
caveman99
bbe21766be
[create-pull-request] automated change
2023-12-17 17:29:49 +00: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
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
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
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
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
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
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
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
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
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
6fa026a78b
fix radiolib API for 6.3.0 release
2023-11-30 10:59:01 +01: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
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
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
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
4af90eeb39
Revamp yaml config for Raspbian
2023-11-19 14:53:49 -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
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
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
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
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
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
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
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
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
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
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
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