Thomas Göttgens
f02923435b
Fix build warning
2023-06-27 23:10:53 +02: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
b665786c77
Merge branch 'master' into neighborinfo
2023-06-27 18:00:20 +02: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
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
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
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
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
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
code8buster
99a31c1fad
Make sure the mosfet gate for adc measuring circuit is low ( #2530 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2023-05-30 06:15:19 -05:00
Ben Meadors
113026c372
Allow overriding the default Serial console output settings ( #2528 )
...
* Implement override_console_serial_port
* It's opposite day in Logictown
* Try to use native serial types for platforms
* Fix for s3
* Trunk
* Screw it... just declare as Print and handle init
* Alright, chatty kathy
* Missed a spot
* I'll take "Kill that FIXME" for 800, Alex
* Badunkadunk
* Refactor out a lot of duplicated code
* Boogers
* Okay I probably should stop changing everything
2023-05-30 05:26:34 -05:00
lewishe
24bb52e83f
Fix fetchI2CBus judgment error
2023-05-30 11:22:29 +08:00
Ben Meadors
9ddbfc0e3e
CalTopo NMEA mode ( #2526 )
...
* CalTopo NMEA mode
* Didn't need that actually
* Missed a paren
2023-05-28 14:56:44 -05:00
GUVWAF
e699427bfc
RP2040: Enable telemetry and update HW models ( #2525 )
2023-05-28 10:30:54 -05:00
Ben Meadors
696afeef41
Protos
2023-05-28 09:44:47 -05:00
GUVWAF
94f5c04e19
Update lastSentToPhone after sendTelemetry ( #2522 )
2023-05-27 12:35:45 -05:00
Thomas Göttgens
fbcd6743fd
trunk fmt
2023-05-27 10:29:01 +02:00
lewishe
1b35cc018f
Fix t-beam-s3-core display not working
2023-05-27 10:29:01 +02:00
code8buster
7475c8647c
2.5dB could be a more appropriate attenuation for heltec ADCs ( #2511 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2023-05-26 06:16:40 -05:00
GUVWAF
f3af3c1c33
RP2040: Reverse dmac assignment
...
src.id[0] and src.id[1] that are used for Bluetooth name seem not unique
2023-05-25 15:56:57 +02:00
Thomas Göttgens
a583163766
fix BSEC2 BME680 Sensor Readings
2023-05-25 15:56:39 +02:00
Thomas Göttgens
59b1adf12f
Move to our own logging system ( #2513 )
2023-05-24 10:29:50 -05:00
Thomas Göttgens
1ae77d198d
fix onebutton deprection warning ( #2512 )
2023-05-24 07:16:05 -05:00
Thomas Göttgens
e5b049d2e2
trunk
2023-05-24 02:48:48 +02:00
Thomas Göttgens
52df85c338
tryfix cppcheck errors
...
also ignore temporary files
2023-05-24 02:44:30 +02:00
Thomas Göttgens
1dfa8f2d9e
RAK11310 ( #2299 )
...
* POC. Board definition JSON upcoming. Generic for now
* side-effect: RP2040 is building again.
* WIP Pico Targets
* current state of affairs
* ahem
* POC. Board definition JSON upcoming. Generic for now
* side-effect: RP2040 is building again.
* WIP Pico Targets
* current state of affairs
* ahem
* fmt
* update toolkit and fmt
* Add built in LED pin
* Use arduino pins
* init SPI bus on right pins.
* Use SPI1 and control chip select manually
* Use macro define for SPI selection. This needs to be defined in the ini file since portduino needs it inside the framework source
* Remove manual CS; works when not using setCS()
* Remove whoopsie debug line
* we are not ARDUINO_AVR_NANO_EVERY any more
* fix rp2040 compilation
* fix RadioLibHAL
* Use new arduino-pico core
* Use cortex-m0plus for BSEC2 library
* Forgot RAK11310 target for BSEC2 library
* That branch was merged
* RAK11310 is working too
---------
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
Co-authored-by: GUVWAF <thijs@havinga.eu>
2023-05-23 16:19:36 -05:00
Ben Meadors
4f0922ec2b
Concat remote hardware pins ( #2508 )
2023-05-23 16:18:14 -05:00
github-actions[bot]
eb916da8ce
[create-pull-request] automated change ( #2506 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com>
2023-05-22 20:19:13 -05:00
Ben Meadors
1b68408f2f
Remote hardware overhaul ( #2495 )
...
* Update protos
* WIP
* Param
* Has remote hardware
* Protos
* Initializer
* Added new admin message for node remote hardware pins
* Badunkatrunk
* Init and memcpy
2023-05-22 07:00:20 -05:00
code8buster
a9fed83d9a
Make pull request targets happy
2023-05-16 21:46:55 +02:00
code8buster
c0979e29ff
Fix a few platformio envs, maybe make cppcheck happy
2023-05-16 21:46:55 +02:00
code8buster
9878ff3836
Tryfix datatype errors
2023-05-16 21:46:55 +02:00
code8buster
3219ad33ef
Add ADC channels to esp variants, plug code back in to make sure other archs work
2023-05-16 21:46:55 +02:00
code8buster
6113a1fb70
Tryfix heltec v2 adc issues being on SAR2
2023-05-16 21:46:55 +02:00
code8buster
d11bcda292
Implementing a calibrated ESP32 ADC reading
2023-05-16 21:46:55 +02:00
Thomas Göttgens
77dace1043
derp
2023-05-15 17:16:32 +02:00
Thomas Göttgens
e02720b29b
fixes #2490 - hard coded 8 hour limit
2023-05-15 17:16:32 +02:00
Thomas Göttgens
f9b2556cd4
add optional GPS fields to JSON
2023-05-15 15:40:22 +02:00
IhorNehrutsa
9c683f4c87
Fix LOG_DEBUG messages when no DEBUG_PORT. ( #2485 )
...
* Fix LOG_DEBUG messages when no DEBUG_PORT.
* Fix LOG_DEBUG messages when no DEBUG_PORT.
* Fix LOG_DEBUG messages when no DEBUG_PORT.
* Fix LOG_DEBUG messages when no DEBUG_PORT.
2023-05-13 05:33:14 -05:00
Ben Meadors
c52fddac53
Adding device.is_managed protobuf ( #2487 )
2023-05-12 08:38:30 -05:00
Ben Meadors
6cdf2817f4
Put this back in place
2023-05-11 20:09:34 -05:00
Ben Meadors
75504793e8
Skip setting dio2 as rf switch altogether if txen is defined
2023-05-11 06:52:27 -05:00
Thomas Göttgens
70dc13a998
use BSEC2 only
2023-05-10 14:14:48 +02:00
Thomas Göttgens
9841d49fb8
Merge branch 'master' into BSEC2
2023-05-10 13:31:46 +02:00
Thomas Göttgens
1d90096cba
rearrange pio build system dependencies
...
also update trunk
2023-05-08 14:40:10 +02:00
Thomas Göttgens
c1a1b450e3
RadioLib6 support
2023-05-08 14:40:10 +02:00
Thomas Göttgens
b4ff37104a
fix NMEA Timestamp for good
2023-05-06 23:16:39 +02:00
Thomas Göttgens
81bfd69a41
fmt
2023-05-06 18:13:52 +02:00
Thomas Göttgens
9b6ac98ae0
use the device time, only use gps timestamp as a fallback.
2023-05-06 18:10:20 +02:00
Thomas Göttgens
e1c4968c58
wrong datapoint
2023-05-06 18:10:20 +02:00
Thomas Göttgens
694fd04367
probably fixes #2451 - please test
2023-05-06 18:10:20 +02:00
Ben Meadors
09d48f659e
RAK14001 RGB LED support ( #2464 )
...
* WIP
* WIP
* Moved it
* More random strobey behavior
* Guard to RAK4630 devices for now
* Oops
* Ship it
2023-05-06 07:17:40 -05:00
Thomas Göttgens
46e29402a6
fmt
2023-05-05 18:11:44 +02:00
Thomas Göttgens
10f41e376c
use BSEC2 for ESP32-C3
2023-05-05 18:09:06 +02:00
Manuel Verch
7c9d0a022a
fix AI C3 DevKit-M configuration
2023-05-05 09:39:22 +02:00
Thomas Göttgens
313860c8a4
fix #2460 - we only really need the router object after nodedb init, so lets move it there.
2023-05-04 11:06:49 +02:00
IhorNehrutsa
e360c62480
RemoteHardwareModule.cpp: Hot Fix digitalReads() pinModes(mask, INPUT_PULLUP) ( #2459 )
2023-05-03 21:09:18 -05:00
IhorNehrutsa
973b30fc0b
Update RemoteHardwareModule.cpp ( #2454 )
2023-05-03 06:25:03 -05:00
Ben Meadors
7ef12c77a8
Add initial screen for receiving waypoints ( #2452 )
2023-05-01 16:10:27 -05:00
Manuel Verch
6e26f95df9
Make trunk happy again
2023-04-22 09:08:55 +02:00
Manuel Verch
5dfb5172c2
try-fix: router goes sporadically into DS
2023-04-22 09:08:55 +02:00
Thomas Göttgens
e0bb95ca94
implement dynamic userbutton overwrite. fix #2434
2023-04-21 16:50:22 +02:00
Thomas Göttgens
1621fbb5ab
add debug/info print
2023-04-21 16:03:48 +02:00
Thomas Göttgens
ac40f77694
Draft for now, please test
2023-04-21 16:03:48 +02:00
Thomas Göttgens
87c59d7d61
fmt
2023-04-18 14:08:06 +02:00
Thomas Göttgens
584615bb4b
fix topic construction for mqtt debug
2023-04-18 13:37:50 +02:00
github-actions[bot]
d43ddc9ec2
[create-pull-request] automated change ( #2436 )
2023-04-17 15:42:42 -05:00
Thomas Göttgens
a76cb94851
Revert "Trying to debug transient "disconnects" in iOS ( #2312 )" ( #2435 )
...
This reverts commit d17aafa91a
.
2023-04-17 11:22:12 -05:00
Thomas Göttgens
a30c07e6b4
Merge branch 'master' into 2264-feature-check-for-low-heap-before-adding-to-nodedb-was-reboot-loop-heap-too-low
2023-04-14 19:56:01 +02:00
Thomas Göttgens
309d4fc7f2
add flush to filesystem before closing write file.
2023-04-14 13:25:06 +02:00
Thomas Göttgens
a13775bd70
Merge branch 'master' into 2264-feature-check-for-low-heap-before-adding-to-nodedb-was-reboot-loop-heap-too-low
2023-04-13 23:50:21 +02:00
Thomas Göttgens
b43a5bc4f8
Fix missing msh default topic.
2023-04-13 23:17:05 +02:00
Thomas Göttgens
ec44ca49fd
Merge branch 'master' into 2264-feature-check-for-low-heap-before-adding-to-nodedb-was-reboot-loop-heap-too-low
2023-04-13 23:09:33 +02:00
Thomas Göttgens
5d41e9fe9d
don't grow nodedb if memory is tight.
...
also remove unconditional reboot on low heap. This is counter productive with this change
2023-04-13 23:09:02 +02:00
Thomas Göttgens
7bd836673e
return shutdown time to 5 seconds.
2023-04-13 19:53:56 +02:00
Thomas Göttgens
e0da661632
remove screen brightness again
2023-04-13 15:32:29 +02:00
Thomas Göttgens
a284439d7e
Merge branch 'master' into 2264-feature-check-for-low-heap-before-adding-to-nodedb-was-reboot-loop-heap-too-low
2023-04-12 16:27:36 +02:00