agessaman
ed27ebd015
Refactor MQTTBridge to utilize FreeRTOS for improved task management and responsiveness
...
- Moved MQTT processing to a dedicated FreeRTOS task on Core 0, enhancing non-blocking behavior.
- Implemented a FreeRTOS queue for thread-safe packet handling, replacing the previous circular buffer approach.
- Updated WiFi initialization and connection management to occur within the FreeRTOS task, improving overall system responsiveness.
- Enhanced logging and error handling for MQTT connections and packet processing.
- Cached broker and analyzer server statuses to reduce redundant checks and improve efficiency.
2026-01-21 20:28:36 -08:00
agessaman
ffa2a1ecdd
Refactor advert timer calculation in MyMesh and SensorMesh for type consistency
...
- Updated the advert timer calculation to explicitly cast the advert interval to an integer type, ensuring consistent behavior across different mesh implementations.
- Enhanced the savePrefs function in CommonCLI to trigger advert timer updates when the advert interval changes, improving responsiveness to user configuration changes.
- Removed the aggressive 4-hour health check in MQTTBridge to prevent connection instability, allowing the MQTT client library to manage connection health internally.
2026-01-08 20:57:28 -08:00
agessaman
617e3b17c0
Enhance loop processing in MyMesh and MQTTBridge to prioritize radio reception and improve responsiveness. Add comments for clarity on packet processing limits and WiFi status handling during MQTT operations.
2026-01-02 13:36:41 -08:00
agessaman
6b0c0e931f
Add IP address display for MQTT bridge devices in UITask
2026-01-02 13:36:41 -08:00
agessaman
0cd0c36ab9
initial commit to add MQTT observer support to Room Servers
2026-01-02 13:36:41 -08:00
Jonathan Stöcklmayerand agessaman
0c34557862
Fix debug log: use c->extra.room.push_failures instead of non-existent c->push_failures
2026-01-02 13:36:40 -08:00
Scott Powell
e054597a18
* ver 1.11.0
2025-11-30 18:32:10 +11:00
ripplebiz and GitHub
79a036f995
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
30ccc1fa01
* BUG FIX: remote login fix same as repeater
2025-11-25 15:12:48 +11:00
taco
e13c064487
add board.setAdcMultiplier to room server and sensor
2025-11-21 21:46:55 +11:00
Winston Lowe
031fa1e704
Changed uint to a uint8_t
2025-11-20 21:58:42 -08:00
Scott Powell
91e9fcea4b
* ver 1.10.0
2025-11-13 20:45:38 +11:00
ripplebiz and GitHub
ba6b8535c9
Merge pull request #971 from fdlamotte/remove_set_setting_by_key
...
SensorManager: remove setSettingByKey
2025-11-11 23:40:13 +11:00
Florent
90e26129ee
Merge branch 'dev' into remove_set_setting_by_key
2025-11-11 12:23:12 +01:00
Scott Powell
ab0721d6df
* 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
96e786fa9e
* FIX: for divide by zero crash
2025-10-30 19:11:04 +11:00
Scott Powell
3d9378d91e
* Fix for VolatileRTCClock wrapping around to initial synced time every 49 days
2025-10-30 16:45:50 +11:00
Scott Powell
80f0405600
* direct.txdelay default now 0.2 (was zero)
2025-10-30 00:03:10 +11:00
Scott Powell
8cbcd2271d
* experimental: retransmit delay, removing the 6 'slots'
2025-10-29 23:35:46 +11:00
Michael Hart
81ab944682
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
liamcottle
273a54f104
increase room server max uptime from 49 days to 136 years
2025-10-23 23:29:08 +13:00
Florent
37dc715a8e
SensorManager: remove setSettingByKey
2025-10-18 23:37:58 +02:00
Florent
3210475f35
CommonCli: Remove dependency on target.h
2025-10-18 12:33:43 +02:00
Scott Powell
c6b4a58449
* repeater and room server: enable downgrading permissions on guest login
2025-10-14 12:31:43 +11:00
Scott Powell
93c0180740
* Refactor: advert_loc_policy now applied in new method CommonCLI::buildAdvertData()
2025-10-12 12:49:26 +11:00
Scott Powell
837e7dcbdb
* Advert type fix
...
* GPS pref defaults tidy
2025-10-12 12:33:20 +11:00
Florent
bf1da43d7d
gps_cli: gps advert to control advert location policy
2025-10-11 19:00:02 +02:00
Florent de Lamotte
9e3c2fc9d9
gps_cli: gps also restored on sensors and rooms
2025-10-06 15:30:18 +02:00
Scott Powell
8d8b9a6141
* ver 1.9.1
2025-10-02 12:52:19 +10:00
Scott Powell
b92d9bd972
* ver 1.9.0
2025-09-28 19:24:00 +10:00
Scott Powell
95e533d60b
* repeater & room server fix for blank guest password
2025-09-27 01:56:27 +10:00
Scott Powell
a5af1b5bcd
* 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
c21596341a
* Login response payload: now includes FIRMWARE_VER_LEVEL
2025-09-25 09:07:59 +10:00
Scott Powell
5ccacb2a91
* bug fix
2025-09-14 21:51:32 +10:00
Scott Powell
ce08db6238
* room server: ClientACL added
2025-09-14 21:22:12 +10:00
Scott Powell
3666cd72e5
* room refactor: extracted MyMesh class
2025-09-09 20:52:19 +10:00
Quency-D
c9671d7d8d
add heltec meshpocket board.
2025-09-02 13:56:24 +08:00
Scott Powell
637891b814
* ver bump
2025-09-01 19:32:15 +10:00
Scott Powell
ee194a7b19
* added CommonCLI::saveIdentity()
2025-09-01 15:22:11 +10:00
Scott Powell
8b3c16c497
* ver bump
2025-08-31 23:42:15 +10:00
recrof
5dc930410c
set default flood advert interval to 12 hours
2025-08-20 13:44:41 +02:00
Scott Powell
28af68c187
* new CommonCLI commands: "get prv.key", "set prv.key {hex}"
2025-08-01 19:28:44 +10:00
Scott Powell
32e8ce4130
* 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
365cb89634
* ver bump to 1.7.4
2025-07-24 20:30:35 +10:00
Scott Powell
ea4aa93594
* 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
Scott Powell
6bc8dd28d4
* CommonCLI: new "multi.acks" config setting
2025-07-16 18:51:18 +10:00
Scott Powell
c26418016b
Merge branch 'dev' into double-acks
2025-07-15 17:02:20 +10:00
Scott Powell
f74819f8db
* ver bump
2025-07-15 15:59:10 +10:00
Scott Powell
1f23632751
Merge branch 'dev' into double-acks
2025-07-09 14:59:25 +10:00
Scott Powell
9cecbad2a7
* 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