Kevin Hester
1a3cc40c7e
sx1262 better to check for header because preamble might never result in irq
2020-10-08 06:23:05 +08:00
Kevin Hester
bdcd5c3981
allow reporting # sats before we ahve a fix
2020-10-08 06:22:25 +08:00
Kevin Hester
fc82e872d6
don't require gps to have lock before we'll trust GPS time
2020-10-08 05:23:52 +08:00
Jm Casler and GitHub
dffcea1f4d
Merge pull request #13 from meshtastic/master
...
Update my fork from head with 1.1 changes
2020-10-07 08:32:54 -07:00
Kevin Hester
b47c54b5b6
keep lora radio totally unpowered when in deep-sleep
2020-10-07 17:52:44 +08:00
Kevin Hester
c0c83ad389
If we are not supposed to share locations make sure phone doesn't either
2020-10-07 17:46:25 +08:00
Kevin Hester and GitHub
23aecbdc38
Merge pull request #456 from geeksville/power
...
major cleanup of GPS code and changes to keep GPS asleep
2020-10-06 23:26:39 -07:00
Kevin Hester
eca7242a1f
fix NRF52 build
2020-10-07 14:00:59 +08:00
Kevin Hester
ef899425b8
1.1.1
2020-10-07 13:46:39 +08:00
Kevin Hester
269f90c510
Force GPS power to zero when in deep sleep
2020-10-07 13:44:17 +08:00
Kevin Hester
7a5832ab8a
SX1262: fix serious bug with detecting if we have a rx packet in progress
...
Could cause hangs on the way into sleep (and enormous power consumption).
Instead of checking for rx packet length (which only changes at completion)
check if we've received preamble bits but haven't yet received a completed
packet interrupt.
notes:
wait to sleep loop problem
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
Can not send yet, busyRx
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
vs normal run
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
radio wait to sleep, txEmpty=0
Starting low level send (id=0x53fe1dd0 Fr0xe5 To0xff, WantAck0, HopLim3 encrypted)
Completed sending (id=0x53fe1dd0 Fr0xe5 To0xff, WantAck0, HopLim3 encrypted)
2020-10-07 13:43:51 +08:00
Kevin Hester
044cc26340
#376 use power off command instead of killing gps power per manual 9.5
2020-10-07 11:44:30 +08:00
Kevin Hester
4ccd03623f
bug #376 : disable the "wake on serial" feature, because it causes
...
bogus wakes on TBEAMS because the USB->SERIAL chip pulls the RX input
to ground. This feature is no longer needed because in !isRouter
nodes we force the node to never sleep anyways when on USB power.
// this doesn't work on TBEAMs when the USB is depowered (causes bogus interrupts)
// So we disable this "wake on serial" feature - because now when a TBEAM (only) has power connected it
// never tries to go to sleep if the user is using the API
// gpio_wakeup_enable((gpio_num_t)SERIAL0_RX_GPIO, GPIO_INTR_LOW_LEVEL);
2020-10-06 14:24:08 +08:00
Kevin Hester
7854a22fbf
bug #376 - stop using pmu IRQ - we don't need it and it causes LS wakes
2020-10-06 12:45:19 +08:00
Kevin Hester
943d5cb08d
bug #376 we were not staying in light sleep as long as intended
2020-10-06 11:48:53 +08:00
Kevin Hester
7480eb1826
Change to use zeros for timeout values that are 'default'
2020-10-06 09:43:00 +08:00
Kevin Hester
c32c97c389
TBEAM 1.1 has an extra controllable LED - blink that also
2020-10-06 08:20:06 +08:00
BeardyWalrus
b4b1b24c84
always need double press, even if you dont have a screen
2020-10-05 20:13:04 -04:00
Kevin Hester
ef146fc0b5
bug #376 - wip time only mode now works
2020-10-06 06:27:46 +08:00
Kevin Hester
f6861a8fe2
bug #376 wip - we now minimize comms to gps to save power
2020-10-06 06:07:30 +08:00
Kevin Hester
736642455f
bug #376 wip - we now respect the new gps_operating_mode pref.
2020-10-06 05:34:56 +08:00
Kevin Hester
3c1c11e439
bug #376 wip - we now kill gps power when it is supposed to be asleep
2020-10-05 15:29:26 +08:00
Kevin Hester
b072eec4ac
wip for #376
2020-10-05 14:43:44 +08:00
Kevin Hester
ff9b49ddaa
add lora32 schematic
...
Signed-off-by: Kevin Hester <kevinh@geeksville.com >
2020-10-05 11:03:30 +08:00
Kevin Hester
b8863c8a07
Merge remote-tracking branch 'root/master' into power
2020-10-05 10:56:50 +08:00
BeardyWalrus
4d7cd0a09d
conditional on needing ESP32 bluetooth header loaded
2020-10-03 17:23:36 -04:00
BeardyWalrus and GitHub
fed8e80ae4
Merge branch 'master' into master
2020-10-03 17:04:47 -04:00
BeardyWalrus
b38bcffafb
Merge branch 'master' of https://github.com/BeardyWalrus/Meshtastic-device
2020-10-03 17:02:19 -04:00
BeardyWalrus
530432411e
revised fix for #357
...
Now supports default password for devices with no display, and override with double press of user button
2020-10-03 17:02:17 -04:00
Jm Casler and GitHub
71cdbb1a73
Merge pull request #454 from mc-hamster/master
...
Update readme to link to the US aliexpress listing
2020-10-01 20:39:38 -07:00
Jm Casler
200aa27cc0
Merge branch 'master' of https://github.com/mc-hamster/Meshtastic-device
2020-10-01 20:08:01 -07:00
Jm Casler and GitHub
f7752e4f9d
Merge pull request #12 from meshtastic/master
...
Update my repo from head
2020-10-01 20:07:07 -07:00
Jm Casler
7f0e8a8d6b
Update readme to link to the US aliexpress listing for T-Beam V1.1 w/ NEO-M8N /w SX1262
2020-10-01 20:04:12 -07:00
BeardyWalrus and GitHub
f30c84012f
Merge branch 'master' into master
2020-10-01 22:24:30 -04:00
Jm Casler and GitHub
1f6877606f
Merge pull request #453 from ikstream/update_readme
...
Fix update/install instructions
2020-10-01 17:32:55 -07:00
geeksville
1907873831
gps wip for #376
2020-10-01 10:04:04 -07:00
geeksville
bacc6caf04
wip gps power fixes #376
2020-10-01 09:17:43 -07:00
geeksville
56d4250197
Merge remote-tracking branch 'root/master' into power
2020-10-01 07:51:24 -07:00
geeksville
d66cede7fc
Merge branch 'eink' into power
2020-10-01 07:51:01 -07:00
Stefan Venz
f7ffd196e3
Fix update/install instructions
2020-10-01 11:22:41 +02:00
geeksville
3a638090a2
update protos for #376
2020-09-30 07:47:16 -07:00
geeksville
4342ae74fb
Merge remote-tracking branch 'root/master'
2020-09-30 07:24:38 -07:00
BeardyWalrus and GitHub
5150d15997
Merge branch 'master' into master
2020-09-29 19:57:01 -04:00
BeardyWalrus
7d6dbcfa3f
Update BluetoothUtil.cpp
...
fix for #357
use presence of ssd1306 display to set display functionality for bluetooth security.
2020-09-29 19:51:39 -04:00
Kevin Hester and GitHub
5a7962896d
Merge pull request #449 from geeksville/eink
...
pulling in some common GPS fixes, so I can use them on ESP32
2020-09-29 14:21:00 -07:00
Kevin Hester and GitHub
cfb9a600e4
Merge branch 'master' into eink
2020-09-29 14:14:10 -07:00
geeksville
7f3217d69e
update image build script
2020-09-29 14:12:26 -07:00
Jm Casler and GitHub
d94be0f534
Merge pull request #448 from mc-hamster/master
...
Add frequency information to debug output (#447 ) and cleanup of screen.cpp and meshwifi.cpp
2020-09-29 01:09:55 -07:00
Jm Casler
17a3e6e975
Merge branch 'master' of https://github.com/mc-hamster/Meshtastic-device
2020-09-29 00:59:31 -07:00
Jm Casler
423cbc2c6d
Added frequency information to debug output ( #447 ) and cleanup of screen.cpp and meshwifi.cpp
2020-09-29 00:59:26 -07:00