nakoeppen
d68bc74514
Remove _serial->isConnected() logic from buzzer notifications
4 months ago
taco
b919119faf
only write contacts when changed
5 months ago
taco
c61fde9328
always send PUSH_CODE_NEW_ADVERT when advert was not added to contacts[]
5 months ago
taco
df6687034a
bootstrap RTC from contact.lastmod and improve slot overwrite logic
slot overwrite logic can now safely use contact.lastmod to find oldest contact for overwrite
5 months ago
taco
403ce1db08
contacts: granular autoadd and overwrite-oldest
5 months ago
ViezeVingertjes
eb4fa032ff
Implement token bucket duty cycle enforcement
5 months ago
Scott Powell
3af25495bb
* Repeater: new anon request sub-type: ANON_REQ_TYPE_REGIONS (rate limited to max 4 every 3 mins)
* Companion: new CMD_SEND_ANON_REQ command (reply with existing RESP_CODE_SENT frame)
5 months ago
liquidraver
faf177de46
ESP factory reset clear NVS too
5 months ago
entr0p1
4a869163b2
BUGFIX: replay protection on repeaters tripped by timestamp sent from companion node mobile app. Send the node's RTC timestamp for TXT_TYPE_CLI_DATA messages instead of the timestamp from the app (matches the sendRequest() code logic).
5 months ago
liquidraver
e855706abb
move showalert after saveprefs
6 months ago
taco
638f41d143
calculate shared_secret on demand
6 months ago
Rastislav Vysoky
052f17738c
add default LED_STATE_ON for boards that don't have it defined
6 months ago
Scott Powell
e054597a18
* ver 1.11.0
6 months ago
csrutil
cfb7ed876c
CMD_SET_CUSTOM_VAR will update gps and gps_interval
6 months ago
csrutil
39503ad0b4
move GPS preference initialization to UITask
6 months ago
csrutil
4aebc57add
fixed gps init value
6 months ago
csrutil
678915ef3b
add GPS interval validation and bounds checking
6 months ago
csrutil
88fb173297
add configurable GPS update interval
Make GPS update interval configurable via settings instead of using hardcoded 1 second value. The interval is persisted from preferences and can be adjusted at runtime through the sensor manager settings interface
6 months ago
csrutil
c641beabd3
https://github.com/meshcore-dev/MeshCore/issues/989 - persist GPS enabled state to preferences
Add GPS configuration to NodePrefs structure and persist the GPS
enabled state when toggled via UI. This ensures GPS settings are
retained across device restarts.
6 months ago
Florent
1c0017b634
thinknode_m5: gps support
6 months ago
Florent
ee4e87c3ee
thinknode_m5: manage baclight
6 months ago
zaquaz
6c7b5390e2
Remove default setting, since it is handled in MyMesh
6 months ago
Frieder Schrempf
048bd268a1
companion: ui: Respect LED_STATE_ON for status LED
The current logic only works for active high LEDs. Some boards need
an active low level control and therefore they set LED_STATE_ON to 0.
Take this into account and use the correct LED pattern for both cases.
Signed-off-by: Frieder Schrempf <[email protected] >
7 months ago
Jaroslav Škarvada
07e7e2d44b
companion: Suspend radio when hibernating
This should significantly reduce power consumption in hibernation.
Fixes : #1014
Signed-off-by: Jaroslav Škarvada <[email protected] >
Signed-off-by: Frieder Schrempf <[email protected] > # generalize for all radios and UIs
6 months ago
Scott Powell
b33d226c58
* proposal for 'Extended Trace' packets. Using 'flags' byte, lower 2 bits, for path hash size.
7 months ago
zaquaz
2bd47de3b9
Added buzzer config persistance accross restart
7 months ago
agessaman
a3c9a07377
Modify CMD_GET_STATS with sub-types for core, radio, and packet statistics. Consolidated to a single RESP_CODE_STATS with a second byte to identify response structure. Updated documentation and examples to reflect the new command structure and response parsing.
7 months ago
Stephan Rodemeier
16c294ce60
Allow SF smaller than 7 to be saved
7 months ago
Scott Powell
91e9fcea4b
* ver 1.10.0
7 months ago
agessaman
39f83efbfe
Remove unused statistics formatting methods and associated header includes from MyMesh class. Whoops.
7 months ago
agessaman
80d6dd4367
Update statistics handling to use binary frames instead of JSON formatting for consistency with other companion commands. Added documentation of frame structure with code examples.
7 months ago
agessaman
c9aa536ca6
Reverted MyMesh constructor for simplicity.
Updated formatStatsReply method to use new member variables for statistics handling.
Removed excess variable creation
7 months ago
agessaman
df4dab8509
Add statistics commands and response handling in MyMesh
- Introduced new commands for retrieving statistics: CMD_GET_STATS_CORE, CMD_GET_STATS_RADIO, and CMD_GET_STATS_PACKETS.
- Implemented corresponding response handling methods to format and send statistics data.
- Updated MyMesh constructor to initialize new member variables for managing statistics.
- Included StatsFormatHelper for formatting statistics replies.
7 months ago
Scott Powell
2e63499ae5
* companion: protocol ver bumped to 8.
7 months ago
Scott Powell
4a5404d997
* companion: added CMD_SEND_CONTROL_DATA, and PUSH_CODE_CONTROL_DATA
7 months ago
Scott Powell
937865c8fd
* companion: new CMD_SET_FLOOD_SCOPE (54)
7 months ago
Scott Powell
9ebeb477aa
* RegionMap: inverted 'flags' to _deny_ bits
* Mesh: new filterRecvFloodPacket() for overriding
* repeater CLI: 'allow' -> 'allowf' or 'denyf'
7 months ago
liquidraver
99a3473169
even less comments \o/
7 months ago
liquidraver
eae16cfc5f
less unnecessary comments, less lines of code :)
7 months ago
liquidraver
397d280c3b
stop OLED powering on every message if connected to phone
7 months ago
Scott Powell
d9ff3a4d02
* Mesh: new sendFlood() overload with transport codes.
* BaseChatMesh: sendFloodScoped(), for overriding with some outbound 'scope' / TransportKey
* companion: new 'send_scope' variable.
7 months ago
Adam Mealings
c13b4ae481
Analogue button delay based on millis
7 months ago
taco
52a3df4977
revert pubBlobByKey() change
7 months ago
taco
0b8159c6e5
refactor DataStore to use openRead() and openWrite()
refactored loadPrefsInt(), loadContacts(), loadChannels(), getBlobByKey() and putBlobByKey() to use openRead() and openWrite()
7 months ago
Scott Powell
3d9378d91e
* Fix for VolatileRTCClock wrapping around to initial synced time every 49 days
7 months ago
Matthias Wientapper
f339c74bb4
* Add #ifdef, reuse variable
7 months ago
Matthias Wientapper
a38418e09a
* Add display of IP address to companion screen
8 months ago
recrof
87677fda76
allow spreading factor from 5 and bandwidth from 7.8kHz
8 months ago
Florent
7d62a27836
uitask: bring back buzzer toggle on tracker l1
8 months ago
Scott Powell
cd920693ec
* UITask: new UI_HAS_JOYSTICK
* MomentaryButton: new constructor 'multiclick' param
* WIoTrackerL1: now just use joystick, joystick press for KEY_ENTER, no multi-click for snappier UI
8 months ago