Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

fmendez89
Copy link

Summary

This PR adds support for filtering multicast groups by an associated device's DevEUI in the ChirpStack v4 API.

Changes

  • API (ListMulticastGroupsRequest)

    • Added an optional device_dev_eui field to allow filtering by device association.
  • Data Layer (Filters struct)

    • Introduced a new device_dev_eui: Option<EUI64> field to store the binary representation of the DevEUI.
  • Query Logic

    • Updated list and get_count functions to:
      • Apply a WHERE id IN (SELECT multicast_group_id FROM multicast_group_device WHERE dev_eui = ?) subselect when device_dev_eui is provided.

Motivation

Previously, there was no direct way to retrieve multicast groups associated with a specific device via the API.
This change improves usability by allowing a single API call to return only the multicast groups linked to the provided DevEUI.

@fmendez89 fmendez89 mentioned this pull request Aug 14, 2025
@fmendez89
Copy link
Author

Do I need to generate the clients from the proto files and push the changes or is there a CI/CD flow to generate them?

Signed-off-by: Fran Méndez <[email protected]>
@fmendez89
Copy link
Author

@brocaar I updated the pr with new commits a few weeks ago, can you run the workflow again please?

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