Commit Graph
1071 Commits
Author SHA1 Message Date
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
BeardyWalrus 4d7cd0a09d conditional on needing ESP32 bluetooth header loaded 2020-10-03 17:23:36 -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
geeksville bacc6caf04 wip gps power fixes #376 2020-10-01 09:17:43 -07:00
geeksville d66cede7fc Merge branch 'eink' into power 2020-10-01 07:51:01 -07:00
geeksville 3a638090a2 update protos for #376 2020-09-30 07:47:16 -07:00
BeardyWalrusandGitHub 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 HesterandGitHub cfb9a600e4 Merge branch 'master' into eink 2020-09-29 14:14:10 -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
geeksville 124a82888d add power testing notes for eink 2020-09-28 17:38:36 -07:00
geeksville fec7a6bf17 add air530 gps sleep support 2020-09-28 17:04:19 -07:00
geeksville bc50b39a3b put eink screen to sleep to save power 2020-09-28 16:08:52 -07:00
geeksville a0fd83428f eink use RESET button as regular button instead 2020-09-28 13:10:27 -07:00
geeksville e5d4fbb164 fix pins per email eink 2020-09-28 13:03:54 -07:00
Jm Casler 848760e5bf Set device hostname with hardwire ID #445 2020-09-27 00:55:41 -07:00
Jm Casler 5ebac0cd54 Merge branch 'master' of https://github.com/mc-hamster/Meshtastic-device 2020-09-26 23:38:22 -07:00
Jm Casler 9b4079317b Give more details of why wifi is disconnected 2020-09-26 23:37:58 -07:00
Jm CaslerandGitHub fd62edbcab Merge branch 'master' into master 2020-09-26 18:44:53 -07:00
Jm Casler b5361ef89f Display gps altitude on display #443 2020-09-26 18:37:51 -07:00
geeksville 648589ed16 translate important parts of the Air530 datasheet to english 2020-09-26 18:16:32 -07:00
geeksville 28ec0e310d make bat voltage sensing work on eink 2020-09-26 18:13:16 -07:00
geeksville 956d9e96f2 Merge branch 'eink' of https://github.com/geeksville/Meshtastic-esp32 into eink 2020-09-26 13:49:54 -07:00
geeksville 266ba03bb7 route debug output back to the CDC-ACM device instead of JLINK 2020-09-26 13:49:22 -07:00
Kevin HesterandGitHub 04c54840f4 Merge branch 'master' into eink 2020-09-26 12:58:13 -07:00
geeksville d7fbcf89bf cleanup todo eink now ready to merge 2020-09-26 12:36:11 -07:00
geeksville a8b1bc735a remove debugging code eink gps now works 2020-09-26 12:12:50 -07:00
geeksville ba8c640d6e eink leds kinda work now 2020-09-26 10:53:02 -07:00
geeksville d88d2780f4 eink display now kinda works 2020-09-26 09:40:48 -07:00
Jm Casler 6f444ed4b5 Accidently left #include "nimble/BluetoothUtil.h" in screen 2020-09-26 00:03:23 -07:00
Jm Casler 28119bf1bf Fix for #439 and some cleanup 2020-09-26 00:01:02 -07:00
geeksville 2996c7c8e2 Make tcp API now work. Sample usage and caveats below:
Sample usage:

First configure device to use @mc-hamster's new wifi stuff:
meshtastic --set wifi_ssid mylanname --set wifi_password mylanpassword

Then reboot the device (so wifi starts up).

(assuming device was assigned addr 192.168.81.45)
meshtastic --info --host 192.168.81.45
(See the usual device info you previously had to get over USB)

Caveats:

* Currently we are limiting to one active TCP connection open at once, if
you open a new session the old one is closed automatically
* There are no access controls/authentication needed to open a TCP
connection to the device
* Currently main.cpp is kinda dumb about how we should schedule work and
we rely on too many helper loop() functions.  Very soon in my queue
(related to all the other cleanup) is to add a basic notion of coroutines,
so that we can get away from freertos threads and this old school arduino
loop function.  Once that cleanup happens we can the a) have much lower
battery consumption (always) and b) super fast response for all operations.
2020-09-25 16:18:30 -07:00
geeksville d1c3078698 shrink guard for channel settings lock 2020-09-25 12:52:26 -07:00
geeksville 3e5f81bf2a move region into userpreferences, to end region specific firmwares 2020-09-25 12:52:08 -07:00
geeksville 1a064a4666 Merge remote-tracking branch 'root/master' 2020-09-25 09:19:58 -07:00
geeksville 6f77244af3 eink wip notes 2020-09-25 09:14:00 -07:00
geeksville a79aff4778 WIP - I think some pins are wrong, waiting for new schematic 2020-09-24 16:36:07 -07:00
Jm CaslerandGitHub fed4dfd410 Merge pull request #435 from mc-hamster/master
Update dev-wifi from my fork
2020-09-24 11:15:47 -07:00
Jm Casler 0d3b8bdb22 Note not to file bugs 2020-09-24 11:07:30 -07:00
Jm Casler ce7fa65595 David's latest changes to the HTML UI 2020-09-23 19:04:12 -07:00
geeksville 9c0a0ad220 Add stubs so that portduino can build with wifi. cc @mc-hamster 2020-09-23 17:22:17 -07:00