Commit Graph

1835 Commits

Author SHA1 Message Date
Vladislav Osmanov
a27260a605 Overridden default pin to use for Ext Notify Plugin (#975)
In Meshtastic DIY `GPIO13` is used for `SX126X_TXEN`,
so we choose `GPIO12` as default for Ext Notification Plugin.
2021-12-17 12:13:27 +03:00
Jm Casler
3dbc31e8f3
Merge pull request #995 from mc-hamster/master
Updated formula for position plugin & Improve time to generate the SSL certificate
2021-12-15 07:22:20 -08:00
Ben Meadors
5ff6b919c6
Remove BATTERY_PIN from tlora v1 target (#996) 2021-12-15 07:50:36 -06:00
Jm Casler
62602b54f4 Improve time to generate the SSL certificate 2021-12-14 23:50:49 -05:00
Jm Casler
ee70b5996f Updated formula for position plugin 2021-12-14 22:38:54 -05:00
Ben Meadors
f119555c12 Convert to NimBLE Arduino (#985) 2021-12-12 07:44:56 -06:00
Jm Casler
446fb857cc Bug in getNumOnlineNodes #988 2021-12-11 19:50:20 -08:00
Jm Casler
a1f97aea77 Update Screen.cpp 2021-12-11 19:39:31 -08:00
Jm Casler
1ed3195194 Identify the mode on the screen with the radio conf #986 2021-12-11 19:36:58 -08:00
Jm Casler
4fb5107298 Make screen animations smoother (aka Scale the CPU) #983 2021-12-11 18:35:28 -08:00
Jm Casler
686057a0b1 Make screen animations smoother (aka Scale the CPU) #983 2021-12-11 18:33:52 -08:00
Jm Casler
3d4e4bfa50 Update generated protos & has_wifi #979
https://github.com/meshtastic/Meshtastic-device/issues/979
2021-12-09 11:47:42 -08:00
Jm Casler
0475cc93ab Update storeforward.pb.h 2021-12-08 23:56:38 -08:00
Jm Casler
55da39823b Update S&F protobuf 2021-12-08 17:22:02 -08:00
Jm Casler
fb15898ed6
Merge branch 'meshtastic:master' into StoreAndForward 2021-12-08 17:17:54 -08:00
Solanaceae
b6d63059bf Change EXT_NOTIFY_PIN to EXT_NOTIFY_OUT per req. 2021-12-07 21:34:10 -07:00
Solanaceae
6cfdd99fd1 Update and configure ExNotify platforms 2021-12-07 20:26:26 -07:00
Jm Casler
f86e0d46b6 Add calculated airtimes to myNodeInfo
https://github.com/meshtastic/Meshtastic-device/issues/970
2021-12-07 13:04:50 -08:00
Jm Casler
67766b817c Reduce size of airtime structure for mynodeinfo 2021-12-07 11:44:48 -08:00
Jm Casler
d3dc51d102 Fix typo 2021-12-07 11:31:46 -08:00
Jm Casler
a904bb8cc5 Generated protos for Feature request: add airtime to NodeInfo #970 2021-12-07 11:26:06 -08:00
Jm Casler
df88feba0f Feature request: add the hop limit info to range test plugin #967 2021-12-07 09:14:31 -08:00
Jm Casler
b0a6c8929c Save partial work for S&F 2021-12-06 21:01:18 -08:00
Jm Casler
f01952bd0d Create new default channel configurations. #965
Create new default channel configurations. #965
2021-12-06 15:03:35 -08:00
Jm Casler
5fc9f3bfb1
Merge branch 'meshtastic:master' into StoreAndForward 2021-12-06 14:38:18 -08:00
Jm Casler
e9653dae03 Update Smart Position to scale based on data rate. 2021-12-05 22:23:49 -08:00
Joshua Pirihi
5b34e3e1ab When switching to battery, shutdown after on_battery_shutdown_after_secs 2021-12-06 15:37:35 +13:00
Jm Casler
eefef1dceb Add channel bitrate to myNodeInfo #959 2021-12-05 16:17:13 -08:00
Jm Casler
465f7a6935 Merge branch 'StoreAndForward' of https://github.com/mc-hamster/Meshtastic-device into StoreAndForward 2021-12-05 10:20:25 -08:00
Jm Casler
3da9c7b081 Update lastlat/lastlong int32 #956 2021-12-05 10:20:16 -08:00
Jm Casler
05835fd1bb Add channel bitrate to myNodeInfo #959
Add channel bitrate to myNodeInfo #959
2021-12-05 10:17:09 -08:00
Jm Casler
aaefd2c2e7 Smart position sends updates too frequently. #956 2021-12-04 19:51:54 -08:00
Jm Casler
53efb9c0f6 Update StoreForwardPlugin.cpp 2021-12-04 19:29:42 -08:00
Jm Casler
9f6522a756 SoftAP doesn't always start #954 2021-12-04 19:20:20 -08:00
Jm Casler
09b467ce7c WIP for S&F. Next is to validate the stub outs work as expected. 2021-12-03 22:20:15 -08:00
Jm Casler
83c6d8b07e comment out AXP192_SLAVE_ADDRESS in configuration.h #952 2021-12-03 19:35:57 -08:00
Jm Casler
23e16bfb1a
Merge branch 'master' into StoreAndForward 2021-12-03 19:00:25 -08:00
Jm Casler
47e7b00000 Cleanup rangetestplugin #950 2021-12-03 18:59:10 -08:00
Jm Casler
62cf2adaec
Merge branch 'master' into SX1262-Power 2021-12-02 22:41:09 -08:00
Sacha Weatherstone
063499ef46 Cheanup old unused files. 2021-12-03 17:28:32 +11:00
Solanaceae
b7eaeb8c31
Merge branch 'master' into SX1262-Power 2021-12-02 21:50:37 -07:00
Solanaceae
6bd495a491 OCP limit into SX126x class where it belongs. 2021-12-02 20:46:36 -07:00
Jm Casler
6a426d5d71 Update S&F with new object name 2021-12-02 17:27:38 -08:00
Jm Casler
1175c981c0 Update generated protos for S&F 2021-12-02 17:16:39 -08:00
Jm Casler
de104a2707
Merge branch 'master' into StoreAndForward 2021-12-02 09:27:42 -08:00
Ben Meadors
9d019c1a99
Adding batch script for generating uf2 files for NRF boards (#945)
* Updated generated protos

* Added uf2-converter batch for windows machines
2021-12-02 10:19:25 -06:00
Jm Casler
f4d348173c Refresh node info to ensure our information is current for smart position. #934 2021-12-01 17:56:47 -08:00
Jm Casler
4f10ab8d04 Little update to #934
updated lastGpsSend
2021-12-01 17:24:01 -08:00
Solanaceae
ab0a06e536 Raising currentLimit for SX1262 2021-11-30 17:56:19 -07:00
Ben Meadors
2a617ba7b2 Upstream proto addition 2021-11-29 10:05:32 -06:00
Ben Meadors
bbf3091889
Merge branch 'master' into master 2021-11-29 09:58:16 -06:00
Ben Meadors
99d35b175c Merge remote-tracking branch 'upstream/master' 2021-11-29 07:02:56 -06:00
Jm Casler
98d0907f4d
Merge branch 'master' into issue-919 2021-11-28 22:36:41 -08:00
Jm Casler
623b846713 Fix for: Wifi admin mode no longer works #939
Fix for: Wifi admin mode no longer works #939
2021-11-28 21:56:34 -08:00
Jm Casler
e791a5aa2f
Merge branch 'master' into issue-919 2021-11-28 20:13:56 -08:00
Jm Casler
d5506bb33c Cleanup (Comments & Formatting) of S&F and PrositionPlugin.cpp 2021-11-28 19:41:34 -08:00
Jm Casler
937f67c4ec Check in partial work on S&F 2021-11-28 19:34:35 -08:00
Jm Casler
3ed4a1e3e1
Merge branch 'master' into StoreAndForward 2021-11-28 19:31:49 -08:00
Jm Casler
d7315778d6 Generated protos for S&F 2021-11-28 19:25:50 -08:00
Ben Meadors
69a2029ade
Removed unnecessary debug print 2021-11-27 09:29:39 -06:00
Ben Meadors
7a649e3fc3 Regen protobufs from upstream 2021-11-27 09:16:26 -06:00
Ben Meadors
f019151e3f auto_screen_carousel_secs behavior implementation 2021-11-27 09:11:58 -06:00
Jm Casler
88fd671880 Tweaking values of Smart Position #934
Tweaking values of Smart Position #934
2021-11-26 21:26:36 -08:00
Jm Casler
d72c091ead
Merge branch 'master' into issue-927 2021-11-26 19:50:40 -08:00
Jm Casler
3ec508169a Implementation of smart positioning #934
Initial check in for https://github.com/meshtastic/Meshtastic-device/issues/934
2021-11-26 19:12:00 -08:00
Jm Casler
f6fde55363 Update protobufs with the latest from meshtastic-protobufs 2021-11-26 18:25:08 -08:00
Sacha Weatherstone
bc311ac9f6
Merge branch 'master' into issue-927 2021-11-27 08:59:22 +11:00
Ryan Tolboom
c5f210384f add SSL notification at boot 2021-11-26 15:09:16 -05:00
Joar Svensson
d685682dd9 Define battery pin 2021-11-26 13:28:20 +01:00
Ryan Tolboom
a0d829a91e
Merge branch 'master' into issue-919 2021-11-23 13:36:09 -05:00
Ryan Tolboom
e3ee3c411c
Merge branch 'master' into issue-919 2021-11-22 23:08:06 -05:00
Jm Casler
d3e1bbf355
Merge branch 'master' into ignore-phone-messages-screen 2021-11-22 19:46:55 -08:00
Jm Casler
a5727052bc
Merge branch 'master' into llcc68 2021-11-22 19:25:52 -08:00
Jm Casler
083518c127
Merge branch 'master' into ignore-phone-messages-screen 2021-11-22 19:23:42 -08:00
Ryan Tolboom
c36b233c49 ACK retried want_ack packets 2021-11-22 21:31:12 -05:00
Jm Casler
9ddcc5d2ed S&F Pre-Alpha. Functional. No crashes (I hope). 2021-11-22 17:47:42 -08:00
Jm Casler
a3ce728e26 Move SerialPlugin to plugins/esp32 2021-11-22 13:18:49 -08:00
Jm Casler
cf0d9a2c86
Merge pull request #91 from mc-hamster/master
Move Serial Plugin to new location
2021-11-22 13:17:01 -08:00
Jm Casler
ec7953ccf0
Rename src/plugins/SerialPlugin.h to src/plugins/esp32/SerialPlugin.h 2021-11-22 13:15:50 -08:00
Jm Casler
44a4bde626
Rename src/plugins/SerialPlugin.cpp to src/plugins/esp32/SerialPlugin.cpp 2021-11-22 13:15:36 -08:00
Ben Meadors
5db0a57599 Ignore messages originating from phone on screen 2021-11-21 18:44:08 -06:00
Jm Casler
834f2f4160 Updates to S&F (this one doesn't work) 2021-11-21 14:43:47 -08:00
Jm Casler
4367f05b24 Applied code formatters. 2021-11-20 21:57:21 -08:00
Jm Casler
97aec5f125 Remove comments from SF 2021-11-20 21:35:13 -08:00
Jm Casler
5191fd6475 Initial demonstrable build 2021-11-20 21:21:11 -08:00
Jm Casler
32017e53f5 Formatting applied 2021-11-18 09:36:39 -08:00
Jm Casler
37aab8a42b Able to store and forward, but packets are corrupt 2021-11-18 09:35:05 -08:00
Vladislav Osmanov
bfa0307231 LLCC68 doesn't support SF12 neither the "Long Slow" channel 2021-11-18 14:46:04 +03:00
Vladislav Osmanov
8eb0d685ac [LLCC68] module support 2021-11-17 13:28:08 +03:00
Ben Meadors
2d939d26ee Renamed to is_always_powered for convention 2021-11-06 12:11:22 -05:00
Ben Meadors
d6c7ea921a Added always_powered preference 2021-11-06 10:03:10 -05:00
a-f-G-U-C
8115ee0c97
set Team field via Admin plugin 2021-11-02 13:27:56 +00:00
Solanaceae
d5e4ceebcc Small fix for using 62.5Khz bandwidth setting. 2021-11-01 02:31:53 -07:00
Sacha Weatherstone
2c5ba29648
Merge branch 'master' into owner-update 2021-10-30 10:13:10 +11:00
a-f-G-U-C
5ef9414a25
fix owner name update issue (off #900) 2021-10-29 13:28:48 +00:00
a-f-G-U-C
2ebed9cb6c
update protobufs to 61bc1d0 2021-10-29 13:13:26 +00:00
a-f-G-U-C
7a1409c42a
Merge branch 'master' into ublox-filter-dop-fix 2021-10-28 13:03:01 +00:00
a-f-G-U-C
a911515dec
clean up old data during fix transition 2021-10-28 11:58:08 +00:00
a-f-G-U-C
7ecb36dbe7
Merge branch 'meshtastic:master' into ublox-filter-dop-fix 2021-10-28 11:56:11 +00:00
a-f-G-U-C
d4ea18851d
update for RX_SRC_USER 2021-10-28 11:33:32 +00:00
a-f-G-U-C
646d1caf66
updatePosition process time-only message 2021-10-28 11:31:19 +00:00
a-f-G-U-C
74c138620a
revert sanity check from PR 898 2021-10-28 11:25:45 +00:00
Jm Casler
3981d2e1f6
Fix for #874 - RangeTest Plugin header fields swapped for elevation and SNR (#904)
Fix for #874 - RangeTest Plugin header fields swapped for elevation and SNR
2021-10-28 15:46:20 +11:00
Kevin Hester
e2992cd3b9
Merge branch 'master' into ublox-filter-dop-fix 2021-10-28 10:41:03 +08:00
a-f-G-U-C
e89b3bd1ec
implement fix2d and max DOP user settings 2021-10-27 13:30:39 +00:00
a-f-G-U-C
da9dd62a33
add the user as distinct message source 2021-10-27 13:16:51 +00:00
Sacha Weatherstone
0133a1b293
Merge branch 'master' into feature/environmental-ds18b20-sensor-support 2021-10-27 10:23:40 +11:00
Sacha Weatherstone
6d778cdda4
Merge branch 'master' into inpos-selfrej-nicelog 2021-10-27 06:42:13 +11:00
a-f-G-U-C
24b2fd2657
better sanity check, logging of inbound positions 2021-10-26 12:41:44 +00:00
a-f-G-U-C
b74c2da530
implement RX_SRC_LOCAL, Position in updatePosition 2021-10-26 12:22:34 +00:00
Kevin Hester
26415cf8e0
Merge branch 'master' into feature/environmental-ds18b20-sensor-support 2021-10-26 02:36:50 +08:00
a-f-G-U-C
ef1d52ca04
update log message, sanity check 2021-10-24 13:02:31 +00:00
a-f-G-U-C
f69c8dddad
update MeshService to use Position struct 2021-10-24 12:48:48 +00:00
a-f-G-U-C
70b80e600d
use Position struct for GPS data 2021-10-24 12:38:35 +00:00
Joar Svensson
90d95d8e98
Merge branch 'master' into feature/environmental-ds18b20-sensor-support 2021-10-24 11:36:10 +02:00
a-f-G-U-C
7d267e8027
update GPSStatus to use Position struct atomically (#885) 2021-10-24 11:36:18 +11:00
a-f-G-U-C
0d884d159a
implement position packet optional fields (#892) 2021-10-24 11:10:36 +11:00
a-f-G-U-C
3893810b76
fix a positional timestamp reading bug (#886)
* fix a positional timestamp reading bug

* lying about fixType is no longer required
2021-10-24 10:31:44 +11:00
Joar Svensson
fff4735a15 Add support for DS18B20 temperature sensor 2021-10-23 21:10:25 +02:00
a-f-G-U-C
a914ee133c
fix a rare GPS data corruption condition (#890)
* fix a rare GPS data corruption condition

* don't use hasLock to determine validity
2021-10-23 14:21:59 +11:00
a-f-G-U-C
d0fb363422
discriminate local/remote node position updates (#889) 2021-10-23 12:58:56 +11:00
a-f-G-U-C
992bbe76d7
add backward compatible position flag defaults (#884) 2021-10-23 12:12:53 +11:00
syund
6fc3c9c868
Inline pow_neg - removes build warning (#891) 2021-10-23 11:40:43 +11:00
Kevin Hester
d54dad4225 update protobufs 2021-10-15 10:21:42 -07:00
Kevin Hester
c597cd4a17 regen protos 2021-10-15 10:21:42 -07:00
Kevin Hester
0a529dcaac
Merge branch 'master' into meshtastic-diy 2021-10-12 23:18:17 +08:00
Vladislav Osmanov
87ef15d371
Merge branch 'master' into meshtastic-diy 2021-10-12 15:23:30 +03:00
Kevin Hester
9679861b56
Merge branch 'master' into master 2021-10-12 11:58:52 +08:00
Kevin Hester
3d197d732c
Merge branch 'master' into fix-plugin-return-type 2021-10-12 09:15:34 +08:00
Kevin Hester
5d6fc6d63e
Merge branch 'master' into master 2021-10-12 09:14:18 +08:00
Kevin Hester
31e833ec59
Merge branch 'master' into master 2021-10-12 08:53:14 +08:00
Kevin Hester
89cd3fd73a
Merge branch 'master' into 875-Create-geo-coordinates-class 2021-10-12 08:34:03 +08:00
Sacha Weatherstone
5c0a76ae46 Reverte seperate Generate204 function 2021-10-11 12:27:10 +11:00
Sacha Weatherstone
14e36f0a2b Web server changes to support frontend 2021-10-11 00:11:04 +11:00
Sam
96f4998d11 Add functionality for converting lat lon to bearing range and back 2021-10-09 15:03:21 -04:00
Sam
4a98bdd9d6 Move bearing under GeoCoord 2021-10-09 13:31:27 -04:00
Sam
796e8c836a Move latLongtoMeter under GeoCoord 2021-10-09 13:28:51 -04:00
Sam
7081868143 Spelling fixes. Thanks a-f-G-U-C! 2021-10-09 13:17:23 -04:00
a-f-G-U-C
1e455ac4c3
issue 879 - add opt-in flag for plugins 2021-10-09 14:02:21 +00:00
a-f-G-U-C
5eb2e6401f
issue 879 - changes to Router.cpp 2021-10-09 13:54:42 +00:00
a-f-G-U-C
ee9c72b8c7
issue 879 - define source types 2021-10-09 13:48:30 +00:00
Vladislav Osmanov
92edfd3217 fix: GPS RX/TX pins mismatch 2021-10-08 21:17:05 +03:00
Sam
aa936ade7e Use geoCoord object to draw altitude 2021-10-03 16:01:41 -04:00
Sam
bf695a5f36 Use GeoCoord class in Screen.cpp 2021-10-03 15:52:46 -04:00
Sam
91bc051e6d Create GeoCoord class 2021-10-03 15:52:09 -04:00
Vladislav Osmanov
bc7d1a4ef0 redefine GPS TX pin for DIY schematic 2021-09-25 00:28:01 +03:00
Vladislav Osmanov
debae67ae7 Plugins refactoring: handleReceived return enumeration ProcessMessage
Use `ProcessMessage::CONTINUE` to allows other modules to process a message.
Use `ProcessMessage::STOP` to stop further message processing.
2021-09-23 04:42:09 +03:00
claes
28e851c3fd Low battery level counter for NRF52
Added a counter that counts low battery level detections.
If there are 4 in a row we go to deep sleep.
The battery sense on the RAK4631 seems to be a bit unstable and may
generate  'false' low voltage readings.
My RAK4631 has been running for 7 days now with this fix.
It did 3 days without it.
I still do not have a T-Echo so on that board IT IS NOT TESTED.
(But I hope it will improve things there too)
2021-09-19 16:00:10 +02:00
Vladislav Osmanov
e3d9b94367 New device board - [Meshtastic DIY v1] by @NanoVHF Schematic based on ESP32-WROOM-32 (38 pins) devkit & EBYTE E22 SX1262/SX1268 module
Subproject reference: https://github.com/NanoVHF/Meshtastic-DIY
2021-09-19 16:05:21 +03:00
Kevin Hester
a1b37d3407
Merge branch 'master' into HAE-MSL-banner 2021-09-18 15:59:54 -07:00
Kevin Hester
d54fecca4e
Merge branch 'master' into sanitize-course-value 2021-09-18 15:38:00 -07:00
Kevin Hester
b3012b7ee5
Merge branch 'master' into Show-fixed-GPS-coordinates-on-screen 2021-09-18 14:44:10 -07:00
Vladislav Osmanov
16d2c565e8 Use EU433 frequency value as default for SX1268 2021-09-18 21:39:29 +03:00
Sam
a74f038cba [866] Show fixed coordinates on screen and indicate when using fixed coordinates. 2021-09-15 18:58:09 -04:00
Vladislav Osmanov
bd9bf585d3 save channel & freq before outputting them for debugging
The frequency could be overridden in `RadioInterface::getFreq()` for some modules.
2021-09-15 12:09:11 +03:00
Vladislav Osmanov
56dd3eab23 use common param name SX126X_ANT_SW instead of the SX1262_ANT_SW 2021-09-14 12:25:25 +03:00
Vladislav Osmanov
cb42440963 fix module frequency overriding
The `RadioInterface::freq` member was encapsulated with the `RadioInterface::getFreq()` function,
which could be overridden in child classes for some LoRa-modules.
2021-09-13 22:13:51 +03:00
Vladislav Osmanov
da61090dc5 fix: need to check USE_SX1262 and USE_SX1268 as they are using the same pinouts 2021-09-12 13:58:56 +03:00
Vladislav Osmanov
098f38fb83 New base class for SX126x modules. Added new SX1268 module support. 2021-09-12 00:35:16 +03:00
a-f-G-U-C
c442fd3886
input sanitization - TinyGPS course()
Reduce the impact of issue #863 (and similar issues in the future) by filtering out obvious bogons
2021-09-10 15:12:12 +00:00
Vladislav Osmanov
00bf7879af SX1268 frequency initialization regardless of the region
Otherwise, we get critical error 3 with result code -12 (ERR_INVALID_FREQUENCY):
The supplied frequency value is invalid for this module.
2021-09-09 23:55:36 +03:00
Vladislav Osmanov
2ba68c9b6e added SX1268 module adapter 2021-09-09 23:55:36 +03:00
a-f-G-U-C
a2f06cb077
Display HAE/MSL mode on startup 2021-09-09 14:12:37 +00:00
Kevin Hester
e351f35cf2
Merge branch 'master' into radiolib-sync-upstream 2021-09-08 14:08:25 -07:00
a-f-G-U-C
de712ce41a
disable debug code 2021-09-08 14:26:21 +00:00
a-f-G-U-C
f6f9b9cd03
fixes from PR #851, #858 ported to NMEA GPS
apply fixes and upgrades from PR #851, #858 to NMEA GPS code
2021-09-08 14:02:13 +00:00
Vladislav Osmanov
1a671f2877 override new RadioLib's default current limit value (60 mA) to the previous value of 100mA 2021-09-08 14:30:52 +03:00
a-f-G-U-C
1c06c2af9f
read lat/lon/alt into temp vars instead of global
Instead of reading the GPS solution directly into global variables and risking a bad-over-good overwrite (issue #857), read it into temporary vars and only update global vars after validation.
Also updates positional timestamp variable and prepares (non-breaking) for HAE altitude support (issue #359)
2021-09-05 17:11:04 +00:00
a-f-G-U-C
eb27e744f7
add positional timestamp and geoidal separation
Relevant to issues #842 and #843 (timestamp) and historical issues #392 and #359 (timestamp, geoidal)
2021-09-05 15:10:06 +00:00
Kevin Hester
c8269d67c3
Merge branch 'master' into radiolib-sync-upstream 2021-09-04 18:07:55 -07:00
Kevin Hester
ccb4596299
Merge branch 'master' into radiolib-sync-upstream 2021-09-04 17:35:34 -07:00
Kevin Hester
2741de90e5
Merge branch 'master' into virtual-haslock 2021-09-04 17:34:41 -07:00
srichs
72e22b6744 Added OLC and OS grid ref protobufs 2021-09-04 01:31:29 -06:00
srichs
030d09740c Merge branch 'gps-coordinate-formats' of https://github.com/srichs/Meshtastic-device into gps-coordinate-formats 2021-09-04 01:19:32 -06:00
srichs
d381f091e9 Added OLC and OS grid ref, adjusted DMS display 2021-09-03 23:19:47 -06:00
a-f-G-U-C
5cf1a87657
redefine hasLock() for UBlox GPS 2021-09-02 13:21:48 +00:00
a-f-G-U-C
25841c072a
allow GPS modules to redefine GPS::hasLock() 2021-09-02 13:11:11 +00:00
Vladislav Osmanov
f40bd0745c The argument currentLimit was removed from the begin method
More info: jgromes/RadioLib@e1141ca#diff-507c32190e4a29ffe411c8eab06c75b594c5d2a5fd92e5cb703b787e5f019589L568
2021-09-02 16:10:45 +03:00
Vladislav Osmanov
fe3afaab3d Reflecting changes from upstream RadioLib in https://github.com/osmanovv/RadioLib/tree/upstream-merge
(252fe74d53)

The argument `currentLimit` was removed from the `begin` method:
e1141ca64c (diff-507c32190e4a29ffe411c8eab06c75b594c5d2a5fd92e5cb703b787e5f019589L568)
2021-09-02 16:10:44 +03:00
Kevin Hester
f96d8bf645
Merge branch 'master' into a-f-G-U-C-ublox-power 2021-09-01 10:21:50 -07:00
srichs
29124c3416 Adjusted formatting for DMS 2021-08-30 19:23:50 -06:00
a-f-G-U-C
71951a4e6a
fix a typo 2021-08-30 13:55:50 +00:00
a-f-G-U-C
8dbfd0f19b
disable gps powercycle for small gps_update_interval 2021-08-30 13:45:42 +00:00
srichs
5c6355489f Changed gps coordinate formats to use sprintf() 2021-08-30 04:42:14 -06:00
srichs
8edac1f86c Added different gps coordinate formats for OLED 2021-08-30 01:17:18 -06:00
Kevin Hester
eaa15076cd WIP debug logging over TCP 2021-08-18 10:31:30 -07:00
Kevin Hester
2fd74d8f47 cleanup ssl cert generation 2021-08-17 20:40:46 -07:00
Kevin Hester
0e91d39b27 don't shutdown bluetooth if we didn't start it 2021-08-17 20:40:13 -07:00
Kevin Hester
52d7a6b8e4 immediately reconnect to mqtt server on wifi reconnect 2021-08-17 19:59:56 -07:00
Kevin Hester
472e880280 fix race condition when starting web service 2021-08-17 17:04:09 -07:00
Kevin Hester
189889489b disable bluetooth while using wifi (esp32 drops networks otherwise) 2021-08-17 16:58:21 -07:00
Kevin Hester
0d758347af Fix rare assertion failure which could occur due to pending interrupts
* fix assertion failure
```
22:57:36 64409 [PositionPlugin] FIXME-update-db Sniffing packet
22:57:36 64409 [PositionPlugin] Delivering rx packet (id=0x5851f437 Fr0xa1 To0xff, WantAck0, HopLim3 Ch0x0 Portnum=3 rxtime=1628895456 priority=10)
22:57:36 64409 [PositionPlugin] Forwarding to phone (id=0x5851f437 Fr0xa1 To0xff, WantAck0, HopLim3 Ch0x0 Portnum=3 rxtime=1628895456 priority=10)
22:57:36 64409 [PositionPlugin] Update DB node 0x85f4da1, rx_time=1628895456
22:57:36 64409 [PositionPlugin] Plugin routing considered
22:57:36 64409 [PositionPlugin] Add packet record (id=0x5851f437 Fr0xa1 To0xff, WantAck0, HopLim3 Ch0x0 Portnum=3 rxtime=1628895456 priority=10)
22:57:36 64409 [PositionPlugin] Expanding short PSK #1
22:57:36 64409 [PositionPlugin] Installing AES128 key!
22:57:36 64409 [PositionPlugin] enqueuing for send (id=0x5851f437 Fr0xa1 To0xff, WantAck0, HopLim3 Ch0xb1 encrypted rxtime=1628895456 priority=10)
22:57:36 64409 [PositionPlugin] (bw=125, sf=12, cr=4/8) packet symLen=32 ms, payloadSize=22, time 2596 ms
22:57:36 64409 [PositionPlugin] txGood=6,rxGood=10,rxBad=0
22:57:36 64409 [PositionPlugin] AirTime - Packet transmitted : 2596ms
22:57:36 64409 [RadioIf] assert failed src/mesh/RadioLibInterface.cpp: 240, void RadioLibInterface::handleReceiveInterrupt(), test=isReceiving
```
2021-08-17 16:31:01 -07:00
Kevin Hester
b04e313665 minor debug output 2021-08-15 10:34:57 -07:00
Kevin Hester
700e799125 check our host PC using the new nrf52 api 2021-08-12 22:07:30 -07:00
Kevin Hester
a9f8080ee7 cope with race on available() vs read() found while looking at #838 2021-08-12 22:06:51 -07:00
Kevin Hester
388f19da79
Merge branch 'master' into master 2021-08-12 16:32:52 -07:00
Kevin Hester
bcb54b643f
Merge branch 'master' into dev 2021-08-12 16:09:30 -07:00
Kevin Hester
04d3f44179 Updates to work with latest adafruit nrf52 arduino 2021-08-12 15:50:54 -07:00
claes
5110a6de82 Battery sense for T-Echo
Copied battery stuff from RAK4631 to T-Echo
I got the voltage divider figures for T_Echo from SoftRF at
https://github.com/lyusupov/SoftRF/blob/master/software/firmware/source/SoftRF/src/platform/nRF52.h

I dont have a T-Echo so this code
HAS NOT BEEN TESTED
2021-08-10 10:07:40 +02:00
claes
04c5ac0d7c Voltage and sleep fix for NRF52
Dont let the NRF52 go to SDS Super Deep Sleep
Show bat percentage on NRF52 when above 4210 mV
2021-08-10 09:23:26 +02:00