Currently you’ve to keep a seperate list of the active CanardRxSubscription to be able to print information e.g. active portIds of all active subscribers. Although technically this information is already available in libcanard.
Would it be something to expose the list of active CanardRxSubscriptions from libcanard so we could easily print status information?
Well currently it’s stated it’s for internal use only, thus you expect the API can be unstable.
Maybe adding an access function would be nice and futureproof.
How about we just remove the leading underscore and update the docs to state “do not modify this” instead of “internal use only”? Adding an extra accessor would go against the spirit of libcanard, I think.