ripplebiz
bed7b0404f
Merge pull request #1122 from fschrempf/xiao-nrf-ui-and-power-optimizations
...
Companion Power Optimizations and UI Support for XIAO NRF52
2025-11-26 22:11:02 +11:00
ripplebiz
de4aeebb1e
Merge pull request #1131 from wel97459/dev-uint
...
Changed uint used in flags to uint8_t
2025-11-25 21:51:36 +11:00
Scott Powell
d8ffd816e7
* BUG FIX: remote login fix same as repeater
2025-11-25 15:12:48 +11:00
Scott Powell
bcb3007a97
* BUG FIX: same remote login fix as repeater
2025-11-25 15:09:51 +11:00
Scott Powell
5e9c44e743
* BUG FIX: repeater remote admin, flood login should invalidate the client->out_path
2025-11-24 22:56:55 +11:00
ripplebiz
b2290054c4
Merge pull request #1075 from agessaman/companion-stats
...
Add statistics commands to return device metrics on companions
2025-11-24 12:34:35 +11:00
Frieder Schrempf
2f20cb73ef
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 <frieder@fris.de >
2025-11-22 15:05:08 +01:00
Jaroslav Škarvada
fe6cea2c15
companion: Suspend radio when hibernating
...
This should significantly reduce power consumption in hibernation.
Fixes : #1014
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com >
Signed-off-by: Frieder Schrempf <frieder@fris.de > # generalize for all radios and UIs
2025-11-22 15:05:01 +01:00
taco
ed4178fa96
add board.setAdcMultiplier to room server and sensor
2025-11-21 21:46:55 +11:00
taco
da55ff8936
Repeater: add adc.multiplier setting
2025-11-21 18:15:30 +11:00
Winston Lowe
0c4e3b7e59
Changed uint to a uint8_t
2025-11-20 21:58:42 -08:00
agessaman
e2cec1016a
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.
2025-11-17 09:57:36 -08:00
Stephan Rodemeier
822052cdca
Allow SF smaller than 7 to be saved
2025-11-13 22:25:55 +01:00
Scott Powell
f54d819269
* ver 1.10.0
2025-11-13 20:45:38 +11:00
ripplebiz
8e30aa6c7c
Merge pull request #971 from fdlamotte/remove_set_setting_by_key
...
SensorManager: remove setSettingByKey
2025-11-11 23:40:13 +11:00
Florent
eb7d93ff91
Merge branch 'dev' into remove_set_setting_by_key
2025-11-11 12:23:12 +01:00
Scott Powell
0e95b123d8
* Sensor: DISCOVER_REQ, prefix_only support
2025-11-11 20:08:05 +11:00
ripplebiz
b62e845c28
Merge pull request #1068 from fdlamotte/sensor_control_data
...
sensor: copy control data code from repeater
2025-11-11 20:03:33 +11:00
agessaman
bea41fe646
Remove unused statistics formatting methods and associated header includes from MyMesh class. Whoops.
2025-11-09 11:39:47 -08:00
agessaman
723f875c03
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.
2025-11-09 11:28:49 -08:00
agessaman
1959e3d5d1
Reverted MyMesh constructor for simplicity.
...
Updated formatStatsReply method to use new member variables for statistics handling.
Removed excess variable creation
2025-11-09 11:28:49 -08:00
agessaman
6ddc73fff4
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.
2025-11-09 11:28:49 -08:00
Scott Powell
cf3da818b8
* fix: repeater and room server telemetry requests now return all telemetry for _READ & _WRITE ACL permissions.
2025-11-09 16:36:23 +11:00
Scott Powell
4b2a2e1ed3
* repeater, DISCOVER_REQ, flags lowest bit now for 'prefix_only' responses
2025-11-07 19:31:09 +11:00
Scott Powell
990aad6bac
Merge branch 'transportcodes' into dev
2025-11-07 14:52:11 +11:00
Scott Powell
1d12bc116d
* repeater: various "region" CLI changes
...
* transport codes 0000 and FFFF reserved
2025-11-07 14:42:06 +11:00
Florent
fc6fe7c6ba
sensor: copy control data code from repeater
2025-11-06 22:36:37 +01:00
Scott Powell
96ed2a69f8
* companion: protocol ver bumped to 8.
2025-11-06 22:51:17 +11:00
Scott Powell
7a04e7fcd1
* companion: added CMD_SEND_CONTROL_DATA, and PUSH_CODE_CONTROL_DATA
2025-11-06 22:10:20 +11:00
Scott Powell
7058462f40
* repeater: CLI, added "region put" and "region remove" commands
2025-11-06 21:40:52 +11:00
Scott Powell
bc98f96028
* repeater: onAnonDataRecv(), future code check bug fix (offset 4)
...
* sensor: onAnonDataRecv(), future request code provision
2025-11-06 20:22:40 +11:00
Scott Powell
d6c1f0678c
* repeater: onAnonDataRecv(), now rejecting non-ASCII password (preparing for future request codes)
...
* repeater: DISCOVER requests now with a simple RateLimiter (max 4, every 2 minutes)
2025-11-06 20:15:01 +11:00
Scott Powell
b9e9456535
* RegionMap: get/set Home Region
...
* repeater: admin CLI, changed "allowf *", "denyf *", added "home"
2025-11-06 17:28:45 +11:00
Scott Powell
92b50f9cec
* region filtering now applied in allowPacketForward()
2025-11-06 12:27:25 +11:00
Scott Powell
778c2bfe9f
* new PAYLOAD_TYPE_CONTROL (11)
...
* repeater: onControlDataRecv(), now responds to new CTL_TYPE_NODE_DISCOVER_REQ (zero hop only)
* node prefs: new discovery_mod_timestamp (will be set to affect when node should respond to DISCOVERY_REQ's )
2025-11-06 00:56:54 +11:00
Scott Powell
2602c80004
* is_name_char() bug fix
2025-11-05 15:34:23 +11:00
Scott Powell
11fdf82162
* companion: new CMD_SET_FLOOD_SCOPE (54)
2025-11-05 14:56:18 +11:00
Scott Powell
fc909dfc24
* RegionMap: inverted 'flags' to _deny_ bits
...
* Mesh: new filterRecvFloodPacket() for overriding
* repeater CLI: 'allow' -> 'allowf' or 'denyf'
2025-11-05 14:34:44 +11:00
Scott Powell
47a74f6a12
* Mesh: new sendFlood() overload with transport codes.
...
* BaseChatMesh: sendFloodScoped(), for overriding with some outbound 'scope' / TransportKey
* companion: new 'send_scope' variable.
2025-11-04 01:21:56 +11:00
Scott Powell
255b82c3a6
* new CLI commands: region, region load, region save, region get, region allow
2025-11-03 22:53:14 +11:00
Scott Powell
aae68a5591
* setting up framework for Regions, TransportKeys, etc
2025-11-03 14:23:32 +11:00
Adam Mealings
612cff8b33
Analogue button delay based on millis
2025-10-31 13:04:59 +00:00
Scott Powell
ff07bbc2ad
* Companion: Now using transport codes { 0, 0 } when Share contact zero hop.
...
* Repeater: onAdvertRecv(), adverts via Share now NOT added to neighbours table
2025-10-31 20:40:22 +11:00
ripplebiz
753ebe4878
Merge pull request #1036 from oltaco/datastore-refactor
...
Refactor DataStore to use openRead() and openWrite()
2025-10-31 17:10:03 +11:00
ripplebiz
8f3ba9a9f2
Merge pull request #993 from recrof/allow_lower_bw_sf
...
allow saving spreading factor from 5 and bandwidth from 7.8kHz
2025-10-31 16:58:35 +11:00
taco
ac6c13cc5d
revert pubBlobByKey() change
2025-10-31 15:06:29 +11:00
taco
3bae0e083c
refactor DataStore to use openRead() and openWrite()
...
refactored loadPrefsInt(), loadContacts(), loadChannels(), getBlobByKey() and putBlobByKey() to use openRead() and openWrite()
2025-10-31 13:17:22 +11:00
Scott Powell
116a432946
* FIX: for divide by zero crash
2025-10-30 19:11:04 +11:00
Scott Powell
7ff483ab74
* Fix for VolatileRTCClock wrapping around to initial synced time every 49 days
2025-10-30 16:45:50 +11:00
Scott Powell
28ca26f691
* direct.txdelay default now 0.2 (was zero)
2025-10-30 00:03:10 +11:00