Shiv Kokroo
930b023d10
Allow up to 500mW transmission power for EU868 region
...
The European Union regulations clearly state that the power limit for this frequency range is 500 mW, or 27 dBm. goTenna Mesh uses the same frequency range and power limit too.
It also states that we can use interference avoidance and spectrum access techniques to avoid a duty cycle.
It might be worthwhile in the future to implement frequency hopping to avoid duty cycling.
(Please refer to page 69 in the following document)
https://ec.europa.eu/growth/tools-databases/tris/index.cfm/ro/search/?trisaction=search.detail&year=2021&num=528&dLang=EN
2022-07-15 16:06:41 +02:00
Ben Meadors
1efcd5e125
Merge branch 'master' into master
2022-07-02 14:44:40 -05:00
Ben Meadors
9fd7abf3d4
Actually save nodeDb after we init ( #1546 )
2022-07-02 10:16:48 -05:00
Ben Meadors
4a08f86f96
Oops ( #1545 )
2022-07-02 09:25:01 -05:00
Ben Meadors
3f0ff45232
Node db cleanup and debug prints ( #1543 )
...
* Node db cleanup and debug prints
* File name cleanup
2022-07-02 09:09:41 -05:00
Ben Meadors
9c6da233b9
Phoneapi moduleconfig ( #1538 )
2022-06-29 19:41:43 -05:00
github-actions[bot]
0f2aa7660d
[create-pull-request] automated change ( #1537 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com>
2022-06-29 19:09:38 -05:00
Jm Casler
004a6f9c25
Merge branch 'master' into master
2022-06-25 22:59:58 -07:00
Jm Casler
d81b043f1d
Add ability to adjust frequency by config.lora.frequency_offset
2022-06-25 22:43:13 -07:00
Thomas Göttgens
e7dfd14917
Change recursive delete to be recursive
2022-06-22 15:33:53 +02:00
Thomas Göttgens
aead7a23f9
- Put Modemconfig in logical order and fix typo
...
- non-zero config.lora.bandwidth means a custom radio config, not 'Unknown'
- Enable 'this is a new device, set region' screen again now we can actually set region.
2022-06-22 09:52:08 +02:00
Jm Casler
46e13d23d9
Add debug to monitor radio reconfiguration for #1014 -
2022-06-21 21:51:45 -07:00
Jm Casler
90baf9d8a0
Fix typo in the modem presets
2022-06-21 19:23:07 -07:00
mc-hamster
e0f912ab2a
[create-pull-request] automated change
2022-06-22 02:06:51 +00:00
Ben Meadors
7a50ab4de2
Re-init config_state after we switch to nodeinfo ( #1526 )
2022-06-20 13:28:50 -05:00
Ben Meadors
f9bbbfccb3
Fix typo
2022-06-18 14:03:58 -05:00
Ben Meadors
52f299ec49
Remove is_always_pwoered ( #1525 )
2022-06-17 13:35:12 -05:00
Ben Meadors
9285316c78
Upgrade to nanopb 0.4.6 ( #1523 )
2022-06-17 08:37:52 -05:00
Thomas Göttgens
68465f294a
Merge branch 'master' into LocalConfig
2022-06-16 21:59:55 +02:00
Thomas Göttgens
f63b876b71
Send config chunks one by one
2022-06-16 21:56:18 +02:00
caveman99
d4a4bcf91a
[create-pull-request] automated change
2022-06-16 19:31:21 +00:00
Thomas Göttgens
bc9a4367d1
Fix #1510
2022-06-16 20:58:15 +02:00
Ben Meadors
f3a433f906
Merge branch 'master' into LocalConfig
2022-06-16 08:10:20 -05:00
Thomas Göttgens
b40abbf3ad
Tryfix Portduino Radiolib
2022-06-16 12:22:01 +02:00
Thomas Göttgens
49e47f3e6d
Let's try this
2022-06-15 21:50:33 +02:00
Thomas Göttgens
d0a8a3018d
Merge branch 'LocalConfig' of github.com:meshtastic/Meshtastic-device
2022-06-15 20:03:53 +02:00
Thomas Göttgens
7566ee1fea
C++ is a weird language...
2022-06-15 20:03:08 +02:00
Thomas Göttgens
43d48d4fb9
Merge branch 'master' into LocalConfig
2022-06-15 19:43:47 +02:00
Thomas Göttgens
0146761850
TEST - Push of LocalConfig
2022-06-15 19:42:16 +02:00
caveman99
0943e5f500
[create-pull-request] automated change
2022-06-15 17:40:08 +00:00
Thomas Göttgens
125f76d984
Don't use rmdir_r but roll our own version.
2022-06-15 17:52:37 +02:00
Thomas Göttgens
b127479961
- Refactored factory reset a bit to not installDefaultDeviceState twice on ESP32
...
- clear BLE bonds on settings version increase
2022-06-15 17:09:42 +02:00
Thomas Göttgens
d18aa2e7cb
add file version to local savefiles
2022-06-15 16:52:04 +02:00
caveman99
058b5ceddd
[create-pull-request] automated change
2022-06-15 14:44:33 +00:00
Thomas Göttgens
4a6cad6e46
Set TX Power to some meaningful value
2022-06-13 23:00:50 +02:00
Thomas Göttgens
6b8afdadc2
New variant of Radiolib patch
2022-06-13 16:10:16 +02:00
GUVWAF
a1b07ed6aa
Introduce contention window (CW) ( #1500 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2022-06-13 08:21:18 -05:00
Ben Meadors
553b35d0ad
Consolidate power saving prefs ( #1507 )
...
* Fixed conversion linter warning
* Power saving consolidation
* Whoops
2022-06-12 19:56:32 -05:00
Thomas Göttgens
7bd07db2a8
Remove nRF Crypt Debug
2022-06-12 23:35:59 +02:00
Thomas Göttgens
dc8d1d9a84
implement #1504
2022-06-12 21:52:46 +02:00
Ben Meadors
5106433572
Removed phone_timeout_secs pref references ( #1503 )
2022-06-12 09:44:23 -05:00
Ben Meadors
90957e6994
INA260 + INA219 sensor support ( #1501 )
...
* INA219 + INA260 support in telemetry
* Protobuf update
* Fixes + debug statement
* Fix size
* Fix conversion from mv
* Added getRegisterValue for i2cscan
2022-06-11 16:44:56 -05:00
Nerijus Bendžiūnas
e8e72d2e08
Compile when FSCom is not defined (NodeDB.cpp)
2022-06-07 20:55:05 +03:00
Thomas Göttgens
df9e9bc223
Bugfix for nRF Crypto 90% done, includes heavy debug code, do not merge for now.
2022-06-04 10:37:24 +02:00
Thomas Göttgens
1ff0032c20
Merge branch 'master' of github.com:meshtastic/Meshtastic-device
2022-06-04 10:35:42 +02:00
mc-hamster
2e1b895791
[create-pull-request] automated change
2022-06-04 01:47:29 +00:00
Thomas Göttgens
0b666b827d
Merge branch 'master' of github.com:meshtastic/Meshtastic-device
2022-06-03 15:38:50 +02:00
mc-hamster
5aef58e87f
[create-pull-request] automated change
2022-06-03 01:07:08 +00:00
Thomas Göttgens
e8afd4fb4b
If we get an unreadable buffer, don't try to process it.
2022-06-01 17:09:57 +02:00
Thomas Göttgens
f6982ca726
fix building with new peotobuf structure.
2022-05-30 21:12:27 +02:00
caveman99
03bbc5eff4
[create-pull-request] automated change
2022-05-30 19:00:01 +00:00
Ben Meadors
0767c0b0e8
Converted to jgromes/RadioLib upstream and pegged to latest ref ( #1472 )
...
* Converted to jgromes/RadioLib upstream and pegged to latest ref
2022-05-29 19:30:20 -05:00
mc-hamster
1b8830e7df
[create-pull-request] automated change
2022-05-27 19:19:57 +00:00
Jm Casler
c5f3cad0f9
Fixed missing brackets
2022-05-24 18:06:53 -07:00
Jm Casler
f3c15eb6cc
Completed compression. Tested between two devices.
2022-05-24 17:42:46 -07:00
Jm Casler
e218bba87e
Merge branch 'meshtastic:master' into compression
2022-05-24 16:48:28 -07:00
Thomas Göttgens
03affc9e73
Merge branch 'master' into create-pull-request/patch
2022-05-24 10:54:38 +02:00
Jm Casler
76ef240a3d
Merge branch 'master' into LocalConfig
2022-05-24 00:21:46 -07:00
Jm Casler
dca6c27c9d
Update from config.payloadVariant to config.wifi
2022-05-23 22:08:33 -07:00
Jm Casler
2631a9324e
Update from radioConfig.preferences to config.lora
2022-05-23 22:06:38 -07:00
Jm Casler
94f7e7037d
Merge branch 'compression' into new-compression
2022-05-23 21:18:45 -07:00
mc-hamster
a0b4b4efa1
[create-pull-request] automated change
2022-05-24 04:10:51 +00:00
Ben Meadors
d68d85590b
Merge branch 'master' into master
2022-05-22 07:50:32 -05:00
Thomas Göttgens
800a4200ef
make sure all segments are enabled and saved
2022-05-22 13:54:24 +02:00
Thomas Göttgens
6bb3861e95
Moduleconfig also changed to localConfig Model.
2022-05-22 13:27:56 +02:00
Thomas Göttgens
e8262540d4
Merge branch 'master' of github.com:meshtastic/Meshtastic-device
2022-05-22 13:06:08 +02:00
Thomas Göttgens
2b6f632a50
Merge branch 'master' into master
2022-05-22 13:03:13 +02:00
caveman99
c4f69cbcc0
[create-pull-request] automated change
2022-05-22 10:59:47 +00:00
Thomas Göttgens
85f5c7a40b
Merge branch 'master' of github.com:meshtastic/Meshtastic-device
2022-05-22 12:17:09 +02:00
LucyHosking
e0c5e4d441
Implemented hidden SSID
...
https://github.com/meshtastic/Meshtastic-device/issues/1308
2022-05-21 20:10:36 -07:00
mc-hamster
2e45d4f0fd
[create-pull-request] automated change
2022-05-22 00:44:37 +00: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
caveman99
e4484270b1
[create-pull-request] automated change
2022-05-21 19:46:36 +00:00
Sacha Weatherstone
3ed9a05ac6
Update max channels in protos & remove batt_lvl from position flags
2022-05-13 10:30:01 +10:00
Sacha Weatherstone
3b4c8ad0e2
fix max message sizes for unused protobufs
2022-05-12 23:12:37 +10:00
Sacha Weatherstone
d9e2e09149
Fix NTP server initialization
2022-05-12 23:05:06 +10:00
Sacha Weatherstone
97713b2daa
Increased NTP update frequency to 12 hours
2022-05-12 22:45:27 +10:00
Sacha Weatherstone
7799e1b7e6
Increased NTP update frequency to 1024 seconds
2022-05-12 22:06:36 +10:00
Sacha Weatherstone
38913bb661
Consistency fixes & repo cleanup
2022-05-12 20:45:30 +10:00
Sacha Weatherstone
2035ddf5a9
Add ntp server config option, remove old region logic
2022-05-11 18:30:29 +10:00
caveman99
f26fb9408e
[create-pull-request] automated change
2022-05-10 08:20:52 +00:00
Sacha Weatherstone
8b42b78033
Merge branch 'master' into master
2022-05-08 00:23:18 +10:00
GUVWAF
a7f4263db4
Optimize retransmission timer
...
Based on airtime of packet + transmit, processing and CAD delays
2022-05-07 15:43:35 +02:00
GUVWAF
348e78718d
Call cancelSending in stopRetransmission
...
This also removes pending packet from txQueue if it was already in there
2022-05-07 15:39:14 +02:00
Sacha Weatherstone
5e7b372345
Satisfy cppcheck
2022-05-07 20:36:15 +10:00
Sacha Weatherstone
6b0ce6b729
Finish config transition
2022-05-07 20:31:21 +10:00
Sacha Weatherstone
eb6dd6b53d
Merge branch 'master' of github.com:meshtastic/Meshtastic-device
2022-05-07 13:34:36 +10:00
Sacha Weatherstone
ea86f76393
Move LoRa config out of primary channel
2022-05-07 13:34:06 +10:00
Thomas Göttgens
b5cc304336
Make #define NO_SCREEN work again
2022-05-06 15:41:37 +02:00
Rockwell Schrock
5e109d9648
Fix typo in calculation of NUM_ONLINE_SECS constant ( #1436 )
...
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2022-05-05 13:46:39 -05:00
Sacha Weatherstone
f84286d138
Split config structure in two
2022-05-02 22:00:24 +10:00
Jm Casler
b980f3e311
Merge branch 'meshtastic:master' into compression
2022-05-01 21:02:07 -07:00
Sacha Weatherstone
399e053ebd
workaround for undefined payload type on phoneapi
2022-05-02 13:04:05 +10:00
Jm Casler
d6b20ea623
Merge branch 'meshtastic:master' into compression
2022-05-01 19:35:26 -07:00
Ben Meadors
caac2ecb83
Compute config size and account for reloadconfig ( #1428 )
...
* Compute config size and account for reloadconfig
* Reload config and config_size
2022-05-01 20:30:19 -05:00
Sacha Weatherstone
7ae8601ba5
fix warnings
2022-05-02 10:24:28 +10:00
Sacha Weatherstone
8f038ced15
add handleSetConfig, remove team
2022-05-02 08:53:44 +10:00
Sacha Weatherstone
3a1f20821e
Remove team and provision set_config
2022-05-02 08:35:31 +10:00
Ben Meadors
2ca0290662
Admin message implementation
2022-05-01 15:35:01 -05:00
Ben Meadors
163774bb1f
Moved refactored prefs
2022-05-01 14:26:05 -05:00
Sacha Weatherstone
c0d40895f8
Config rework - Init GetConfigResponse
2022-05-01 16:12:48 +10:00
Sacha Weatherstone
98cd19ea0f
Config rework - Init getConfig
2022-05-01 12:39:48 +10:00
Ben Meadors
53cc090814
Move sx1262 fixes upstream ( #1421 )
2022-04-29 07:46:44 -05:00
Ben Meadors
359b41d869
Position fwd phone ( #1413 )
...
* Correct factory reset code for NRF (from 1.2)
* Changes from 1.2
* Update proto ref
* Whoops
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2022-04-26 19:40:24 -05:00
Thomas Göttgens
701707a01b
- Bounds Check is working on big integers, don't throw away valid coordinates.
...
- Set ublox chips back to NMEA mode if they have been configured wrongly before.
2022-04-26 13:00:11 +02:00
Jm Casler
4785367915
Temp work on compression
2022-04-25 08:02:51 -07:00
Andre Kirchhoff
3c1407c7d2
bump minimum app version requirement to 1.3.0
2022-04-24 19:52:32 -03:00
Ben Meadors
98c8eaaaf0
Moved sender short name method into protobuf module ( #1398 )
...
* Moved sender short name method into protobuf module
* Correct factory reset code for NRF (from 1.2)
* Use the correct fs abstraction
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2022-04-24 16:12:25 -05:00
GUVWAF
a13157ebde
Rename setRandomDelay() function
2022-04-23 18:57:45 +02:00
GUVWAF
692278343b
Merge branch 'master' of https://github.com/GUVWAF/Meshtastic-device
2022-04-20 20:16:39 +02:00
GUVWAF
c60d4c1ecc
Implement listen-before-talk mechanism
...
- Function setRandomDelay() calls either startTransmitTimer() or startTransmitTimerSNR()
- After coming back from Rx/Tx-ing, call setRandomDelay()
- If channel is currently busy, call setRandomDelay()
2022-04-20 20:09:12 +02:00
GUVWAF
6d01f9aa89
Add isChannelActive() function to radio interface
2022-04-20 20:04:44 +02:00
GUVWAF
616c7d7b0e
Expose front() function in MeshPacketQueue
2022-04-20 19:58:52 +02:00
caveman99
b82bf5c729
[create-pull-request] automated change
2022-04-19 20:26:22 +00:00
Jm Casler
8c1a81c03a
Merge branch 'compression' into master
2022-04-18 17:02:45 -07:00
Jm Casler
6fe9f0b42f
Disable compression / decompression (for testing)
2022-04-18 17:00:36 -07:00
Thomas Göttgens
136e2e96f7
Remove References to Pre-1.2 Preffile
...
1.3+ need a clean install anyway, so no point migrating these any more.
2022-04-18 21:55:58 +02:00
Thomas Göttgens
748416d9e3
protobuf update
2022-04-18 18:27:17 +02:00
Jm Casler
5d7990667d
Max nodes to 64 and remove targz
2022-04-15 23:16:40 -07:00
Jm Casler
8124ecbfd8
Change to unishox library
2022-04-15 18:11:17 -07:00
Jm Casler
dc20cbb672
one more fix for cppcheck
2022-04-14 15:57:31 -07:00
Jm Casler
a10ea604af
Fixes for cppcheck errors
2022-04-14 15:51:48 -07:00
Jm Casler
fb1caa51d0
Merge branch 'meshtastic:master' into compression
2022-04-13 21:59:42 -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
Balázs Kelemen
b76424db50
Make Observer to be able to observe multiple Observables. ( #1234 )
...
* Make Observer to be able to observe multiple Observables.
* Fix Observer destructor cleanup.
Co-authored-by: Sacha Weatherstone <sachaw100@hotmail.com>
2022-04-14 08:43:06 +10:00
Jm Casler
b056081d3c
Merge branch 'meshtastic:master' into compression
2022-04-12 21:14:25 -07:00
Ben Meadors
794167c701
Removed phone sds timeout ( #1372 )
2022-04-12 08:04:24 -05: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
Jm Casler
69ed477040
Disable TX if region is unset
2022-04-09 22:42:43 -07:00
Ben Meadors
10a7071300
Remove send owner interval ( #1361 )
...
* NodeInfo slimfast
* Removed send_owner_interval
2022-04-06 08:03:44 -05:00
github-actions[bot]
279def7911
[create-pull-request] automated change ( #1356 )
...
Co-authored-by: thebentern <thebentern@users.noreply.github.com>
2022-04-05 11:31:13 -05:00
Michael Kleinhenz
998c90d326
Use JSON library for Web UI REST Endpoints ( #1340 )
...
* Updated rest endpoint json handling.
* Fixes, typos corrected.
Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
Co-authored-by: Sacha Weatherstone <sachaw100@hotmail.com>
2022-04-05 06:22:38 +10:00
neilhao
0c600363c8
add nano g1 ( #1351 )
...
* add nano g1
* Update platformio.ini
* Update configuration.h
* Revert platformio.ini to previous state
* Update configuration.h
* Update platformio.ini
Co-authored-by: Thomas Göttgens <tgoettgens@gmail.com>
2022-04-04 20:16:19 +10:00
Ben Meadors
07e2816703
Promote device metrics ( #1347 )
...
* NodeInfo slimfast
* Update
2022-04-01 18:35:18 -05:00
Thomas Göttgens
4e29984549
Slightly more verbose GPS debug logging
2022-03-31 18:52:40 +02:00
Jm Casler
e905f15a0f
Added new roles
2022-03-29 22:02:21 -07:00
Jm Casler
c1ec842454
bump node_db max_count to 80
2022-03-29 20:06:32 -07:00
Ben Meadors
ba2fa84ebd
Reworked metrics structure and split telemetry into device or environ… ( #1331 )
...
* Reworked metrics structure and split telemetry into device or environment
* Comment cleanup
2022-03-27 09:55:35 -05:00
Jm Casler
8bca0d94cd
Regen protos for serial baud & mode. Update serial_module to support new enums.
...
Regen protos for serial baud & mode. Update serial_module to support new enums.
2022-03-26 09:35:06 -07:00
Jm Casler
48fa2b6b9b
Regen protos with support for messaged waypoints
2022-03-26 07:48:35 -07:00
caveman99
3e8ca1f381
[create-pull-request] automated change
2022-03-25 10:40:54 +00:00
Ben Meadors
47524d58d7
Telemetry tweaks ( #1315 )
...
* Update protos
* Removed battery level from position packets
* Send internal metrics
* Handle telemetry on node info for now
* Fixes
* Default telemetry to enabled and same interval as position
* Fixes for lots of interval issues
* Fixed interval
* Regen
* Cleanup
* Newline
* Update proto ref
* Fixed missing metric and updated power level to uint
* Regen
2022-03-23 15:46:39 -05:00
Ben Meadors
e97bd4f9f9
Battery level / telemetry rework (first pass) ( #1306 )
...
* Update protos
* Removed battery level from position packets
* Send internal metrics
* Handle telemetry on node info for now
* Fixes
* Default telemetry to enabled and same interval as position
* Fixes for lots of interval issues
* Fixed interval
* Regen
* Cleanup
* Newline
* Update proto ref
2022-03-20 09:55:38 -05:00
Sacha Weatherstone
8adacba3a1
Respect loc_share_disabled
2022-03-20 16:12:55 +11:00
Sacha Weatherstone
e5e25c2f31
Use gps_disabled
2022-03-20 15:57:49 +11:00
Sacha Weatherstone
a530249503
Fix typo "Fahrenheit"
2022-03-20 14:15:32 +11:00
Sacha Weatherstone
285413c68c
Rename packetNum to packetId
2022-03-20 11:40:13 +11:00
Sacha Weatherstone
4cd1570543
make location_share a boolean
2022-03-20 11:01:49 +11:00
Mike Kinney
94c1286010
changed on 1.3
2022-03-17 19:32:34 +00:00
Mike Kinney
f2a4308497
remove /prefs for nrf factory reset
2022-03-17 19:10:58 +00:00
Thomas Göttgens
3e14f76a94
Merge branch 'master' into littlefs-fix
2022-03-16 08:44:23 +01:00
Thomas Göttgens
cb6846ebc6
fix PortduinoFS integration for Firmware.
2022-03-16 08:30:38 +01:00
Jm Casler
11130496c4
remove is_router in favor of role == Role_Router
2022-03-15 15:49:25 -07:00
Thomas Göttgens
e435453363
fix building for nRF52
2022-03-15 22:49:06 +01:00
Thomas Göttgens
697c749a8d
LittleFS recursive display and erase. Cause we got directories now, baby!
2022-03-15 22:22:05 +01:00
Jm Casler
1b1c3936a4
support for position_broadcast_smart_disabled
2022-03-14 18:09:11 -07:00
Jm Casler
3816a2fbe0
Add weighted tx delay for flooding router
2022-03-14 17:47:01 -07:00
Jm Casler
bb15a001f7
Merge branch 'meshtastic:master' into router
2022-03-14 16:59:09 -07:00
Mike Schiraldi
fc0eb7de46
Add semicolon
2022-03-14 12:40:57 -07:00
Mike Schiraldi
88d6850c82
Get side effects out of DEBUG_MSG
2022-03-14 12:31:13 -07:00
Jm Casler
82591b2a69
Remove more old router role work.
2022-03-13 14:50:27 -07:00
Jm Casler
cb4ca87abe
remove role from flooding router
2022-03-12 07:22:59 -08:00
Sacha Weatherstone
6bee95d6b2
Rename MeshPlugin, SinglePortPlugin and ProtobufPlugin
2022-03-09 19:01:43 +11:00
Sacha Weatherstone
46b8b61b7f
Fix Serial Plugin name
2022-03-09 18:37:41 +11:00
Jm Casler
2a2448e367
address tool-cppcheck error
2022-03-06 15:46:56 -08:00
Jm Casler
c1c8fea21e
Merge branch 'meshtastic:master' into router
2022-03-06 14:40:11 -08:00
Jm Casler
ec86246da9
Update to flooding router
2022-03-05 12:38:26 -08:00
Mike Kinney
c1613de426
merge the 1.2 hang bugfix to 1.3
2022-03-03 04:27:49 +00:00
Jm Casler
2c7b3acbb9
Fix tophone build error
2022-03-02 18:55:11 -08:00
Jm Casler
4d8c0c11dc
Added router to mynodeinfo
2022-02-28 22:44:51 -08:00
Jm Casler
6d4d2bb6fa
Merge branch 'router' of https://github.com/mc-hamster/Meshtastic-device into router
2022-02-28 17:47:11 -08:00
Jm Casler
32ef354c22
Add rssi to printPacket
2022-02-28 17:47:09 -08:00
Jm Casler
1f43132b52
Merge branch 'master' into router
2022-02-28 17:08:43 -08:00
Jm Casler
ac8ba706f0
Add rssi meta data to the rf95 interface
2022-02-28 17:07:31 -08:00
puzzled-pancake
91b0fcb257
Added comments on ANZ added 1w limit
...
Added comments
https://iotalliance.org.nz/wp-content/uploads/sites/4/2019/05/IoT-Spectrum-in-NZ-Briefing-Paper.pdf
https://www.iot.org.au/wp/wp-content/uploads/2016/12/IoTSpectrumFactSheet.pdf
As noted 1w limit on both
2022-02-28 10:39:48 +13:00
Jm Casler
e5e13d78c3
Add role to generated proto
2022-02-27 12:56:18 -08:00
Jm Casler
a2eb148c50
Revert "Merge pull request #1257 from mc-hamster/router"
...
This reverts commit 33ed9476f8
, reversing
changes made to 10fefe7c7b
.
2022-02-27 12:50:50 -08:00
Jm Casler
92d5dedc63
Remove incomplete ReliableRouter implementation
2022-02-27 12:46:23 -08:00
Jm Casler
ebba628736
Rename Plugin to Module in ui related areas.
2022-02-27 02:26:22 -08:00
Jm Casler
e53abbfb2b
more rename plugin to module
2022-02-27 02:21:02 -08:00
Jm Casler
3c5e49d8f4
More renaming plugin to module
2022-02-27 01:49:24 -08:00
Jm Casler
a83cfffd3a
Rename plugins in /esp32
2022-02-27 01:27:17 -08:00
Jm Casler
ba7644e376
Update canned messages from plugin to module
2022-02-27 01:09:36 -08:00
Jm Casler
ed5dea9f85
Update _plugin_ in radioconfig to _module_
2022-02-27 00:52:25 -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
d57704b3bd
Merge branch 'meshtastic:master' into router
2022-02-26 23:56:51 -08:00
Jm Casler
218a208ab7
mv plugins/ to modules/
2022-02-26 23:56:26 -08:00
Jm Casler
c5c12bcc6b
Merge pull request #1244 from puzzled-pancake/master
...
Added NZ865 Frequency
2022-02-26 21:36:58 -08:00
Jm Casler
9050fe7f90
regen protos for NZ regioncode
2022-02-26 21:32:52 -08:00
puzzled-pancake
9b44d2e999
Update RadioInterface.cpp
2022-02-27 18:12:27 +13:00
Jm Casler
01a86133ea
Merge branch 'master' into master
2022-02-26 21:07:44 -08:00
Jm Casler
ac43a1b182
Rename environmental measurement to telemetry
2022-02-26 20:52:22 -08:00
Jm Casler
5bff62e428
Delete environmental_measurement.pb.h
2022-02-26 20:31:16 -08:00
Jm Casler
a0f80c1a2a
Delete environmental_measurement.pb.c
2022-02-26 20:31:05 -08:00
puzzled-pancake
f9bcddafef
Update RadioInterface.cpp
2022-02-27 17:30:11 +13:00
puzzled-pancake
a25beff241
Update RadioInterface.cpp
2022-02-27 17:29:25 +13:00
puzzled-pancake
f2a31cc678
Update RadioInterface.cpp
...
Add NZ 866
2022-02-27 17:01:25 +13:00
Jm Casler
b6d7eadea3
Remove chat groups
2022-02-24 20:05:27 -08:00
Jm Casler
cd9def6850
Add my test ssid
2022-02-22 19:01:24 -08:00
Balazs Kelemen
a36889abba
Canned message - Extend messages length
2022-02-21 22:04:58 +01:00
Jm Casler
b15ef2749f
Add STATE_SEND_GROUPS to PhoneAPI::available
2022-02-20 08:23:05 -08:00
Jm Casler
3d4fc63ecc
Fix webserver crash with new filesystem
2022-02-20 02:44:13 -08:00
Jm Casler
3fdd425634
Add groups to payloadVariant
2022-02-20 01:33:49 -08:00
Jm Casler
389a8f1401
Add ourGroupInfo to NodeDB
2022-02-20 00:04:32 -08:00
Jm Casler
e34190b497
Plumbing for the GroupPlugin
2022-02-19 23:43:32 -08:00
Jm Casler
3a621ef262
Fix bug in frequency formulas
2022-02-15 18:48:54 -08:00
Jm Casler
57bbd912b1
Fix typo in default channel (Thanks Andre!)
2022-02-15 07:36:28 -08:00
Jm Casler
1ba7f009dd
Remove hw_model_deprecated
2022-02-14 20:37:44 -08:00
Jm Casler
04d16b82ba
Remove old style of region code fix
2022-02-14 20:00:46 -08:00
Jm Casler
b99d793e23
Remove legacyRadio and Legacy Preferences
2022-02-14 19:58:54 -08:00
Jm Casler
1de086819c
Remove myNodeInfo.num_bands. It's not used by android.
2022-02-14 19:45:26 -08:00
Jm Casler
96b5537217
New bands, new band plans and new channel configurations
2022-02-14 19:32:31 -08:00
Jm Casler
2428ca09fc
Change the default pre shared key to break backward compatibility of default channel
2022-02-14 18:06:05 -08:00
Jm Casler
a1ad1e7973
Updated modem configuration
2022-02-14 18:01:34 -08:00
Jm Casler
ee95594f74
Rename EU865 to EU868 & Add TH and IN
2022-02-14 17:01:13 -08:00
Thomas Göttgens
8e9b852faa
Littlefs rebased to Master ( #1205 )
...
* Littlefs
2022-02-14 11:45:29 -06:00
Clemens H / OE1RFC / datacop
e3df4fe4b4
fix: log error if node_db is full instead of firmware crash ( #1191 )
2022-02-10 11:44:58 -06:00
thebentern
e567fe7322
[create-pull-request] automated change
2022-02-03 03:21:12 +00:00
Ben Meadors
b21b7de04b
Clear bluetooth bonds on multi-press and factory_reset ( #1176 )
...
* Clear bluetooth bonds on multi-press and factory_reset
2022-02-01 18:32:26 -06:00
github-actions[bot]
dd31a829fb
Update and regen protobufs ( #1175 )
...
* Update and regen protobufs
2022-02-01 09:41:56 -06: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
266d6ad205
Proto regen for .53
2022-01-27 17:52:03 -08:00
mkinney
aea6675e64
[create-pull-request] automated change
2022-01-27 18:32:55 +00:00
Ben Meadors
b51be320dd
BME680 support ( #1142 )
2022-01-25 14:22:48 -06:00
Mike Kinney
6883bc7afc
fix more warnings; add to CI; suppress some warnings
2022-01-24 19:58:07 +00:00
Mike Kinney
7c362af3de
more warning fixes
2022-01-24 18:39:17 +00:00
Mike Kinney
caaa235c5d
more cppcheck warnings fixes
2022-01-24 17:24:40 +00:00
Mike Kinney
b3210f6c2c
fix some cppcheck warnings
2022-01-24 07:00:14 +00:00
Jm Casler
c8ecd6ac8e
Protos regened for reply and tapback
2022-01-23 09:30:44 -08:00
Ben Meadors
16ee75313a
BME280 support for environment and screen re-org ( #1129 )
2022-01-22 15:09:17 -06:00
Ben Meadors
6d34151590
Admin message shutdown protobufs ( #1119 )
...
* Updated protos for admin message shutdown protobufs
2022-01-20 21:43:15 -06:00
Balázs Kelemen
4fc443e760
Merge branch 'meshtastic:master' into master
2022-01-19 17:22:34 +01:00
Ben Meadors
4e3fda87a1
Initial configuration.h -> variants refactor ( #1104 )
...
* Initial configuration to variants refactor
2022-01-18 18:35:42 -06:00
Balazs Kelemen
1ff3b3326c
Temporary fix on canned messages total length.
2022-01-18 23:15:54 +01:00
Mike Kinney
1f227797c1
updated file after updating protobufs
2022-01-16 23:54:10 +00:00
Jm Casler
a9ed26fdbc
Merge pull request #1090 from prampec/CannedMessagePlugin
...
Canned message plugin
2022-01-15 09:50:39 -08:00
Jm Casler
25a540c28b
Add airtime tx calculation as a 1hr rolling window
2022-01-15 09:44:29 -08:00
Balazs Kelemen
a1f80f024e
CannedMessagePlugin merge fix
2022-01-13 14:19:55 +01:00
Balazs Kelemen
c5b95ed3c0
Screen update event.
2022-01-13 14:17:21 +01:00
Balazs Kelemen
3fa00f603b
Make all variables configurable.
2022-01-13 14:17:16 +01:00
Jm Casler
5392a83e33
Disable light-sleep (aka bluetooth sleep) as the default behavior.
...
https://github.com/meshtastic/Meshtastic-device/issues/1071
2022-01-09 22:28:13 -08:00
Jm Casler
465ff3dd25
Fix nvs erase for native build
2022-01-08 12:03:18 -08:00
Jm Casler
6506d54859
Erase NVS as part of factory reset & new triple click behavior.
2022-01-08 11:54:02 -08:00
Jm Casler
1fe4b95fe5
Add placeholder settings
2022-01-07 22:20:02 -08:00
Jm Casler
398a5baa90
Admin page framework is done.
2022-01-07 22:04:08 -08:00
Jm Casler
fcd3170a0f
Page for admin settings and a post to apply
2022-01-07 21:45:34 -08:00
Jm Casler
95f2d0c933
Fix build error. Forgot to save a file.
2022-01-07 21:02:31 -08:00
Jm Casler
e2d1cce1bb
Start of web admin
2022-01-07 20:20:47 -08:00
ernax78
1c63d2d334
Feature: add disable_tx setting #1065 ( #1066 )
...
* Feature: add disable_tx setting #1065
2022-01-06 12:01:45 -06:00
Jm Casler
76d0ad2907
Add page with links to end points on /spiffs
2022-01-05 22:27:49 -08:00
Jm Casler
3a17822893
Fixed TLS "memory allocation failure"
2022-01-05 22:12:32 -08:00
Jm Casler
da7ca98f44
Merge branch 'meshtastic:master' into SPIFFS_UPDATE
2022-01-05 20:52:39 -08:00
Jm Casler
dbdbe75e9f
Rename httpClient
2022-01-05 19:44:21 -08:00
Jm Casler
d5fc905402
Don't delete contents of /static unless tar is downloaded
2022-01-05 19:29:45 -08:00
Jm Casler
38baebe48f
Use NTP time if connected to wifi
2022-01-03 17:35:20 -08:00
Jm Casler
1f9b1e2828
Merge branch 'NTP' into master
2022-01-03 16:18:01 -08:00
Jm Casler
063d7a7d81
Cleanup API endpoint debug output
2022-01-02 22:17:26 -08:00
Jm Casler
6d0368b13d
Update URL to proper meshtastic web download location & disable halting
2022-01-02 22:10:55 -08:00
Jm Casler
b2011a1889
Switching url to casler.org. github has too many redirections.
2022-01-02 20:37:52 -08:00
Jm Casler
893472e36a
Update text and tar URL
2022-01-02 20:05:13 -08:00
Jm Casler
4d82a0146b
Initial checkin of Online OTA SPIFFS update
2022-01-02 19:50:43 -08:00
Jm Casler
88281dbbf1
Merge branch 'master' into Heltec-V1
2022-01-02 11:09:46 -08:00
Jm Casler
9a87ec7353
Count tx airtime only after it's sent by the radio
2022-01-02 11:05:32 -08:00
Thomas Göttgens
3857dd7e52
regen protobuf headers
2022-01-02 14:41:41 +01:00
Jm Casler
c00c2744bf
Merge branch 'master' into StoreAndForward
2022-01-01 23:23:26 -08:00
Jm Casler
749d127281
Return an informative message if web content files are unavailable.
2022-01-01 23:10:37 -08:00
Balazs Kelemen
c8aec324f5
Channel-binding filter accepts empty channel names.
2022-01-01 11:33:17 +01:00
Jm Casler
7c6d53f297
Support for replies and tap backs
...
https://github.com/meshtastic/Meshtastic-device/issues/1035
2021-12-29 09:25:01 -08:00
Jm Casler
bdacd97fea
Move airtimes struct into the class
2021-12-29 00:45:36 -08:00
Jm Casler
79e75a47f6
Add channel utilization to myNodeInfo
2021-12-28 23:37:23 -08:00
Jm Casler
10dc8233ea
Initial checkin for Airtime Utilization
...
https://github.com/meshtastic/Meshtastic-device/issues/1034
2021-12-28 23:34:49 -08:00
Jm Casler
654558abcd
Partial work for NTP client
2021-12-28 19:24:10 -08:00
Jm Casler
f3427084c2
Merge branch 'meshtastic:master' into master
2021-12-28 16:41:09 -08:00
Jm Casler
5432d3d44b
Merge branch 'meshtastic:master' into wifi
2021-12-26 15:48:18 -08:00
Jm Casler
e77cbd0588
Apply formatting to wifi related sections
2021-12-26 15:46:23 -08:00
Jm Casler
366a028502
Remove unused comments.
2021-12-26 09:05:35 -08:00
Jm Casler
caa4f3cd71
Merge branch 'master' into master
2021-12-24 13:52:25 -08:00
Jm Casler
0938cded58
Cleanup comments
2021-12-24 13:08:30 -08:00
Jm Casler
8e50e25eec
Cleanup content handler and remove request counter.
2021-12-23 19:56:37 -08:00
Jm Casler
2d8bf4d684
Fix for SoftAP bugs
2021-12-23 18:18:07 -08:00
Joshua Pirihi
0aa4ea86a0
Add mqtt_username and mqtt_password user preferences
2021-12-24 06:17:08 +13:00
Jm Casler
7af4a31329
Adding MeshPacket_Delayed
2021-12-19 14:02:36 -05: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
Jm Casler
f3fc88ac5d
Test if screen address was found
2021-12-18 11:02:54 -05:00
Jm Casler
d1370071da
Test that the screen object has been created
2021-12-17 15:53:23 -05:00
Jm Casler
b71051a227
Attempt to address the ssl screen crashing on AndreK's device.
2021-12-17 14:02:29 -05:00
Jm Casler
62602b54f4
Improve time to generate the SSL certificate
2021-12-14 23:50:49 -05:00
Jm Casler
446fb857cc
Bug in getNumOnlineNodes #988
2021-12-11 19:50:20 -08:00
Jm Casler
3d4e4bfa50
Update generated protos & has_wifi #979
...
https://github.com/meshtastic/Meshtastic-device/issues/979
2021-12-09 11:47:42 -08:00
Jm Casler
67766b817c
Reduce size of airtime structure for mynodeinfo
2021-12-07 11:44:48 -08:00
Jm Casler
d3dc51d102
Fix typo
2021-12-07 11:31:46 -08:00
Jm Casler
a904bb8cc5
Generated protos for Feature request: add airtime to NodeInfo #970
2021-12-07 11:26:06 -08:00
Jm Casler
f01952bd0d
Create new default channel configurations. #965
...
Create new default channel configurations. #965
2021-12-06 15:03:35 -08:00
Joshua Pirihi
5b34e3e1ab
When switching to battery, shutdown after on_battery_shutdown_after_secs
2021-12-06 15:37:35 +13:00
Jm Casler
05835fd1bb
Add channel bitrate to myNodeInfo #959
...
Add channel bitrate to myNodeInfo #959
2021-12-05 10:17:09 -08:00
Jm Casler
9f6522a756
SoftAP doesn't always start #954
2021-12-04 19:20:20 -08:00
Solanaceae
b7eaeb8c31
Merge branch 'master' into SX1262-Power
2021-12-02 21:50:37 -07:00
Solanaceae
6bd495a491
OCP limit into SX126x class where it belongs.
2021-12-02 20:46:36 -07:00
Jm Casler
1175c981c0
Update generated protos for S&F
2021-12-02 17:16:39 -08:00
Ben Meadors
9d019c1a99
Adding batch script for generating uf2 files for NRF boards ( #945 )
...
* Updated generated protos
* Added uf2-converter batch for windows machines
2021-12-02 10:19:25 -06:00
Solanaceae
ab0a06e536
Raising currentLimit for SX1262
2021-11-30 17:56:19 -07:00
Ben Meadors
2a617ba7b2
Upstream proto addition
2021-11-29 10:05:32 -06:00
Ben Meadors
bbf3091889
Merge branch 'master' into master
2021-11-29 09:58:16 -06:00
Ben Meadors
99d35b175c
Merge remote-tracking branch 'upstream/master'
2021-11-29 07:02:56 -06:00
Jm Casler
98d0907f4d
Merge branch 'master' into issue-919
2021-11-28 22:36:41 -08:00
Jm Casler
623b846713
Fix for: Wifi admin mode no longer works #939
...
Fix for: Wifi admin mode no longer works #939
2021-11-28 21:56:34 -08:00
Jm Casler
e791a5aa2f
Merge branch 'master' into issue-919
2021-11-28 20:13:56 -08:00
Jm Casler
3ed4a1e3e1
Merge branch 'master' into StoreAndForward
2021-11-28 19:31:49 -08:00
Jm Casler
d7315778d6
Generated protos for S&F
2021-11-28 19:25:50 -08:00
Ben Meadors
7a649e3fc3
Regen protobufs from upstream
2021-11-27 09:16:26 -06:00
Ben Meadors
f019151e3f
auto_screen_carousel_secs behavior implementation
2021-11-27 09:11:58 -06:00
Jm Casler
d72c091ead
Merge branch 'master' into issue-927
2021-11-26 19:50:40 -08:00
Jm Casler
f6fde55363
Update protobufs with the latest from meshtastic-protobufs
2021-11-26 18:25:08 -08:00
Ryan Tolboom
c5f210384f
add SSL notification at boot
2021-11-26 15:09:16 -05:00
Ryan Tolboom
e3ee3c411c
Merge branch 'master' into issue-919
2021-11-22 23:08:06 -05:00
Ryan Tolboom
c36b233c49
ACK retried want_ack packets
2021-11-22 21:31:12 -05:00
Vladislav Osmanov
bfa0307231
LLCC68 doesn't support SF12 neither the "Long Slow" channel
2021-11-18 14:46:04 +03:00
Vladislav Osmanov
8eb0d685ac
[LLCC68] module support
2021-11-17 13:28:08 +03:00
Ben Meadors
2d939d26ee
Renamed to is_always_powered for convention
2021-11-06 12:11:22 -05:00
Ben Meadors
d6c7ea921a
Added always_powered preference
2021-11-06 10:03:10 -05:00
Solanaceae
d5e4ceebcc
Small fix for using 62.5Khz bandwidth setting.
2021-11-01 02:31:53 -07:00
Sacha Weatherstone
2c5ba29648
Merge branch 'master' into owner-update
2021-10-30 10:13:10 +11:00
a-f-G-U-C
5ef9414a25
fix owner name update issue (off #900 )
2021-10-29 13:28:48 +00:00
a-f-G-U-C
2ebed9cb6c
update protobufs to 61bc1d0
2021-10-29 13:13:26 +00: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
646d1caf66
updatePosition process time-only message
2021-10-28 11:31:19 +00:00
a-f-G-U-C
da9dd62a33
add the user as distinct message source
2021-10-27 13:16:51 +00:00
Sacha Weatherstone
0133a1b293
Merge branch 'master' into feature/environmental-ds18b20-sensor-support
2021-10-27 10:23:40 +11:00
a-f-G-U-C
b74c2da530
implement RX_SRC_LOCAL, Position in updatePosition
2021-10-26 12:22:34 +00:00
Kevin Hester
26415cf8e0
Merge branch 'master' into feature/environmental-ds18b20-sensor-support
2021-10-26 02:36:50 +08:00
a-f-G-U-C
f69c8dddad
update MeshService to use Position struct
2021-10-24 12:48:48 +00:00
Joar Svensson
fff4735a15
Add support for DS18B20 temperature sensor
2021-10-23 21:10:25 +02:00
a-f-G-U-C
a914ee133c
fix a rare GPS data corruption condition ( #890 )
...
* fix a rare GPS data corruption condition
* don't use hasLock to determine validity
2021-10-23 14:21:59 +11:00
a-f-G-U-C
d0fb363422
discriminate local/remote node position updates ( #889 )
2021-10-23 12:58:56 +11:00
a-f-G-U-C
992bbe76d7
add backward compatible position flag defaults ( #884 )
2021-10-23 12:12:53 +11:00
Kevin Hester
d54dad4225
update protobufs
2021-10-15 10:21:42 -07:00
Kevin Hester
c597cd4a17
regen protos
2021-10-15 10:21:42 -07:00
Vladislav Osmanov
87ef15d371
Merge branch 'master' into meshtastic-diy
2021-10-12 15:23:30 +03:00
Kevin Hester
3d197d732c
Merge branch 'master' into fix-plugin-return-type
2021-10-12 09:15:34 +08:00
Kevin Hester
31e833ec59
Merge branch 'master' into master
2021-10-12 08:53:14 +08:00
Sacha Weatherstone
5c0a76ae46
Reverte seperate Generate204 function
2021-10-11 12:27:10 +11:00
Sacha Weatherstone
14e36f0a2b
Web server changes to support frontend
2021-10-11 00:11:04 +11:00
a-f-G-U-C
1e455ac4c3
issue 879 - add opt-in flag for plugins
2021-10-09 14:02:21 +00:00
a-f-G-U-C
5eb2e6401f
issue 879 - changes to Router.cpp
2021-10-09 13:54:42 +00:00
a-f-G-U-C
ee9c72b8c7
issue 879 - define source types
2021-10-09 13:48:30 +00:00
Vladislav Osmanov
debae67ae7
Plugins refactoring: handleReceived
return enumeration ProcessMessage
...
Use `ProcessMessage::CONTINUE` to allows other modules to process a message.
Use `ProcessMessage::STOP` to stop further message processing.
2021-09-23 04:42:09 +03:00
Vladislav Osmanov
e3d9b94367
New device board - [Meshtastic DIY v1] by @NanoVHF Schematic based on ESP32-WROOM-32 (38 pins) devkit & EBYTE E22 SX1262/SX1268 module
...
Subproject reference: https://github.com/NanoVHF/Meshtastic-DIY
2021-09-19 16:05:21 +03:00
Vladislav Osmanov
16d2c565e8
Use EU433 frequency value as default for SX1268
2021-09-18 21:39:29 +03:00
Vladislav Osmanov
bd9bf585d3
save channel & freq before outputting them for debugging
...
The frequency could be overridden in `RadioInterface::getFreq()` for some modules.
2021-09-15 12:09:11 +03:00
Vladislav Osmanov
cb42440963
fix module frequency overriding
...
The `RadioInterface::freq` member was encapsulated with the `RadioInterface::getFreq()` function,
which could be overridden in child classes for some LoRa-modules.
2021-09-13 22:13:51 +03:00
Vladislav Osmanov
098f38fb83
New base class for SX126x modules. Added new SX1268 module support.
2021-09-12 00:35:16 +03:00
Vladislav Osmanov
00bf7879af
SX1268 frequency initialization regardless of the region
...
Otherwise, we get critical error 3 with result code -12 (ERR_INVALID_FREQUENCY):
The supplied frequency value is invalid for this module.
2021-09-09 23:55:36 +03:00
Vladislav Osmanov
2ba68c9b6e
added SX1268 module adapter
2021-09-09 23:55:36 +03:00
Vladislav Osmanov
1a671f2877
override new RadioLib's default current limit value (60 mA) to the previous value of 100mA
2021-09-08 14:30:52 +03:00
Kevin Hester
ccb4596299
Merge branch 'master' into radiolib-sync-upstream
2021-09-04 17:35:34 -07:00
srichs
72e22b6744
Added OLC and OS grid ref protobufs
2021-09-04 01:31:29 -06:00
Vladislav Osmanov
f40bd0745c
The argument currentLimit
was removed from the begin
method
...
More info: jgromes/RadioLib@e1141ca#diff-507c32190e4a29ffe411c8eab06c75b594c5d2a5fd92e5cb703b787e5f019589L568
2021-09-02 16:10:45 +03:00
Vladislav Osmanov
fe3afaab3d
Reflecting changes from upstream RadioLib in https://github.com/osmanovv/RadioLib/tree/upstream-merge
...
(252fe74d53
)
The argument `currentLimit` was removed from the `begin` method:
e1141ca64c (diff-507c32190e4a29ffe411c8eab06c75b594c5d2a5fd92e5cb703b787e5f019589L568)
2021-09-02 16:10:44 +03:00
srichs
8edac1f86c
Added different gps coordinate formats for OLED
2021-08-30 01:17:18 -06:00
Kevin Hester
eaa15076cd
WIP debug logging over TCP
2021-08-18 10:31:30 -07:00
Kevin Hester
2fd74d8f47
cleanup ssl cert generation
2021-08-17 20:40:46 -07:00
Kevin Hester
52d7a6b8e4
immediately reconnect to mqtt server on wifi reconnect
2021-08-17 19:59:56 -07:00
Kevin Hester
472e880280
fix race condition when starting web service
2021-08-17 17:04:09 -07:00
Kevin Hester
189889489b
disable bluetooth while using wifi (esp32 drops networks otherwise)
2021-08-17 16:58:21 -07:00
Kevin Hester
0d758347af
Fix rare assertion failure which could occur due to pending interrupts
...
* fix assertion failure
```
22:57:36 64409 [PositionPlugin] FIXME-update-db Sniffing packet
22:57:36 64409 [PositionPlugin] Delivering rx packet (id=0x5851f437 Fr0xa1 To0xff, WantAck0, HopLim3 Ch0x0 Portnum=3 rxtime=1628895456 priority=10)
22:57:36 64409 [PositionPlugin] Forwarding to phone (id=0x5851f437 Fr0xa1 To0xff, WantAck0, HopLim3 Ch0x0 Portnum=3 rxtime=1628895456 priority=10)
22:57:36 64409 [PositionPlugin] Update DB node 0x85f4da1, rx_time=1628895456
22:57:36 64409 [PositionPlugin] Plugin routing considered
22:57:36 64409 [PositionPlugin] Add packet record (id=0x5851f437 Fr0xa1 To0xff, WantAck0, HopLim3 Ch0x0 Portnum=3 rxtime=1628895456 priority=10)
22:57:36 64409 [PositionPlugin] Expanding short PSK #1
22:57:36 64409 [PositionPlugin] Installing AES128 key!
22:57:36 64409 [PositionPlugin] enqueuing for send (id=0x5851f437 Fr0xa1 To0xff, WantAck0, HopLim3 Ch0xb1 encrypted rxtime=1628895456 priority=10)
22:57:36 64409 [PositionPlugin] (bw=125, sf=12, cr=4/8) packet symLen=32 ms, payloadSize=22, time 2596 ms
22:57:36 64409 [PositionPlugin] txGood=6,rxGood=10,rxBad=0
22:57:36 64409 [PositionPlugin] AirTime - Packet transmitted : 2596ms
22:57:36 64409 [RadioIf] assert failed src/mesh/RadioLibInterface.cpp: 240, void RadioLibInterface::handleReceiveInterrupt(), test=isReceiving
```
2021-08-17 16:31:01 -07:00
Kevin Hester
a9f8080ee7
cope with race on available() vs read() found while looking at #838
2021-08-12 22:06:51 -07:00
Kevin Hester
057b04a88a
treat RECEIVED_PACKET like PACKET_FOR_PHONE
2021-08-02 22:07:39 -07:00
Kevin Hester
99d529be51
While connected to MQTT server, veto light-sleep (to keep wifi working)
2021-08-02 17:42:44 -07:00
Kevin Hester
39df7108a8
fix wifi hang when bad password used, cleanup wifi in general
2021-08-02 11:28:57 -07:00
Kevin Hester
2fe11d4fe8
don't break strict-aliasing rules
2021-08-02 10:50:28 -07:00
Kevin Hester
d40b66beac
Allow plugins to write to the parsed protobuf (minimizes copies in some cases)
2021-08-01 12:58:23 -07:00
Audun Foyen
bf0b598908
Include <algorithm> - required for 'lower_bound'
2021-07-31 21:56:31 +02:00
Audun Foyen
8a79663fa0
Drop lower priority packets when tx queue is full.
...
Track packet pointers in vector. Priority maintained using: push_heap, pop_heap, make_heap, and sort_heap.
2021-07-31 21:42:48 +02:00
Audun Foyen
986d44873a
Issue-108. Track recent packets in unordered_set
...
Check individual packets seen recently for expiry - and purge.
Otherwise - only scan all of recentPackets for expired once
fill > 75% (of MAX_NUM_NODES).
2021-07-20 21:19:35 +02: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
5c4d1a88a8
update protos
2021-05-29 13:19:27 +08:00
Kevin Hester
29ff778e22
fix #811 nodes rebooting due to invalid printf call, thanks @IZ1IVA
...
Ouch, this was nasty - printf format string wasn't matching the parameters
passed in causing a NPE due to a missing last param.
I'll investigate why printf format strings were
not being checked by the compiler (normally gcc offers that feature)
2021-05-26 10:00:23 +08:00
Kevin Hester
abe95ae1a4
most of the changes needed to build native on Windows
2021-05-25 05:08:57 +08:00
Kevin Hester
a8feb40ae9
cleanup
2021-05-24 09:42:25 +08:00
Kevin Hester
be410a3913
Fix #807 TCP API on ESP32. thanks @jfirwin your hint made the problem easy to find!
2021-05-24 09:42:21 +08:00
Kevin Hester
069b0d38be
Fix wifi to allow usage with unsecured networks
2021-05-24 09:21:52 +08:00
Kevin Hester
7f2bbcd95e
fix debug spam for api calls (possibly corrupting protocol)
2021-05-23 12:07:28 +08:00
Kevin Hester
7f51517961
better support for heltec
2021-05-11 09:44:41 +08:00
Kevin Hester
bc76c79e1e
oops my latest change busted android connection detection
2021-05-03 15:37:37 +08:00
Kevin Hester
d179bda728
serious bug: connection to phones not being properly tracked
2021-05-03 14:46:30 +08:00
Kevin Hester
c15204fed1
better debug output
2021-05-03 10:53:06 +08:00
Kevin Hester
6dc4471bec
fix serious bug! don't send NO-RESPONSE NAKs for messages sent by local node
2021-05-03 08:45:32 +08:00
Kevin Hester
4c1b7d4840
pinelora WIP
2021-05-01 11:27:37 +08:00
Kevin Hester
babc1b3613
include file/lineno in critical error logs
2021-04-29 09:52:15 +08:00
Kevin Hester
6e27856daa
pinelora WIP
2021-04-22 08:49:05 +08:00
Kevin Hester
405f7e0caa
Fix integration test found by CI! verstr field was too short
2021-04-16 11:51:04 +08:00
Kevin Hester
55b38a7b02
RAK4631 is almost feature complete
2021-04-12 13:25:55 +08:00
Kevin Hester
a43a04986d
document peer_info
2021-04-11 09:24:36 +08:00
Kevin Hester
5e87ee338d
add is_licensed for ham users
2021-04-10 11:39:13 +08:00
Kevin Hester
cec905914c
Fix GPIO service and cleanup response handling
2021-04-06 10:34:23 +08: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
8ef36bcc9c
note about security
2021-04-05 08:56:11 +08:00
Kevin Hester
3cd64bb8b5
allow passing even encrypted packets through the plugins
2021-04-05 08:44:47 +08:00
Kevin Hester
55b8314a2a
mqtt: only publish uplink_enabled channels
2021-04-05 07:57:06 +08:00
Kevin Hester
d19af8b83d
mqtt: send packets after they are encrypted
2021-04-04 09:20:37 +08:00
Kevin Hester
dcf64dfacd
MQTT at least talks to server, works in native and esp32
2021-04-03 14:54:10 +08:00
Kevin Hester
c798c0032c
add frequency_offset
2021-04-02 09:14:12 +08:00
Kevin Hester
88716fc352
Merge remote-tracking branch 'root/master' into dev1.2
2021-03-31 09:14:43 +08:00
Kevin Hester
b68397a911
fix simradio init to work more like real radios
2021-03-30 23:39:51 +08:00
Kevin Hester
5fdcb72d46
cleanup applyModemConfig based on porduino testing, share with sim
2021-03-30 23:34:13 +08:00
Kevin Hester
a9c8564524
fix millisecond unsigned rollover errors found via portduino
2021-03-30 23:11:33 +08:00
Jm
d8669f860a
Update fo #638 - Redid protobuf generation
2021-03-29 17:33:37 -07:00
Jm
2f8e663f03
Add serial_disabled for #638
2021-03-29 17:08:56 -07: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
c7f411fc7c
remove unused Preferences code (cc @mc-hamster for review)
...
(noticed because of a compiler warning)
2021-03-28 12:07:43 +08:00
Kevin Hester
fc96500329
fix unused prefs field
2021-03-28 12:06:16 +08:00
Kevin Hester
4e87c4411c
fix serious nak bug reported by @havealoha and @luxoon
2021-03-28 11:44:19 +08:00
Kevin Hester
76269b397f
Merge remote-tracking branch 'root/master' into dev1.2
...
# Conflicts:
# src/esp32/main-esp32.cpp
# src/mesh/generated/deviceonly.pb.h
# src/mesh/generated/mesh.pb.h
2021-03-27 16:44:42 +08:00
Jm
57c82988e2
#669 - Add restart counter
2021-03-27 01:20:07 -07:00
Kevin Hester
1e3b037fea
populate position.time for broadcast positions
2021-03-27 16:17:01 +08:00
Jm
4f4cdf4f9e
#669 Add restart counter
2021-03-27 01:00:27 -07:00
Kevin Hester
37ec969f96
Merge remote-tracking branch 'root/master' into dev1.2
...
# Conflicts:
# src/mesh/NodeDB.cpp
2021-03-27 11:10:47 +08:00
Kevin Hester
8ffd5a1d4f
add reboot message
2021-03-27 10:19:59 +08:00
Jm Casler
7872cb050d
Merge branch 'master' into master
2021-03-25 19:32:13 -07:00
Jm
89029311c1
Update NodeDB.cpp
2021-03-25 19:28:15 -07:00
Jm
f6f586decb
Remove my code that doesn't work with channels
2021-03-25 19:27:46 -07:00
Kevin Hester
7e9e33d462
fix has_gps reporting to phones
2021-03-26 09:30:33 +08:00
Kevin Hester
04225f7bc2
change! time of last packet rx in node->last_heard instead of node->position.time
2021-03-26 09:30:15 +08:00
Michał Adamski
97a5405293
captive portal for Android devices
2021-03-25 21:49:06 +01:00
Kevin Hester
0261c243e0
PhoneAPIs shouldn't register for messages until they have clients
2021-03-25 07:51:54 +08:00
Kevin Hester
b20930c111
move streamapi into a thread, saves power and increases responsiveness
2021-03-25 06:15:15 +08:00
Kevin Hester
e17fe7e075
update altitude in nodedb for received altitudes (reported by @iz1kga)
2021-03-24 19:24:33 +08:00
Kevin Hester
77c1112fe8
Merge remote-tracking branch 'root/master' into dev1.2
2021-03-24 13:28:21 +08:00
Kevin Hester
5b0e7c6e82
fix has_preferences init
2021-03-24 13:25:21 +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
Vadim Furman
8065dbb2b7
Merge remote-tracking branch 'origin/master'
2021-03-22 21:40:30 -07:00
Kevin Hester
49b16fdf0c
fix channel !authorized check
2021-03-23 12:07:04 +08:00
Kevin Hester
1fcec8ce3b
always fix up channel list, even if we just did factory reset
2021-03-23 11:54:53 +08:00
Kevin Hester
d32386a027
Return errors for unauthorized requests or out of bound channel nums
2021-03-23 11:44:51 +08:00
Vadim Furman
b9fd726c14
Push RSSI to the phone
2021-03-22 19:39:49 -07:00
Jm Casler
1eb37dded8
partial work for S&F
2021-03-21 19:45:35 -07:00
Vadim Furman
b6e197371d
Removed SX1262_USE_DIO3_FOR_TCXO
2021-03-19 18:30:00 -07:00
Vadim Furman
7491af8ad7
Merge remote-tracking branch 'origin/master'
2021-03-19 17:07:16 -07:00
Kevin Hester
b4c379f5fc
add sim exit cmd
2021-03-18 19:09:31 +08: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
c62863b1dc
Merge from origin
2021-03-14 19:42:57 -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
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
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
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
772f2a15ff
check more error codes
2021-03-09 16:45:40 +08:00
Kevin Hester
87ec7b09aa
add crude check for brownout
2021-03-08 18:12:21 +08:00
Kevin Hester
707ed75138
fix warnings found in nrf52 build
2021-03-08 15:20:43 +08:00
Kevin Hester
1f33506962
Add RU region
2021-03-06 21:10:36 +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
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
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
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
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 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