Ben Meadors
ddc1928bbb
Merge branch 'master' into oem-proto
2022-10-19 19:22:35 -05:00
Ben Meadors
056a93f0c9
Consolidate reboots ( #1827 )
2022-10-19 19:19:04 -05:00
Thomas Göttgens
7c8c479b96
wire in OEM.proto keystore
2022-10-19 15:39:06 +02:00
caveman99
2236f74a55
[create-pull-request] automated change
2022-10-19 11:44:12 +00:00
Thomas Göttgens
b56f9b3b16
Dont retransmit packets destined for ourselves.
...
Solves assert failed: virtual ErrorCode Router::send(MeshPacket*) Router.cpp:189 (p->to != nodeDB.getNodeNum())
2022-10-19 11:44:26 +02:00
Thomas Göttgens
075a53ced0
Update MQTT.cpp
2022-10-19 11:04:13 +02:00
Thomas Göttgens
18ccb38824
Update MQTT.cpp
2022-10-19 11:01:23 +02:00
Thomas Göttgens
c97831963b
just for good measure, correct json type field
2022-10-19 10:58:46 +02:00
Thomas Göttgens
7c3dc076d2
only convert and send JSON topics with type 'sendtext'
2022-10-19 10:54:56 +02:00
Thomas Göttgens
ea87193c8f
possible fix for stuck MQTT handler.
2022-10-18 21:51:40 +02:00
caveman99
227cd93e67
[create-pull-request] automated change
2022-10-18 10:20:06 +00:00
Thomas Göttgens
01298a7b01
Update RedirectablePrint.cpp
2022-10-18 11:18:12 +02:00
Thomas Göttgens
46aee8274f
fix JSON red herring error messages and Redirectable Print's new fixed buffer.
2022-10-18 11:16:21 +02:00
Thomas Göttgens
3b7c0be842
don't irritate people with non working options
2022-10-18 10:30:50 +02:00
Thomas Göttgens
49378a9145
If wifi credentials ever go stale, dump them.
...
This solves the dreaded 5 - STA_DISCONNECTED / 2 - AUTH_EXPIRE loops
2022-10-18 10:16:47 +02:00
Ben Meadors
f10d04591d
Don't make a nested json object payload ( #1815 )
2022-10-17 09:09:28 -05:00
Thomas Göttgens
e65d9e8ccd
Add support for SX1281 on 2.4 GHz ( #1809 )
...
* Add support for SX1281 on 2.4 GHz
* only allow wide BW settings when the right chip is detected
* portduino cannot use this chip yet as it uses an old modified version of radiolib
* missed a spot
* Attempt to supress false positive
* Attempt to supress false positive
* Trying casing from the cpp-check manual
* Trying casing from the cpp-check manual
* Inline suppr should be default but...
* Maybe casting it will make the damn thing shut up
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2022-10-17 08:33:41 -05:00
caveman99
7dcc981a2c
[create-pull-request] automated change
2022-10-17 08:04:36 +00:00
Ben Meadors
b0d05522c0
Make telemetry packets minimum priority ( #1810 )
2022-10-16 15:59:59 -05:00
Ben Meadors
fc57a9daa4
Send environment telemetry every minute ( #1808 )
2022-10-16 11:36:38 -05:00
Ben Meadors
efe2e90a03
Merge branch 'master' into nmea-serial
2022-10-16 09:59:30 -05:00
Ben Meadors
45f9dee89a
Telemetry phone api guard ( #1805 )
...
* Delay start of telemetry modules
* Don't send unless our toPhoneQueue is empty
* Get wrecked, checks!
2022-10-16 09:58:58 -05:00
Thomas Göttgens
cc73d2c2f2
Sigh...
2022-10-16 16:51:17 +02:00
Thomas Göttgens
b1f789dddd
fix cppcheck
2022-10-16 16:45:32 +02:00
Thomas Göttgens
d3e9dbf6a9
Add NMEA output mode (my own position, and other devices as waypoints) to serial module
2022-10-16 16:37:38 +02:00
caveman99
7a9673dc37
[create-pull-request] automated change
2022-10-16 14:24:27 +00:00
Thomas Göttgens
27bcf67c0c
add routine to output waypoint data
2022-10-16 12:28:49 +02:00
Ben Meadors
7fde56b8ac
Make telemetry logging more concise ( #1804 )
...
* Make telemetry logging more concise
* Whoops
2022-10-15 18:48:34 -05:00
Ben Meadors
6b614a2d6a
Added LPS22HB (RAK-1902) sensor support ( #1802 )
2022-10-15 14:55:57 -05:00
Ben Meadors
a3e67f8e4b
SHTC3 Sensor (RAK-1901) support ( #1800 )
2022-10-15 09:11:05 -05:00
Ben Meadors
028b25cfe8
Change RTCQuality acceptance criteria ( #1797 )
...
Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com>
2022-10-14 19:12:55 -05:00
Ben Meadors
2555e082d6
Add nrf52 to serial module registration ( #1799 )
...
* Add nrf52 to serial module registration
* Update Modules.cpp
* Update Modules.cpp
* Update Modules.cpp
2022-10-14 11:38:56 -05:00
Thomas Göttgens
a7e0127793
scan i2c twice for all devices, not just tbeam
2022-10-13 23:46:25 +02:00
Thomas Göttgens
efa423c8ad
update FromRadio UUID for nRF52 devices
2022-10-13 16:20:27 +02:00
Thomas Göttgens
b25ace14e5
Update CannedMessageModule.h
2022-10-13 15:44:27 +02:00
Thomas Göttgens
8734751bc4
make screen timeout work again
2022-10-13 15:31:57 +02:00
Thomas Göttgens
5559a1edb0
Display looks better that way...
2022-10-13 15:22:57 +02:00
Thomas Göttgens
b5fb0f60b0
don't compile on Portduino
2022-10-13 13:01:24 +02:00
Thomas Göttgens
a7fe69ed6b
Support for ATECCA608B Cryptographic Coprocessor
2022-10-13 12:55:28 +02:00
Ben Meadors
b59e928589
Secure DFU mode for OTA updates with pin ( #1789 )
2022-10-12 10:31:39 -05:00
Ben Meadors
505e4e8176
Run dfu begin first ( #1786 )
...
Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com>
2022-10-12 07:55:17 -05:00
Thomas Göttgens
18af9d734d
fixes #1787
2022-10-12 13:13:02 +02:00
Ben Meadors
3e22aafea8
Change UUID for FromRadio characteristic ( #1785 )
2022-10-11 20:01:26 -05:00
Ben Meadors
434db4347b
Send device telemetry to phone every minute ( #1784 )
2022-10-11 10:21:30 -05:00
Thomas Göttgens
4bc8f6a6b9
Merge branch 'master' into ota
2022-10-10 23:14:26 +02:00
Thomas Göttgens
4534d17d79
debug print on early boot when OTA firmware is detected.
2022-10-10 23:05:24 +02:00
Ben Meadors
f88dde2f60
Send channels over phoneapi on want config ( #1780 )
...
* Send channels
* Doh!
* Adjust comments
* Missed a spot
* Consolidate
* Skipped disabled ones
* Fixed bounding
* Change order
* comment out disabled check for build artefact
* Remove loop
* Off by one
* Probably should start at zero
* Zero
* Oops
* enable dubug log
* Reset to index zero
Co-authored-by: Sacha Weatherstone <sachaw100@hotmail.com>
2022-10-10 10:36:49 -05:00
Thomas Göttgens
984f0ca12c
check allowed range for lora.channel_num
2022-10-10 12:28:31 +02:00
Thomas Göttgens
20eaddee58
- fix conditional include for nRF52 (no OTA there)
...
- fix compiler warning in Canned Messages
2022-10-09 11:35:19 +02:00
Thomas Göttgens
30b1bd85d9
fix build for non-esp32
2022-10-09 11:19:33 +02:00
Thomas Göttgens
09cce094d1
Merge branch 'master' into ota
2022-10-09 11:00:20 +02:00
caveman99
dd4c4fba80
[create-pull-request] automated change
2022-10-09 08:55:33 +00:00
Sacha Weatherstone
a17c40ad09
Merge branch 'master' into ota
2022-10-09 16:44:24 +10:00
Ben Meadors
da12360105
Merge branch 'master' into node-db
2022-10-08 13:48:35 -05:00
GUVWAF
ee1ae627a3
Model the time it is busy receiving/transmitting ( #1776 )
...
Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com>
2022-10-08 12:10:50 -05:00
Thomas Göttgens
b2d753ed86
move and repeat i2c scan to fix BLE PIN
2022-10-08 17:36:39 +02:00
Thomas Göttgens
6e40102f26
- use bigger screen fonts on Wiphone
...
- erase oldest entry from NodeDB if it is full.
2022-10-08 17:07:16 +02:00
Ben Meadors
511fe23b8a
Merge branch 'master' into ota
2022-10-08 08:22:16 -05:00
Thomas Göttgens
5572195af9
Fix another crash in Canned Messages
2022-10-08 14:52:21 +02:00
Ben Meadors
b551c7738e
Merge branch 'master' into ota
2022-10-08 07:28:35 -05:00
GUVWAF
3d45c4dbd8
Don't resend ACK if another module sent a response ( #1772 )
...
* strcmp returns zero if strings are equal
* Make debug message more clear
* Don't resend ACK if another module sent a response
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com>
2022-10-08 07:27:59 -05:00
Thomas Göttgens
ed328766b2
Scale Compass circle to bigger screens
2022-10-08 12:32:48 +02:00
Thomas Göttgens
a6ee708b90
Merge branch 'master' into ota
2022-10-08 11:21:33 +02:00
Thomas Göttgens
c9398e7b8a
- prevent crash when no messages defined
...
- remove debug print
2022-10-08 11:20:54 +02:00
Thomas Göttgens
b591e35442
Switch to OTA firmware
2022-10-08 11:10:29 +02:00
Thomas Göttgens
186374525a
Don't mix MQTT Payloads of Firmware 1.2 and 1.3/2.0 ( #1767 )
2022-10-07 12:54:42 -05:00
Thomas Göttgens
a3c76232c8
use F# as startup and shutdown sound triple. The existing tuuut-tut-tut was getting on my nerves
2022-10-07 19:03:49 +02:00
Thomas Göttgens
a5761069ca
Finalize destination selection. Primary Channel only for now.
2022-10-07 18:40:15 +02:00
Thomas Göttgens
2d4bfe183c
Merge branch 'master' of github.com:meshtastic/Meshtastic-device
2022-10-07 16:42:29 +02:00
Ben Meadors
bf4115a80f
Telemetry sensors re-map ( #1765 )
...
* Add factory erase uf2 to the release assets
* Sensors map
* Uncomment sensors
2022-10-07 08:33:07 -05:00
lewis he
004f6fa4d6
Add t-beam-s3-core onboard device support. ( #1764 )
...
* Change t-beam-s3-core pins definitions
* Add t-beam-s3-core power initialization to properly initialize the I2C device
* Add 6-axis and 3-axis sensor detection
2022-10-07 06:57:55 -05:00
Thomas Göttgens
7cda61ca01
- preliminary work for node selection
...
- show sending screen on immediate click
2022-10-06 22:34:55 +02:00
Thomas Göttgens
1d09beb8a7
word wrap long input and fix compiler warnings
2022-10-06 18:40:31 +02:00
Thomas Göttgens
a17ddaa951
Use small font for freetext messages
2022-10-06 17:24:08 +02:00
Thomas Göttgens
e34ada3ff1
support RAK14004 in Canned Messages
2022-10-06 16:00:33 +02:00
Thomas Göttgens
62498d0935
GPS Rollup, incorporates changes from @pmarches and @lewisxhe
2022-10-05 14:59:07 +02:00
Thomas Göttgens
4d2cb45f9f
wire in part 1 of serial mode... select if you want textmsg or own portnum via config.
2022-10-05 11:39:50 +02:00
Thomas Göttgens
f7331a2e41
fix #1713
...
stop output to serial debug after config has been loaded (if serial is disabled), and only accept protobuf packets from that point on.
2022-10-05 10:33:39 +02:00
Thomas Göttgens
f3042ddf37
Update NodeDB.cpp
2022-10-05 08:56:00 +02:00
Thomas Göttgens
54816231e9
Calculate CRC32 of Protobuf and compare before save.
2022-10-05 08:52:27 +02:00
Thomas Göttgens
063c4904ff
only save files when they changed - also clamp app version
2022-10-04 17:25:03 +02:00
Thomas Göttgens
fefcbb147b
fix #1646
2022-10-04 15:27:18 +02:00
Thomas Göttgens
3597685b23
Only save the changed parts of config to disk.
2022-10-04 14:32:07 +02:00
Thomas Göttgens
5d8826e8ef
Merge branch 'master' into pcf8563rtc
2022-10-04 13:27:49 +02:00
Thomas Göttgens
93cc278eee
implement #1406
2022-10-04 09:47:54 +02:00
Thomas Göttgens
c34198264a
Merge branch 'master' into pcf8563rtc
2022-10-04 09:38:33 +02:00
Thomas Göttgens
0f7a126828
fix compiler warning
2022-10-04 09:11:24 +02:00
Thomas Göttgens
73a5357d0e
Brainfart. This is already km/h
2022-10-04 08:11:07 +02:00
Richard McDougall
2faf507c0d
Merge branch 'meshtastic:master' into pcf8563rtc
2022-10-03 13:55:49 -07:00
Thomas Göttgens
cf124d97b8
Clean up GPS code and add some flags per #1740
2022-10-03 20:30:11 +02:00
Ben Meadors
7e5a26fde5
Merge branch 'master' into channel_num
2022-10-02 19:45:32 -05:00
Ben Meadors
e85af2f732
regen protos
2022-10-02 19:45:15 -05:00
Sacha Weatherstone
4df81008bc
Merge branch 'master' into channel_num
2022-10-03 10:32:56 +10:00
Thomas Göttgens
42308cca5b
Merge branch 'master' into pcf8563rtc
2022-10-01 17:31:02 +02:00
GUVWAF
076c1ed2ee
Merge branch 'EnhancedSimRadio' of https://github.com/GUVWAF/Meshtastic-device into EnhancedSimRadio
2022-10-01 17:05:49 +02:00
GUVWAF
e54be07dc0
Update include path in MeshService
2022-10-01 17:04:19 +02:00
GUVWAF
d439d00e25
Move SimRadio to platform/portduino
2022-10-01 17:03:40 +02:00
GUVWAF
c4bea793af
Mark WifiServerPort constructor as explicit
2022-10-01 17:02:16 +02:00
GUVWAF
b53dcb932e
Adapt conditional include
2022-10-01 17:01:25 +02:00
Thomas Göttgens
371428d6ab
Fix compile error on nRF52
2022-10-01 16:41:49 +02:00