Skip to content

Feat: uci mqtt-forwarder add keep_alive/reconnect_interval, crc filters and callbacks options - #26

Open
devleesch001 wants to merge 5 commits into
chirpstack:masterfrom
devleesch001:master
Open

Feat: uci mqtt-forwarder add keep_alive/reconnect_interval, crc filters and callbacks options#26
devleesch001 wants to merge 5 commits into
chirpstack:masterfrom
devleesch001:master

Conversation

@devleesch001

@devleesch001 devleesch001 commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Hello

I Implement new [mqtt], [backend.filters] option and new section [callbacks] of chirpstack-mqtt-forwarder with UCI in chirpstack-mqtt-forwarder.sh for openWrt init.d service and LuCI interfaces.

The [callbacks] section uses a named UCI section rather than an anonymous one, so the init script can read it directly by name instead of iterating over section types, which keeps the shell code simpler and avoids accidental duplicates.

I added better validate for JoinEUI and DevAddr filter in LuCI interface with regex

[backend.filters]

  • forward_crc_ok
  • forward_crc_invalid
  • forward_crc_missing

[mqtt]

  • keep_alive_interval
  • reconnect_interval

[callbacks]

  • on_mqtt_connected
  • on_mqtt_connection_error

@devleesch001
devleesch001 marked this pull request as draft September 4, 2026 06:56
@devleesch001 devleesch001 changed the title mqtt-forwarder: add keep_alive/reconnect_interval, crc filters and callbacks options :WIP Feat: uci mqtt-forwarder add keep_alive/reconnect_interval, crc filters and callbacks options Sep 4, 2026
@devleesch001
devleesch001 marked this pull request as ready for review September 7, 2026 09:17
@devleesch001
devleesch001 marked this pull request as draft September 7, 2026 09:28
@devleesch001
devleesch001 marked this pull request as ready for review September 7, 2026 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant