geeksville
d2de04d5b2
Fix #59 no need for broadcasts when showing new node pane
2020-05-21 17:21:44 -07:00
geeksville
b6a202d68e
runs again with new protobufs
2020-05-12 13:35:22 -07:00
geeksville
1cc24de787
stub encryptor seems nicely backwards compatible with old devices and apps
2020-05-09 17:51:20 -07:00
geeksville
9b309fe0a0
Use int based lat/long from now on in the device code
...
for https://github.com/meshtastic/Meshtastic-device/issues/124
2020-05-04 08:09:08 -07:00
geeksville
4176d79ee9
fix warnings
2020-05-01 16:33:26 -07:00
geeksville
e084699704
SNR is now a float, fix the screen display
2020-05-01 12:31:36 -07:00
geeksville
def86131f0
Merge branch 'master' into nrf52
...
# Conflicts:
# src/main.cpp
2020-04-26 18:34:41 -07:00
geeksville
64f6c0f5c0
clean up PeriodicTask so I can eventually use it with a scheduler
2020-04-25 10:59:40 -07:00
geeksville
2fdb75efdf
make GPS 'work' on nrf52
2020-04-23 16:20:07 -07:00
geeksville
3e4ccef992
fix warnings
2020-04-23 13:53:29 -07:00
geeksville
16998ebd8d
fix compiler warnings
2020-04-23 13:26:53 -07:00
geeksville
6eb74415ab
protobuf changes as part of getting ready for mesh again
2020-04-16 17:32:36 -07:00
geeksville
81734f75c8
fix review comments (don't let commands queue up if we are missing a display)
2020-03-29 11:13:53 -07:00
geeksville
11d57e721a
fix #68 (@girtsf, pls review - ps: no worries ;-) )
...
// We don't set useDisplay until setup() is called, because some boards have a declaration of this object but the device
// is never found when probing i2c and therefore we don't call setup and never want to do (invalid) accesses to this device.
2020-03-29 11:00:25 -07:00
Girts Folkmanis
54cd082bfe
fix #49 : make debug screen show real data
...
* Break out debug screen to a separate class and make it thread-safe.
* Break out power state to a separate class.
* Show battery voltage, charging & USB status on debug screen.
* Show GPS lock / no lock
* Fix an off-by-one that I introduced earlier in `drawRows`.
2020-03-26 22:17:47 -07:00
geeksville
50d724780a
make user presses ask other nodes for their latest status
...
see related bug
https://github.com/meshtastic/Meshtastic-esp32/issues/59
2020-03-25 13:09:12 -07:00
Girts Folkmanis
3e44c2c3e1
screen.cpp: flip the display 180
2020-03-19 20:15:51 -07:00
geeksville
32ac5ac9ae
reformat everything
...
using @girtsf clang-format prefs settings. This should allow us to turn
on auto format in our editors without causing spurious file changes.
2020-03-18 19:15:51 -07:00
Girts Folkmanis
daf8594b99
Screen cleanups and refactoring
...
Work towards separating out how Screen interacts with other stuff.
* `Screen` should now be thread-safe. All commands to it are put in a
queue and handled in `doTask` from the `loop()` task.
* Break dependency from `BluetoothUtil` to `Screen` by changing the
pairing request into a callback.
* All accesses to screen now happen through the class.
* Fix `drawRows` so that the text scrolls along with frame animations.
* Remove example code that wasn't used.
2020-03-18 18:11:35 -07:00
Girts Folkmanis
5b54fd6359
screen.cpp: reformat with clang-format
2020-03-18 17:16:19 -07:00
geeksville
2134b4db9b
fix #40 force an extra redraw for the bootscreen,
...
some clones drop the first draw cmd
2020-03-17 16:36:48 -07:00
Girts Folkmanis
41c95eaff7
fix build: add missing include to screen.cpp
2020-03-16 09:26:40 -07:00
geeksville
951f5d11d5
fix text message display when new text arrives
...
The problem was we were pulsing the display power briefly down while
reentering the ON state (because the ON states exit rule turned it off).
Instead we now just turn off the screen on entry to DARK or LS states
2020-03-04 16:46:57 -08:00
geeksville
425c570757
don't show fake GPS level on devices without one #4
2020-03-04 10:51:29 -08:00
Kevin Hester
fe5703c684
fix the "blank screen when a text message arrives" bug
2020-03-03 10:15:23 -08:00
Girts Folkmanis
0b8d7768fd
some minor cleanups
...
* Suppress warnings about conflicting library names in platformio.ini by
explicitly picking the libraries by id that we want.
* fix unused static function warning by making it not static ;)
* declare arduino-fsm as dependency for BluetoothOTA. Hopefully this
fixes the CI builds?
Tested: `pio run` builds.
2020-02-28 19:26:11 -08:00
geeksville
a3df099f60
until my TBEAM is fixed, leave GPS power on in sleep sometimes
2020-02-24 11:21:08 -08:00
geeksville
372a3e000e
button presses are fixed
2020-02-22 18:02:44 -08:00
geeksville
5e2044dd63
blink the led very briefly every 5 secs while in light sleep
2020-02-22 17:40:31 -08:00
geeksville
509f9b6e2b
WIP state machine builds
2020-02-22 12:01:59 -08:00
geeksville
3df81682b3
now that light-sleep kinda works, use deep-sleep far more rarely
2020-02-21 11:32:33 -08:00
geeksville
20461807f3
change screen into a periodictask, so it can be used with the scheduler
2020-02-21 10:51:36 -08:00
geeksville
d4efb2c44c
burn _lots_ less cpu updating the display when idle
2020-02-21 10:13:51 -08:00
geeksville
7a745c9e65
light sleep seems to work well
2020-02-21 04:57:08 -08:00
geeksville
b9438357b6
add support for network ping testing
2020-02-19 18:51:17 -08:00
geeksville
bf347aad91
show users walking heading on the screen
2020-02-19 15:29:18 -08:00
geeksville
47d278b3b9
only display messages destined to us
2020-02-17 16:32:51 -08:00
geeksville
c0fdf227b7
properly show plaintext msgs on oled
2020-02-17 16:27:29 -08:00
geeksville
befb06bdd9
make readme a bit more real.
2020-02-15 08:38:07 -08:00
geeksville
978abc7f63
show a kinda correct heading on the compass graphic
2020-02-14 19:11:31 -08:00
geeksville
4adddf4fd0
show real distances between nodes
2020-02-14 16:25:11 -08:00
geeksville
59aaffa3e5
show real received text messages in the gui
2020-02-12 19:58:44 -08:00
geeksville
efa91f6767
track last contact times for nodes and show in gui
2020-02-12 11:52:53 -08:00
geeksville
c726e5f331
leave screen off most of the time - press to wake
2020-02-12 09:58:46 -08:00
geeksville
d3ce56f1b5
gui polish
2020-02-12 07:51:04 -08:00
geeksville
a0f2d1f18a
include a human readable name for each channel
2020-02-11 19:08:17 -08:00
geeksville
5aaae9c4fe
we now use 13 different channel numbers
2020-02-11 12:05:46 -08:00
geeksville
124c3e2edd
show real radio signal strength
2020-02-11 11:03:03 -08:00
geeksville
6dc17bdfde
we now show correct usernames in the nodeinfo screens
2020-02-11 10:51:45 -08:00
geeksville
3e773526b7
drawing correct compass rose works
2020-02-11 09:39:47 -08:00