Ben Meadors
950d5defda
Master to develop (resolves conflicts) ( #1903 )
...
* Rearranging deck chairs, 900M22S working, 30S not
* We do have wire, just not where it's expected
* Put more of the module specific pins in their blocks
* tryfix compile with NO_SCREEN
* Portduino only: don't continue to try rebooting (#1887 )
Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com>
* Support for TLORA 2.1-1.8
* Don't allow arbitrary channel name for admin (#1886 )
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
* Experimental DIY nrf52840 feather support (#1884 )
* Experimental DIY nrf52840 feather support
* Fix target
* sx1262 wiring
* Remove lib
* Don't consider Response as ACK for FloodingRouter (#1885 )
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
* Fix feather diy (#1892 )
* Fix variant
* Fix feather diy target
* [modules][external notifications] allow select channel to listen to
* Fix feather diy pin mapping (#1894 )
Thanks to @markbirss
* [create-pull-request] automated change
* Override Screen Autodtect
* Maybe fix crash of this board.
* Fixes reset loop with new espressif32 platform on tlora-v2
Sending a pulse to the OLED_RESET Pin 16 results in a reset loop using recent version of the espressif32 platform.
* Experiment with self hosted action runner
* Fix MQTT on ETH
* revert the tryfix
* Cheating
* Cleanup artifacts older than 1 month
* Update cleanup_artifacts.yml
* Update cleanup_artifacts.yml
* Update cleanup_artifacts.yml
* Delete cleanup_artifacts.yml
* fix: use RF95_IRQ for wakeup source in doLightSleep (#1899 )
Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com>
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
* Update protos
* Update protos
Co-authored-by: code8buster <communismisgreat@national.shitposting.agency>
Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com>
Co-authored-by: GUVWAF <78759985+GUVWAF@users.noreply.github.com>
Co-authored-by: Mykhailo Lesyk <m@lesyk.org>
Co-authored-by: Mykhailo Lesyk <lesykm@users.noreply.github.com>
Co-authored-by: caveman99 <caveman99@users.noreply.github.com>
Co-authored-by: he-leon <he-leon@users.noreply.github.com>
Co-authored-by: Lars Weber <weber@weber-software.com>
2022-11-05 09:28:41 -05:00
Sacha Weatherstone
7aaca3d486
Merge branch 'master' into pref_defaults
2022-09-10 18:11:16 +10:00
Thomas Göttgens
f7b12f0695
Adapt to new protobufs - TODO: factory_reset rewire
2022-09-09 12:51:41 +02:00
Sacha Weatherstone
1b25ea714d
Set config.lora.hop_limit
to HOP_RELIABLE
2022-08-27 19:03:26 +10:00
majbthrd
ade32b1827
lay groundwork for a possible future architecture ( #1571 )
...
* lay groundwork for a possible future architecture
* switch from feature opt-out to feature opt-in
* lay groundwork for a possible future architecture
* switch from feature opt-out to feature opt-in
* fix USE_RTC in variant.h for rak4631_epaper and t-echo
* ensure Screen.h is not included without configuration.h
Co-authored-by: Peter Lawrence <12226419+majbthrd@users.noreply.github.com>
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2022-07-31 07:11:47 -05:00
Jm Casler
f3c15eb6cc
Completed compression. Tested between two devices.
2022-05-24 17:42:46 -07:00
Jm Casler
94f7e7037d
Merge branch 'compression' into new-compression
2022-05-23 21:18:45 -07:00
Thomas Göttgens
6bb3861e95
Moduleconfig also changed to localConfig Model.
2022-05-22 13:27:56 +02:00
Thomas Göttgens
53e9f4df46
Segemented config works for me (TM)
...
Small GPS Fix that cropped up while testing included.
2022-05-21 22:38:33 +02:00
Sacha Weatherstone
6b0ce6b729
Finish config transition
2022-05-07 20:31:21 +10:00
Jm Casler
4785367915
Temp work on compression
2022-04-25 08:02:51 -07:00
Jm Casler
6fe9f0b42f
Disable compression / decompression (for testing)
2022-04-18 17:00:36 -07:00
Jm Casler
7e977aea00
Add welcome screen feature toggle
2022-04-13 21:59:25 -07:00
Jm Casler
ecc114f1cd
temp work on compression
2022-04-13 19:23:35 -07:00
Jm Casler
a4bdef4151
compression WIP
...
compression works. next is to store it in the proto as a oneof and then decompress it on use.
2022-04-11 22:12:04 -07:00
Jm Casler
478274aff1
Beginning of compression
2022-04-11 20:09:48 -07:00
Sacha Weatherstone
6bee95d6b2
Rename MeshPlugin, SinglePortPlugin and ProtobufPlugin
2022-03-09 19:01:43 +11:00
Mike Kinney
c1613de426
merge the 1.2 hang bugfix to 1.3
2022-03-03 04:27:49 +00:00
Jm Casler
e53abbfb2b
more rename plugin to module
2022-02-27 02:21:02 -08:00
Jm Casler
3a04a0ee7a
"plugin(s)" renamed to "module(s)" in comments and debug
2022-02-27 00:29:05 -08:00
Jm Casler
86e767eec2
Update filenames from plugins to modules
2022-02-27 00:18:35 -08:00
Jm Casler
218a208ab7
mv plugins/ to modules/
2022-02-26 23:56:26 -08:00
joshpirihi
dc7f376778
Correct a comment
2022-01-29 06:40:17 +13:00
Joshua Pirihi
ff2cad9cac
Allow publishing of decrypted mqtt packets
2022-01-29 06:06:49 +13:00
Joshua Pirihi
b781fb613c
Allow publishing of decrypted mqtt packets
2022-01-29 06:03:48 +13:00
Jm Casler
d7a1b9fd62
Allow hop_limit to be configured
...
https://github.com/meshtastic/Meshtastic-device/issues/1007
2021-12-18 16:21:12 -05: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
da9dd62a33
add the user as distinct message source
2021-10-27 13:16:51 +00:00
a-f-G-U-C
5eb2e6401f
issue 879 - changes to Router.cpp
2021-10-09 13:54:42 +00:00
Kevin Hester
17a1262382
pull in new epaper lib (which required importing configuration.h everywhere
...
for dumb reasons)
2021-06-27 10:56:28 -07:00
Kevin Hester
7abc3534c4
fix build for !wifi devices
2021-04-05 13:00:56 +08:00
Kevin Hester
a845406a19
cleanup packet encrypt/descrypt
2021-04-05 09:24:00 +08:00
Kevin Hester
3cd64bb8b5
allow passing even encrypted packets through the plugins
2021-04-05 08:44:47 +08:00
Kevin Hester
d19af8b83d
mqtt: send packets after they are encrypted
2021-04-04 09:20:37 +08:00
Kevin Hester
525fe9b96c
dramatically speed up message RX in some cases (we were sleeping much too long)
2021-03-28 12:16:37 +08:00
Kevin Hester
78c665abb9
properly discard messages with fromradio queue is full (Rather than blocking forever)
2021-03-24 13:25:10 +08:00
Kevin Hester
b02212009a
progress on remote settings
2021-03-12 14:10:36 +08:00
Kevin Hester
49b1f4c5af
oops - fix failed text message rx
2021-03-06 14:21:20 +08:00
Kevin Hester
c88b9732eb
REALLY IMPORTANT: fix bug with retransmissions not happening
2021-03-06 11:13:33 +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
f8d8dc25c0
properly route messages to phone again
2021-02-23 14:35:34 +08:00
Kevin Hester
ae6b7e7259
multichannel code is done! (only basic testing completed though)
2021-02-23 10:45:03 +08:00
Kevin Hester
94cd96cfde
begin multichannel hash impl
2021-02-22 12:57:26 +08:00
Kevin Hester
99467cd874
1.2 WIP at least doesn't crash
2021-02-21 12:59:47 +08:00
Kevin Hester
69a11e7375
WIP phone api changes for dev1.2
2021-02-17 19:04:41 +08:00
Kevin Hester
42ae27973e
WIP 1.2 move routing into plugin
2021-02-17 13:06:23 +08:00
Kevin Hester
45caf394f0
WIP multichannel support
2021-02-16 15:41:52 +08:00
Kevin Hester
2ff5046dcd
for #681 , add MeshPacketQueue (a priority queue) to ensure acks get sent quickly
2021-02-12 09:08:49 +08:00
Kevin Hester
917090856f
partial for #681 : Never let stale nodeinfos/positions stay in xmit queue
2021-02-11 18:19:43 +08:00
Kevin Hester
fdfe62edf0
updates to work with new protobuf names
2021-02-10 16:18:41 +08:00
Kevin Hester
486b03e985
bug 677. Don't assert fail for missing interfaces, instead return
...
nak packet to clients.
2021-02-07 10:26:11 +08:00
Kevin Hester
0cdc1fc959
make gpiowatch work correctly
2020-12-13 16:11:38 +08:00
Kevin Hester
49b4ed2a89
coroutine: kinda works now
2020-10-10 18:03:45 +08:00
Kevin Hester
2044427e97
coroutines: wip compiles but does not link
2020-10-09 14:16:51 +08:00
Kevin Hester
4a70ba1f7a
fix nodeinfo stored times (I think) for @lgoix
2020-10-09 10:01:13 +08:00
Kevin Hester
f00d07baa3
RTC: pull rtc code into own file for cleanup
2020-10-08 07:28:57 +08:00
geeksville
dc54e7331f
memory is tight on the nrf52832 board (for now) - so don't allocate too much
2020-07-10 13:52:26 -07:00
geeksville
463666aec5
oops - can't call DEBUG_MSG this early on ESP32
2020-06-17 16:04:37 -07:00
geeksville
03f019dea2
memory size debugging
2020-06-16 19:55:14 -07:00
geeksville
aadba1f694
add printPacket for debug printing packets
2020-06-14 15:30:42 -07:00
geeksville
8caa075bc6
used fixed pool allocator for now - since that's how we've been testing
2020-06-13 11:05:36 -07:00
geeksville
f54b18f733
each tx packet might have a retransmission/ack copy, make pool bigger
2020-06-13 08:27:44 -07:00
geeksville
f0b8f10665
Fix #149 : Use a simple heap allocator for now, after 1.0 we can go to
...
fixed sized pools to protect against fragmentation.
2020-06-12 12:11:18 -07:00
geeksville
88b91de197
Prepare to make MemoryDynamic
2020-06-12 11:56:13 -07:00
geeksville
e124d2094f
PROTOCOL CHANGE! activate 32 bit nodenums/packetids
2020-06-06 13:16:36 -07:00
geeksville
5b1488ddf0
Allow packet and nodenums to be 32 bits long (but don't change yet)
2020-06-03 13:46:31 -07:00
geeksville
a34cfb0ee0
Populate metainfo for apps to allow 32 bit node and packet ids
2020-06-03 13:15:45 -07:00
geeksville
2770cc7de3
Use the SX1262 receive duty cycle mode to get radio current draw down to
...
about 2.5mA @ 3V while in receive mode.
2020-05-24 19:23:50 -07:00
geeksville
8f1b26bdda
DSR wip still kinda busted (rx packets not working - even for regular router)
2020-05-24 12:59:10 -07:00
geeksville
5bd3e4bcd0
DSR WIP
2020-05-23 17:39:08 -07:00
geeksville
fb3b62f8f0
CSR WIP
2020-05-23 15:48:23 -07:00
geeksville
16812c3ee4
add ignore_incoming to user preferences, for automated testing of DSR topologies
2020-05-23 10:01:36 -07:00
geeksville
c9cb293bf2
cleanup virtual inheritence for Router/Reliable/Flooding/DSR
2020-05-23 09:24:22 -07:00
geeksville
9dd88281af
reliable broadcast now works
2020-05-21 16:34:16 -07:00
geeksville
0271df0657
add beginnings of full DSR routing
2020-05-21 12:47:08 -07:00
geeksville
8bf4919576
wip reliable unicast (1 hop)
2020-05-19 11:56:17 -07:00
geeksville
976bdad067
sniffReceived now allows router to inspect packets not destined for this node
2020-05-18 17:57:58 -07:00
geeksville
3e356e5866
Crypto works!
2020-05-09 19:08:04 -07:00
geeksville
1cc24de787
stub encryptor seems nicely backwards compatible with old devices and apps
2020-05-09 17:51:20 -07:00
geeksville
933d5424da
abstract out the UBlox GPS driver
2020-05-04 11:15:05 -07:00
geeksville
80268ea56a
send() is supposed to always free buffers, even if it returns an error
2020-05-02 19:51:55 -07:00
geeksville
2ad314f150
we now always listen before transmit - even if we have just completed a packet
2020-05-02 08:29:51 -07:00
geeksville
50213d8323
move packet handling into its own thread
2020-05-01 12:11:04 -07:00
geeksville
71fcdba017
cleanup directory structure
2020-05-01 09:04:00 -07:00