Sacha Weatherstone
8b42b78033
Merge branch 'master' into master
2022-05-08 00:23:18 +10:00
GUVWAF
a7f4263db4
Optimize retransmission timer
...
Based on airtime of packet + transmit, processing and CAD delays
2022-05-07 15:43:35 +02:00
GUVWAF
348e78718d
Call cancelSending in stopRetransmission
...
This also removes pending packet from txQueue if it was already in there
2022-05-07 15:39:14 +02:00
Sacha Weatherstone
0ec6771cf7
Fix build when BATTERY_PIN is set
2022-05-07 20:47:52 +10:00
Sacha Weatherstone
5e7b372345
Satisfy cppcheck
2022-05-07 20:36:15 +10:00
Sacha Weatherstone
6b0ce6b729
Finish config transition
2022-05-07 20:31:21 +10:00
Sacha Weatherstone
eb6dd6b53d
Merge branch 'master' of github.com:meshtastic/Meshtastic-device
2022-05-07 13:34:36 +10:00
Sacha Weatherstone
ea86f76393
Move LoRa config out of primary channel
2022-05-07 13:34:06 +10:00
Thomas Göttgens
b5cc304336
Make #define NO_SCREEN work again
2022-05-06 15:41:37 +02:00
Thomas Göttgens
628740d6d1
Support Buzzer in Slot C
2022-05-06 14:20:46 +02:00
Rockwell Schrock
5e109d9648
Fix typo in calculation of NUM_ONLINE_SECS constant ( #1436 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2022-05-05 13:46:39 -05:00
Thomas Göttgens
4d611ba2f0
Forgot the readFromRTC for PCF8563 (T-Echo)
2022-05-04 17:06:06 +02:00
Sacha Weatherstone
211273cc08
Fix expected values in config setters
2022-05-04 12:52:44 +10:00
Sacha Weatherstone
8ba0a9bf87
Fix config switch
2022-05-03 22:16:50 +10:00
Sacha Weatherstone
f84286d138
Split config structure in two
2022-05-02 22:00:24 +10:00
Jm Casler
b980f3e311
Merge branch 'meshtastic:master' into compression
2022-05-01 21:02:07 -07:00
Sacha Weatherstone
399e053ebd
workaround for undefined payload type on phoneapi
2022-05-02 13:04:05 +10:00
Jm Casler
d6b20ea623
Merge branch 'meshtastic:master' into compression
2022-05-01 19:35:26 -07:00
Ben Meadors
caac2ecb83
Compute config size and account for reloadconfig ( #1428 )
...
* Compute config size and account for reloadconfig
* Reload config and config_size
2022-05-01 20:30:19 -05:00
Sacha Weatherstone
7ae8601ba5
fix warnings
2022-05-02 10:24:28 +10:00
Sacha Weatherstone
8f038ced15
add handleSetConfig, remove team
2022-05-02 08:53:44 +10:00
Sacha Weatherstone
3a1f20821e
Remove team and provision set_config
2022-05-02 08:35:31 +10:00
Ben Meadors
1040b0988a
Removed unused members causing warnings
2022-05-01 15:37:34 -05:00
Ben Meadors
2ca0290662
Admin message implementation
2022-05-01 15:35:01 -05:00
Ben Meadors
163774bb1f
Moved refactored prefs
2022-05-01 14:26:05 -05:00
Ben Meadors
cf64da21fb
Move adc multiplier code into battery pin region to surpress warning
2022-05-01 14:21:30 -05:00
Sacha Weatherstone
c0d40895f8
Config rework - Init GetConfigResponse
2022-05-01 16:12:48 +10:00
Sacha Weatherstone
50326fbb6b
Config rework - Init getConfig
2022-05-01 12:41:26 +10:00
Sacha Weatherstone
98cd19ea0f
Config rework - Init getConfig
2022-05-01 12:39:48 +10:00
Ben Meadors
53cc090814
Move sx1262 fixes upstream ( #1421 )
2022-04-29 07:46:44 -05:00
Thomas Göttgens
516dff5b09
RTC Module support for T-Echo and others with PCF8563
2022-04-28 08:18:03 +02:00
Thomas Göttgens
e5715a0048
Merge branch 'master' into patch-1
2022-04-27 15:32:05 +02:00
Thomas Göttgens
629db8c718
Fix build errors and add a bit of failsafe
2022-04-27 15:30:27 +02:00
Thomas Göttgens
9e97fac252
- implement generic support for on-device battery powered RTC Modules.
...
- implement support for I2C RV-3028 based RTC modules like the RAK12002
- pretty print some debug timestamps
2022-04-27 11:05:08 +02:00
Thomas Göttgens
3a9086dfc5
We may have RAK modules in Slot D pulling IO5 to Low permanently (like the RAK12002 RTC Module). React to assumed Long presses of the device button only 30 seconds after bootup to prevent a reboot loop. This is Particularly important for button-less RAK19003 Baseboard.
2022-04-27 11:02:45 +02:00
Thomas Göttgens
a0f34a8d0a
Make Debug Log less spammy
2022-04-27 11:00:26 +02:00
Ben Meadors
359b41d869
Position fwd phone ( #1413 )
...
* Correct factory reset code for NRF (from 1.2)
* Changes from 1.2
* Update proto ref
* Whoops
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2022-04-26 19:40:24 -05:00
Thomas Göttgens
96f20287ff
fix scope error
2022-04-26 21:30:14 +02:00
Thomas Göttgens
e66c01f0e6
Merge branch 'nrf-softcrypt' of github.com:meshtastic/Meshtastic-device into nrf-softcrypt
2022-04-26 21:24:29 +02:00
Thomas Göttgens
aaea2e7456
make cppcheck happy
2022-04-26 21:24:21 +02:00
Thomas Göttgens
4de5944474
Merge branch 'master' into nrf-softcrypt
2022-04-26 17:52:33 +02:00
Thomas Göttgens
76e48178c8
use a tiny software AES lib if user needs AES-256
2022-04-26 17:50:50 +02:00
Ben Meadors
75e7bccdfb
Fix assert execution halt in nrf devices ( #1410 )
2022-04-26 06:49:05 -05:00
Ben Meadors
3786b1ee15
Reboot implementation for nrf devices ( #1411 )
2022-04-26 06:48:26 -05:00
Thomas Göttgens
701707a01b
- Bounds Check is working on big integers, don't throw away valid coordinates.
...
- Set ublox chips back to NMEA mode if they have been configured wrongly before.
2022-04-26 13:00:11 +02:00
Pedestrian
13fa7c1628
TTGO_T_ECHO to use batteries, PIN_EINK_PWR_ON must be set to high
2022-04-26 17:43:32 +08:00
Jm Casler
9b6b224af4
Merge branch 'meshtastic:master' into compression
2022-04-25 08:04:51 -07:00
Jm Casler
4785367915
Temp work on compression
2022-04-25 08:02:51 -07:00
Thomas Göttgens
770f17f382
use nRF Hardware Cryptography. Removes the need for the sdk-nrfxlib submodule
2022-04-25 11:01:54 +02:00
Thomas Göttgens
213d9512f1
WIP: unify the RAK targets into one firmware ( #1350 )
...
* First steps to unify GPS Lib for RAK 1910 and RAK 12500
* Technicalities. Out with the old and build the new.
* Adapt Matrix
* We use 0.4.5 now
* While we're at it, yank the RAK815, it's EOL
* Satisfy CI - for now
* - yank UBX library, talk to GPS chip with NMEA only.
- more autodetect going on, this time for the Eink Display.
TODO: actually do something with the scan findings.
* i swear this works on windows! :-)
* these are only there to make CI happy
* don't update eink display if not detected.
* Replace Oberon Crypt Library with modified Adafruit Library. This elimintaes the need for the sdk-nfxlib submodule.
* - Revert auto screen selection (incomplete)
- Revert nrF crypto engine (needs more work)
- add separate defines for not-auto-selecting screen lib.
* Define 2 new variants for RAK - with or without epaper
* Update variants
Co-authored-by: Sacha Weatherstone <sachaw100@hotmail.com>
Co-authored-by: Ben Meadors <thebentern@tuta.io>
2022-04-25 15:13:41 +10:00
Andre Kirchhoff
3c1407c7d2
bump minimum app version requirement to 1.3.0
2022-04-24 19:52:32 -03:00
Ben Meadors
98c8eaaaf0
Moved sender short name method into protobuf module ( #1398 )
...
* Moved sender short name method into protobuf module
* Correct factory reset code for NRF (from 1.2)
* Use the correct fs abstraction
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2022-04-24 16:12:25 -05:00
GUVWAF
a13157ebde
Rename setRandomDelay() function
2022-04-23 18:57:45 +02:00
GUVWAF
692278343b
Merge branch 'master' of https://github.com/GUVWAF/Meshtastic-device
2022-04-20 20:16:39 +02:00
GUVWAF
c60d4c1ecc
Implement listen-before-talk mechanism
...
- Function setRandomDelay() calls either startTransmitTimer() or startTransmitTimerSNR()
- After coming back from Rx/Tx-ing, call setRandomDelay()
- If channel is currently busy, call setRandomDelay()
2022-04-20 20:09:12 +02:00
GUVWAF
6d01f9aa89
Add isChannelActive() function to radio interface
2022-04-20 20:04:44 +02:00
GUVWAF
616c7d7b0e
Expose front() function in MeshPacketQueue
2022-04-20 19:58:52 +02:00
Thomas Göttgens
137328f567
Merge branch 'master' into create-pull-request/patch
2022-04-19 22:52:44 +02:00
Dmitry Galenko
293921e95a
Brother EP-44 support
2022-04-19 22:37:04 +02:00
caveman99
b82bf5c729
[create-pull-request] automated change
2022-04-19 20:26:22 +00:00
Jm Casler
8c1a81c03a
Merge branch 'compression' into master
2022-04-18 17:02:45 -07:00
Jm Casler
6fe9f0b42f
Disable compression / decompression (for testing)
2022-04-18 17:00:36 -07:00
Thomas Göttgens
ed62b6916c
tryfix #1363
...
Ask for the register several times and only go on if the answer is the same in 2 consecutive tries.
2022-04-18 22:46:45 +02:00
Thomas Göttgens
136e2e96f7
Remove References to Pre-1.2 Preffile
...
1.3+ need a clean install anyway, so no point migrating these any more.
2022-04-18 21:55:58 +02:00
Thomas Göttgens
748416d9e3
protobuf update
2022-04-18 18:27:17 +02:00
Thomas Göttgens
f279f9614e
Enable OEM Bootlogo, needs protobuf update
2022-04-18 18:11:17 +02:00
Jm Casler
5d7990667d
Max nodes to 64 and remove targz
2022-04-15 23:16:40 -07:00
Jm Casler
8124ecbfd8
Change to unishox library
2022-04-15 18:11:17 -07:00
Jm Casler
0c285aac6e
enable welcome text
2022-04-14 21:32:00 -07:00
Jm Casler
87da779478
Updated welcome screen w/ text, pages and logo
...
Updated welcome screen w/ text, pages and logo
2022-04-14 21:31:31 -07:00
Jm Casler
fc0508f254
Fix for welcome screen going over ble pairing
2022-04-14 21:02:52 -07:00
Jm Casler
dc20cbb672
one more fix for cppcheck
2022-04-14 15:57:31 -07:00
Jm Casler
a10ea604af
Fixes for cppcheck errors
2022-04-14 15:51:48 -07:00
Jm Casler
fb1caa51d0
Merge branch 'meshtastic:master' into compression
2022-04-13 21:59:42 -07:00
Jm Casler
7e977aea00
Add welcome screen feature toggle
2022-04-13 21:59:25 -07:00
Jm Casler
ecc114f1cd
temp work on compression
2022-04-13 19:23:35 -07:00
Balázs Kelemen
b76424db50
Make Observer to be able to observe multiple Observables. ( #1234 )
...
* Make Observer to be able to observe multiple Observables.
* Fix Observer destructor cleanup.
Co-authored-by: Sacha Weatherstone <sachaw100@hotmail.com>
2022-04-14 08:43:06 +10:00
Jm Casler
b056081d3c
Merge branch 'meshtastic:master' into compression
2022-04-12 21:14:25 -07:00
Ben Meadors
794167c701
Removed phone sds timeout ( #1372 )
2022-04-12 08:04:24 -05:00
Jm Casler
a4bdef4151
compression WIP
...
compression works. next is to store it in the proto as a oneof and then decompress it on use.
2022-04-11 22:12:04 -07:00
Jm Casler
478274aff1
Beginning of compression
2022-04-11 20:09:48 -07:00
Jm Casler
340737f2a8
Work around for issue with unknown age due to not having time
...
Work around for issue with unknown age due to not having time
2022-04-11 18:53:29 -07:00
Jm Casler
6eab8f84d1
Updated text for better fit
2022-04-10 19:34:13 -07:00
Jm Casler
14eef42762
Disable indicator on welcome screen.
2022-04-10 19:27:11 -07:00
Jm Casler
16ae867c2d
Show welcome screen if region unset
2022-04-10 19:15:10 -07:00
Jm Casler
69ed477040
Disable TX if region is unset
2022-04-09 22:42:43 -07:00
Sacha Weatherstone
11323acb23
Update link to site
2022-04-08 13:40:41 +10:00
Ben Meadors
10a7071300
Remove send owner interval ( #1361 )
...
* NodeInfo slimfast
* Removed send_owner_interval
2022-04-06 08:03:44 -05:00
Thomas Göttgens
6e9cf82b68
fixes #1355
2022-04-06 14:11:39 +02:00
Thomas Göttgens
028999697e
Improve T-Echo GPS Handling
2022-04-06 09:18:55 +02:00
Mark Trevor Birss
b7aa1397c7
Add DIY nRF82540 PCA10059 4.2inch NiceRF 868 ( #1354 )
...
* Update build-all.sh
* Update configuration.h
* Update EInkDisplay2.cpp
* Create platformio.ini
* Create variant.cpp
* Create variant.h
* Update platformio.ini
* Update check-all.sh
* Create nordic_pca10059.json
* Update variant.h
* Update EInkDisplay2.cpp
* Update configuration.h
* Update platformio.ini
* Update EInkDisplay2.cpp
* Update variant.h
* Update EInkDisplay2.cpp
* Update configuration.h
* Update EInkDisplay2.cpp
* Update variant.h
* Update nordic_pca10059.json
* Update platformio.ini
* Update platformio.ini
* Update platformio.ini
* 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 configuration.h
* Update EInkDisplay2.cpp
* Update variant.h
* Update variant.h
* Update platformio.ini
* Update configuration.h
* Update configuration.h
* Update platformio.ini
* Update platformio.ini
* Update configuration.h
* Update platformio.ini
* Update configuration.h
* Update platformio.ini
* Update configuration.h
* Update configuration.h
* Update platformio.ini
* Update configuration.h
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2022-04-05 11:46:07 -05:00
github-actions[bot]
279def7911
[create-pull-request] automated change ( #1356 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com>
2022-04-05 11:31:13 -05:00
Michael Kleinhenz
998c90d326
Use JSON library for Web UI REST Endpoints ( #1340 )
...
* Updated rest endpoint json handling.
* Fixes, typos corrected.
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
Co-authored-by: Sacha Weatherstone <sachaw100@hotmail.com>
2022-04-05 06:22:38 +10:00
neilhao
0c600363c8
add nano g1 ( #1351 )
...
* add nano g1
* Update platformio.ini
* Update configuration.h
* Revert platformio.ini to previous state
* Update configuration.h
* Update platformio.ini
Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com>
2022-04-04 20:16:19 +10:00
Thomas Göttgens
92d32f722d
Add second scancode for SH1106
...
This display is found on the Nano G1
2022-04-04 08:51:29 +02:00
Thomas Göttgens
364d81e906
adjust for serial wait time during nRF52 bootup
2022-04-02 16:02:26 +02:00
Thomas Göttgens
7c4bb80977
Variable GPS Thread Timing, keep default of 100 msec
2022-04-02 12:52:50 +02:00
Ben Meadors
07e2816703
Promote device metrics ( #1347 )
...
* NodeInfo slimfast
* Update
2022-04-01 18:35:18 -05:00
Ben Meadors
286e64d5f6
Smoke test moving device telemetry into portduino
2022-03-31 16:27:55 -05:00
Thomas Göttgens
4e29984549
Slightly more verbose GPS debug logging
2022-03-31 18:52:40 +02:00