libcyphal icon indicating copy to clipboard operation
libcyphal copied to clipboard

Usage info for uavcan_dynamic_node_id_server indicates cluster-size is optional. It isn't.

Open edwinhayes opened this issue 6 years ago • 2 comments

Running without the cluster size argument results in an error. Should probably assume the cluster size is 1 if the argument is missing?

edwinhayes avatar Jun 13 '18 03:06 edwinhayes

The documentation is unclear, indeed. The cluster size parameter is required only if the server is launched for the first time, with the persistent storage being empty. Once the storage is initialized, the cluster size is stored in it, and the server can retrieve the value from there if not provided by the user.

pavel-kirienko avatar Jun 13 '18 07:06 pavel-kirienko

Ah, ok. Thanks.

edwinhayes avatar Jun 13 '18 21:06 edwinhayes