ripplebiz
71e1e63dfd
Merge pull request #1297 from ViezeVingertjes/feature/duty-cycle-token-bucket
...
Implement token bucket duty cycle enforcement
2026-03-08 23:54:32 +11:00
Scott Powell
9f1f1bcf47
* CommonCLI: added "get/set path.hash.mode "
2026-02-23 14:25:19 +11:00
Scott Powell
62320b64c5
* refactor of Contact/Client out_path_len (stored in files), from signed to unsigned byte (+2 squashed commits)
...
Squashed commits:
[f326e25] * misc
[fa5152e] * new 'path mode' parsing in Dispatcher
2026-02-21 19:35:51 +11:00
Wessel Nieboer
20e71ebc53
Allow negative tx power
...
Like SX1262 allows -9 dBm lowest, some allow lower but that probably
isn't useful
2026-02-06 02:24:51 +01:00
liamcottle
6cb97cca77
boot adverts are now zero hop instead of flood
2026-01-26 22:20:36 +13:00
taco
a6ecec57f1
allow set prv.key from remote, validate new prv.key
2026-01-25 01:32:48 +11:00
taco
447b4ca36c
recalc ClientACL shared_secrets at startup
2026-01-25 01:32:44 +11:00
taco
1df8dc9ef3
refactor ClientACL and CommonCLI, add ClientACL::clear()
2026-01-25 01:31:53 +11:00
ViezeVingertjes
40a09e9450
Implement token bucket duty cycle enforcement
2026-01-04 21:33:46 +01: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
bcb3007a97
* BUG FIX: same remote login fix as repeater
2025-11-25 15:09:51 +11:00
taco
ed4178fa96
add board.setAdcMultiplier to room server and sensor
2025-11-21 21:46:55 +11:00
Winston Lowe
0c4e3b7e59
Changed uint to a uint8_t
2025-11-20 21:58:42 -08:00
Scott Powell
0e95b123d8
* Sensor: DISCOVER_REQ, prefix_only support
2025-11-11 20:08:05 +11:00
Florent
fc6fe7c6ba
sensor: copy control data code from repeater
2025-11-06 22:36:37 +01: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
28ca26f691
* direct.txdelay default now 0.2 (was zero)
2025-10-30 00:03:10 +11:00
Michael Hart
ed9f003c33
Adds serial commands to get stats
...
- Added formatStatsReply, formatRadioStatsReply, and formatPacketStatsReply methods in MyMesh for both simple_repeater, simple_room_server, and simple_sensor.
- Updated CommonCLI to handle new stats commands.
2025-10-28 23:55:49 -07:00
Florent
a578ffcfb7
CommonCli: Remove dependency on target.h
2025-10-18 12:33:43 +02:00
Scott Powell
6e8eaedd8f
* Refactor: advert_loc_policy now applied in new method CommonCLI::buildAdvertData()
2025-10-12 12:49:26 +11:00
Scott Powell
5b5aabcafd
* Advert type fix
...
* GPS pref defaults tidy
2025-10-12 12:33:20 +11:00
Florent
972b614f32
gps_cli: gps advert to control advert location policy
2025-10-11 19:00:02 +02:00
Florent de Lamotte
fefe01bf24
gps_cli: gps also restored on sensors and rooms
2025-10-06 15:30:18 +02:00
Scott Powell
d3ccef3845
* companion: disabled processing/sending of keep_alive packets (deprecated)
...
* FIRMWARE_VER_LEVEL now moved to end of response payloads
2025-09-25 09:39:11 +10:00
Scott Powell
7f14915350
* Login response payload: now includes FIRMWARE_VER_LEVEL
2025-09-25 09:07:59 +10:00
Scott Powell
a0d6f8348b
* refactor: moved ACL out of SensorMesh -> ClientACL
2025-09-12 15:35:31 +10:00
Scott Powell
c1233511b3
* added CommonCLI::saveIdentity()
2025-09-01 15:22:11 +10:00
Florent
28bedf9575
SensorMesh: add the possibility to receive msgs from admin
2025-08-27 21:19:12 +02:00
ripplebiz
d74482f061
Merge pull request #547 from fdlamotte/sensors_gpio
...
sensors: gpio command
2025-08-01 19:06:44 +10:00
Scott Powell
36cfc506ca
* REQ_TYPE_GET_TELEMETRY_DATA, first reserved byte (of 4) is now inverse mask to apply to permissions
2025-07-31 13:45:53 +10:00
Scott Powell
22efc0e72f
* CommonCLI: "set radio " now with optional 5th param timeout_mins, for applying temporary radio params for that many mins
...
* "advert" command now with longer delay, so that CLI reply is sent first
2025-07-23 21:40:37 +10:00
Florent
da9d2e3591
sensors: gpio apply masks
2025-07-23 08:02:57 +02:00
Florent
c320999283
sensors: gpio command
2025-07-22 21:08:15 +02:00
Scott Powell
bd35daf4ca
* sensor: "setperm {pubkey-hex} 0" command can now remove by partial pubkey
...
* sensor: login with blank password now just checks if sender is in ACL, and returns permissions (if so)
2025-07-16 21:16:05 +10:00
Scott Powell
6e07e6fec5
* Sensor permission levels renamed. Misc sensor fixes.
2025-07-16 14:18:05 +10:00
Scott Powell
f5f03ef00e
* simple_sensor: redesigned permissions
...
* companion: PUSH_CODE_LOGIN_SUCCESS now has extra byte in frame for ACL permissions
2025-07-15 15:05:38 +10:00
Scott Powell
8362ecd8e2
* Sensor: "get acl" command
2025-07-14 10:12:27 +10:00
Scott Powell
8c49467b6d
* simple_sensor: new REQ_TYPE_GET_ACCESS_LIST
2025-07-13 18:50:52 +10:00
Scott Powell
11b15d925e
* simple_sensor: handleCustomCommand() hook
2025-07-13 15:30:49 +10:00
Scott Powell
c4f0f1eede
* simple_sensor: added alert send queue, with retries, checks for ACKs, etc. Low pri alerts only 1 send attempt, otherwise 4 attempts
2025-07-12 12:26:16 +10:00
Scott Powell
fa06dee97c
* sensor node: now have two alert priorities, LO, HI
2025-07-09 15:50:36 +10:00
Scott Powell
7954e8fb1b
* misc
2025-07-08 23:19:35 +10:00
Scott Powell
44ae1d42b5
* misc fixes
2025-07-08 23:19:35 +10:00
Scott Powell
5ac7b9e03d
* implemented encoding responses to REQ_TYPE_GET_AVG_MIN_MAX
2025-07-08 23:19:35 +10:00
Scott Powell
25bde77afb
* implemented getter methods for telemetry value types
2025-07-08 23:19:35 +10:00
Scott Powell
8c56e9901f
* refactor: CommonCLI, processing of optional command prefix moved to handleCommand() call sites
...
* Sensor, anon_req now just for admin login (guest password now unused)
* special CLI command, "setperm {pubkey-hex} {permissions-int16}" for admin(s) to manage user access (permissions 0 = remove)
2025-07-08 23:19:35 +10:00
Scott Powell
3bb33a8017
* simplified alertIf()
...
* refactored TimeSeriesData to top-level class
2025-07-08 23:19:35 +10:00
Scott Powell
a7f8ac6b9d
* added REQ_TYPE_GET_AVG_MIN_MAX
...
* TimeSeriesData
* very basic SensorMesh::sendAlert()
2025-07-08 23:19:35 +10:00
Scott Powell
1c9194181a
* Mesh::onAnonDataRecv() slight optimisation, so that shared-secret calc doesn't need to be repeated
...
* SensporMesh: req_type now optionally encoded in anon_req payload (so can send various requests without a prior login)
2025-07-08 23:19:35 +10:00
Scott Powell
2df34a67b1
* first cut of new simple_sensor sketch
2025-07-08 23:19:34 +10:00