Jm
1b8f41d353
Partial work on s&f
2021-03-17 21:03:11 -07:00
Vadim Furman
0c51cc3738
Fix hardware model
2021-03-17 10:56:45 -07:00
Vadim Furman
2b9a8f0822
Merge remote-tracking branch 'origin/master'
2021-03-17 10:49:04 -07:00
Vadim Furman
ddcfff3b59
Fixed compilation on nrf52 and brownout code
2021-03-17 10:44:42 -07:00
Kevin Hester
999afdf05e
wifi now works on portduino
2021-03-17 20:29:27 +08:00
Kevin Hester
f492f6deb6
progress on Wifi in portduino
2021-03-15 19:59:31 +08:00
Kevin Hester
3f401e8cac
Merge branch 'dev' into portduino
...
# Conflicts:
# .vscode/settings.json
2021-03-15 12:09:07 +08:00
Vadim Furman
b20b21c553
pitches.h no more
2021-03-14 20:46:58 -07:00
Vadim Furman
c62863b1dc
Merge from origin
2021-03-14 19:42:57 -07:00
Vadim Furman
8505a0f260
Chargeing...
2021-03-14 19:17:28 -07:00
Vadim Furman
98d878cdfe
Port to lora_isp4520 board
2021-03-14 19:00:20 -07:00
Kevin Hester
53671283ae
change hw_model_deprecated to intentionally break old apps
2021-03-14 10:57:26 +08:00
Kevin Hester
d9fc7b32c3
move hw_model into User
2021-03-14 10:48:20 +08:00
Kevin Hester
9a03536e3d
Use enums for hw_model per @sachaw idea.
2021-03-14 10:37:32 +08:00
Kevin Hester
a07291d904
cleanup external notification plugin
2021-03-13 13:32:23 +08:00
Kevin Hester
c0ac457cad
lockdown plugins that touch hardware
2021-03-13 13:14:27 +08:00
Kevin Hester
6813a31895
fix hop limit defaults for android
2021-03-13 09:27:44 +08:00
Kevin Hester
c227143b53
@mc-hamster, I think storeandforward was accidentally wrong (no worries though)
2021-03-13 08:41:50 +08:00
Kevin Hester
3e6817cd18
fix board reboot due to forwarding packets we don't have keys for
2021-03-13 08:29:58 +08:00
Kevin Hester
a5ed607261
fix memory corruption in storeandforward
2021-03-13 08:29:32 +08:00
Kevin Hester
5dc5bce1b2
cleanup memtest
2021-03-12 20:41:18 +08:00
Kevin Hester
1908d131ca
turn on access control for admin plugin, only allow remote access over special channel
2021-03-12 20:22:40 +08:00
Kevin Hester
8cd2a00a25
fix nasty bug
2021-03-12 15:47:00 +08:00
Kevin Hester
c097852ab0
SERIOUS BUG: we've been discarding devicestate when we should not
2021-03-12 15:45:28 +08:00
Kevin Hester
b02212009a
progress on remote settings
2021-03-12 14:10:36 +08:00
Kevin Hester
2d6261703a
fix null pointer exception in storeandforwardplugin. if null the vtable is busted
...
cc @mc-hamster. In some cases storeForwardPluginRadio can be null ;-)
~/development/meshtastic/meshtastic-esp32$ bin/exception_decoder.py -e .pio/build/tbeam/firmware.elf ex
stack:
0x401db467: StoreForwardPluginRadio::sendPayload(unsigned int, bool) at /home/kevinh/development/meshtastic/meshtastic-esp32/src/plugins/esp32/StoreForwardPlugin.cpp:235
0x400e7cbd: StoreForwardPlugin::runOnce() at /home/kevinh/development/meshtastic/meshtastic-esp32/src/plugins/esp32/StoreForwardPlugin.cpp:225
0x400d4cca: concurrency::OSThread::run() at /home/kevinh/development/meshtastic/meshtastic-esp32/src/concurrency/OSThread.cpp:45
0x400f015d: ThreadController::runOrDelay() at /home/kevinh/development/meshtastic/meshtastic-esp32/.pio/libdeps/tbeam/Thread/ThreadController.cpp:153
0x400da070: loop() at /home/kevinh/development/meshtastic/meshtastic-esp32/src/main.cpp:621
0x400ff709: loopTask(void*) at /home/kevinh/.platformio/packages/framework-arduinoespressif32/cores/esp32/main.cpp:19
Signed-off-by: Kevin Hester <kevinh@geeksville.com>
2021-03-11 18:53:17 +08:00
Kevin Hester
a97c2ae6eb
minimize radioconfig file writes
2021-03-11 18:29:47 +08:00
Kevin Hester
76e2c39c63
completed moving prefs to new files
2021-03-11 17:54:16 +08:00
Kevin Hester
ab9fe42f58
wip - move channels
2021-03-11 13:02:00 +08:00
Kevin Hester
959b540c02
begin restricting admin ops to the admin channel
2021-03-11 10:01:57 +08:00
Kevin Hester
68781492ad
don't block on segger console
2021-03-11 10:00:08 +08:00
Kevin Hester
0df01f2586
Merge remote-tracking branch 'root/master' into eink
2021-03-10 15:30:51 +08:00
Kevin Hester
217bd934d7
fix GPS fixme wrt deletion
2021-03-10 15:21:54 +08:00
Kevin Hester
58715f454c
add consolePrintf for C style code
2021-03-10 15:21:30 +08:00
Kevin Hester
772f2a15ff
check more error codes
2021-03-09 16:45:40 +08:00
Kevin Hester
5b0d8381b9
fxi log formatting
2021-03-09 15:07:26 +08:00
Kevin Hester
d841d86bbc
brownout detect
2021-03-09 15:07:16 +08:00
Kevin Hester
ecaae87b79
make screen optional
2021-03-09 15:07:02 +08:00
Kevin Hester
87ec7b09aa
add crude check for brownout
2021-03-08 18:12:21 +08:00
Kevin Hester
f8ec072093
make debug console stall until host has downloaded
2021-03-08 17:10:48 +08:00
Kevin Hester
781d2f0ad6
fix warnings
2021-03-08 17:09:35 +08:00
Kevin Hester
7bbd2c0e80
make textmessageplugin optional
2021-03-08 15:30:08 +08:00
Jm Casler
315cfe4f2d
Merge branch 'master' into master
2021-03-07 23:25:43 -08:00
Kevin Hester
707ed75138
fix warnings found in nrf52 build
2021-03-08 15:20:43 +08:00
Kevin Hester
c0e180759d
improve debugging on cortex m
2021-03-08 15:20:29 +08:00
Kevin Hester
d014ae0bff
fix ls_sleeps communication to device clients
2021-03-07 09:51:17 +08:00
Kevin Hester
64bc791e48
fix docs
2021-03-07 09:34:29 +08:00
Kevin Hester
1f33506962
Add RU region
2021-03-06 21:10:36 +08:00
Kevin Hester
ba9a94d026
fix is_low_power detection
2021-03-06 18:00:20 +08:00
Kevin Hester
6f13966d19
fix missing acks for broadcasts
2021-03-06 17:48:35 +08:00
Kevin Hester
96cfad4e57
less logspam
2021-03-06 14:52:26 +08:00
Kevin Hester
49b1f4c5af
oops - fix failed text message rx
2021-03-06 14:21:20 +08:00
Kevin Hester
aa6b29a4b5
fix from address on naks
2021-03-06 11:19:52 +08:00
Kevin Hester
c88b9732eb
REALLY IMPORTANT: fix bug with retransmissions not happening
2021-03-06 11:13:33 +08:00
Kevin Hester
2c29e8b179
make nodeinfo & position plugins optional
2021-03-06 10:36:30 +08:00
Kevin Hester
d2d6b8e12f
fix log formatting
2021-03-06 10:27:48 +08:00
Kevin Hester
badfaa8545
make error message clearer for packets that are too big
2021-03-06 10:27:31 +08:00
Kevin Hester
c9c44a934d
don't generate acks for locally sourced msgs
2021-03-05 12:39:31 +08:00
Kevin Hester
8739469db3
oops typo
2021-03-05 11:49:37 +08:00
Kevin Hester
0c0c0babba
combine acks works
2021-03-05 11:44:45 +08:00
Kevin Hester
950b32232f
don't send messages the phone sent us back towards the phone
2021-03-05 10:19:27 +08:00
Kevin Hester
2cc2fa906a
Merge branch 'master' into improvements_to_env_plugin
2021-03-04 20:06:27 +08:00
Kevin Hester
955d03acb1
fix symbol conflict with new nrf52 libs
2021-03-04 11:28:50 +08:00
Charles Crossan
1b71a0f436
refactor ENV to single multi-inheritance class with cleaner user preferences
...
Fix merge issues
don't log when drawing blank frames
remove useless logging
re-comment stuff
fix comment
unused var
2021-03-03 20:30:20 -05:00
Charles Crossan
2af9e1431e
Improvements to EnvironmentalMeasurementPlugin
...
Instead of holding onto only the last measurement, hold onto a copy of the last MeshPacket containing a measurement
This will make it easier to display the last time received
make DHT sensor reads more reliable
user preference for Farenheit vs Celsius
2021-03-03 08:23:03 -05:00
Jm Casler
ee04d57a7f
Merge pull request #73 from meshtastic/master
...
pulling 1.2 into my fork
2021-03-02 20:46:21 -08:00
Kevin Hester
92e05bc438
release to devs
2021-03-03 11:46:09 +08:00
Kevin Hester
082101f99f
wire compat
2021-03-02 12:44:48 +08:00
Kevin Hester
f6761d637f
proto update
2021-03-02 11:46:00 +08:00
Jm
2cf704abe0
Crashes after 7 seconds.
2021-02-28 19:35:00 -08:00
Kevin Hester
ef612d0b58
Merge remote-tracking branch 'root/master' into dev1.2
...
# Conflicts:
# src/plugins/Plugins.cpp
# version.properties
2021-03-01 10:26:16 +08:00
Jm Casler
52d85c9a41
Partial work from laptop -- non-routers can send a heartbeat
2021-02-27 22:34:53 -08:00
Kevin Hester
fb47c3a03d
move channel and settings protos
2021-02-27 13:17:18 +08:00
Kevin Hester
63e0b53054
1 index channel index
2021-02-27 09:17:58 +08:00
Kevin Hester
989f52494d
clean up ack packets
2021-02-26 20:36:22 +08:00
Kevin Hester
0307e4161e
get settings message works
2021-02-26 20:10:41 +08:00
Kevin Hester
c7c8b34adf
impl get channels/get radio remote api
2021-02-26 15:34:00 +08:00
Jm
5f041ea7e9
Update Plugins.cpp
2021-02-25 08:14:07 -08:00
Jm Casler
14271be816
Rename src/plugins/StoreForwardPlugin.h to src/plugins/esp32/StoreForwardPlugin.h
2021-02-25 08:12:57 -08:00
Jm Casler
30d600040b
Rename src/plugins/StoreForwardPlugin.cpp to src/plugins/esp32/StoreForwardPlugin.cpp
2021-02-25 08:12:30 -08:00
Jm Casler
10dd2337fc
Merge branch 'master' into master
2021-02-25 08:04:41 -08:00
Kevin Hester
5ae4edf8fd
move admin out of core proto
2021-02-25 20:36:37 +08:00
Kevin Hester
8ba43e1745
merge latest from master
2021-02-25 20:02:32 +08:00
Kevin Hester
e4eb7ab589
Merge branch 'dev' into dev1.2
...
# Conflicts:
# proto
# src/mesh/generated/deviceonly.pb.h
# src/mesh/generated/mesh.pb.h
# src/plugins/esp32/EnvironmentalMeasurementPlugin.cpp
2021-02-25 19:44:08 +08:00
Kevin Hester
b052928af2
Merge remote-tracking branch 'root/master' into dev
2021-02-25 19:33:06 +08:00
Jm Casler
0fe046b92d
Merge pull request #72 from meshtastic/master
...
Update from head
2021-02-24 20:27:58 -08:00
Jm
fd6842cb5b
Partial Work, stable build.
2021-02-24 20:27:21 -08:00
Kevin Hester
66638655a5
Merge branch 'dev' into dev1.2
...
# Conflicts:
# src/mesh/NodeDB.cpp
2021-02-25 08:56:36 +08:00
Kevin Hester
2d214df76f
Merge remote-tracking branch 'root/master' into dev
2021-02-25 08:52:26 +08:00
Kevin Hester
b2c47a7dea
fix #710 . nodes disappearing from map. thanks @DylanHoen for noticing!
2021-02-25 08:50:46 +08:00
Kevin Hester
ada05a1374
fix linux
2021-02-23 16:56:28 +08:00
Kevin Hester
f8d8dc25c0
properly route messages to phone again
2021-02-23 14:35:34 +08:00
Jm
256ba8fa1b
partial work, untested
2021-02-22 20:07:19 -08:00
Kevin Hester
aa8b86c6b2
multichannel send/rx kinda works
2021-02-23 11:43:30 +08:00
Kevin Hester
ae6b7e7259
multichannel code is done! (only basic testing completed though)
2021-02-23 10:45:03 +08:00
Kevin Hester
2761c85564
clean up the crypto api
2021-02-23 10:10:35 +08:00
Charles Crossan
ec41c11e58
initialize the last measurement values to something obviously "unread"
2021-02-22 21:00:41 -05:00
Charles Crossan
3a91da5e52
remove UI render comment log spam
2021-02-22 21:00:05 -05:00
Charles Crossan
690b843678
add missing newline
2021-02-22 20:52:10 -05:00
Charles Crossan
3f1ada29ac
support independently enabling/disabling the on-device screen and actual measurement
2021-02-22 20:47:35 -05:00
Charles Crossan
0c9df6ccbd
disable the app by default
2021-02-22 20:33:42 -05:00
Charles Crossan
b62b01fe7c
consume the additional details from OLEDDisplayUiState to handle transitions to/from plugin screens better
...
It's still a bit janky, but should work
https://github.com/meshtastic/esp8266-oled-ssd1306/pull/2
2021-02-22 20:18:36 -05:00
Charles Crossan
efaf669479
update Environmental Measurement plugin to use radio config prefs
2021-02-22 19:50:51 -05:00
Kevin Hester
94cd96cfde
begin multichannel hash impl
2021-02-22 12:57:26 +08:00
Jm Casler
d5cb7ebf3b
check in partial work.
2021-02-21 20:15:31 -08:00
Kevin Hester
d6c2e9063a
1.2 channel cleanup
2021-02-22 11:16:38 +08:00
Kevin Hester
3088fe3f91
Stay up-to-date wrt master (cc @mc-hamster)
...
# Conflicts:
# src/plugins/Plugins.cpp
# src/plugins/RangeTestPlugin.cpp
# src/plugins/StoreForwardPlugin.cpp
2021-02-22 10:39:46 +08:00
Kevin Hester
008187caa4
1.2 wip - psk work
2021-02-22 10:26:11 +08:00
Charles Crossan
6dffaae72e
fix typo
2021-02-21 16:49:35 -05:00
Charles Crossan
ae76ce4024
Implement interface for plugins to have custom UI Frames
2021-02-21 16:46:46 -05:00
Charles Crossan
087945d7cb
udpate protobufs
2021-02-21 12:05:23 -05:00
Charles Crossan
fc72d16bcb
Disable the plugin by default
2021-02-21 11:48:32 -05:00
Charles Crossan
5817afd4ac
fix port number for ENVIRONMENTAL_MEASUREMENT_APP
2021-02-21 11:42:03 -05:00
Charles Crossan
765a6fcc62
Display received measurements in logs and on screen
2021-02-21 11:39:45 -05:00
Charles Crossan
0b20c46b79
standardize log line beginnings
2021-02-21 11:39:20 -05:00
Charles Crossan
27f74382aa
Fix CI build for non-esp32 devices
2021-02-21 11:09:58 -05:00
Charles Crossan
77961e8e93
Un-derp testing details
2021-02-21 11:00:58 -05:00
Charles Crossan
3c564796e0
2021-02-21 10:55:33 -05:00
Jm
a4e5c7224f
Add sawNodeReport to storeforwardplugin
2021-02-20 23:53:53 -08:00
Jm
7ffe601743
Changes to how airtime noise is gathered.
2021-02-20 23:53:17 -08:00
Kevin Hester
c6091338ab
admin ops
2021-02-21 14:03:44 +08:00
Kevin Hester
99467cd874
1.2 WIP at least doesn't crash
2021-02-21 12:59:47 +08:00
Jm
ca40cb4be3
Update RangeTestPlugin.cpp
2021-02-20 00:43:56 -08:00
Jm
e4141df0e9
#697 GPIO 12 is an odd pin.
2021-02-20 00:34:25 -08:00
Jm
c690f81574
#697 Disable internal pullup on this board.
2021-02-19 18:19:14 -08:00
Jm
47b942ca00
#697 - Fixed button selection for tlora v2 1.6
2021-02-19 17:46:15 -08:00
Jm
621313d63c
#701 - Add system up time to debug output
2021-02-19 16:58:52 -08:00
Kevin Hester
69a11e7375
WIP phone api changes for dev1.2
2021-02-17 19:04:41 +08:00
Kevin Hester
f064e56dc9
fix esp32 build for dev1.2
2021-02-17 16:17:46 +08:00
Kevin Hester
42ae27973e
WIP 1.2 move routing into plugin
2021-02-17 13:06:23 +08:00
Jm
e840465ef3
fix for failed builds on nrf and linux
2021-02-16 18:46:16 -08:00
Jm Casler
f24e8e5f5c
Rename src/plugins/RangeTestPlugin.h to src/plugins/esp32/RangeTestPlugin.h
2021-02-16 18:36:58 -08:00
Jm Casler
6376ab51f1
Moving to plugins/esp32
2021-02-16 18:36:30 -08:00
Kevin Hester
205282c4bc
show hwvendor at boot
2021-02-17 10:08:33 +08:00
Jm
a4fd74b58e
Update Plugins.cpp
2021-02-16 18:07:02 -08:00
Jm Casler
25072f0637
Merge branch 'master' into master
2021-02-16 17:44:17 -08:00
Jm
937955b36d
Updating range test and storeforward.
2021-02-16 17:42:46 -08:00
Kevin Hester
45caf394f0
WIP multichannel support
2021-02-16 15:41:52 +08:00
geoffreyheller
c8584d576a
Fix for non-working tx pin
2021-02-15 19:33:35 -08:00
Charles Crossan
05d237ee84
add handleSetChannel
2021-02-15 21:02:30 -05:00
Jm
9a044f31a3
Tweak to the startup condition of the range test plugin.
2021-02-15 09:11:28 -08:00
Jm
8320754b98
Added recommended settings as a sender
2021-02-14 21:45:26 -08:00
Jm
703ce2e292
Keep device from sleeping while transmitting in range test plugin.
2021-02-14 21:34:47 -08:00
Jm
e6605e5ac8
Store Forward can see All(?) rx packets!
2021-02-14 20:13:52 -08:00
Jm Casler
2472d6fd1b
Merge pull request #70 from meshtastic/master
...
pull from main
2021-02-14 18:40:38 -08:00
Jm
3311146aba
Turning storeforward back on for @geeksville
2021-02-14 16:19:06 -08:00
Jm
b8adaf6fbe
#671 Range test plugin
2021-02-14 16:17:40 -08:00
Jm
24329a26de
Framework for storeforward
2021-02-14 14:01:08 -08:00
Jm
f1a65f9d0e
Update to store and forward. Don't merge this to main!
2021-02-14 13:31:11 -08:00
Jm Casler
3201d1c3bc
#668 Partial work for store & forward
2021-02-14 08:44:49 -08:00