[request] Allow customisation of name attributes in BasicInformation Cluster
Summary
Hello,
Would it be possible to allow customising the following values as shown in the screenshot below?
- VendorName
- ProductName
- SerialNumber
These attributes are part on the BasicInformation Cluster (ClusterId 40 0x0028) on Endpoint 0
Best regards Ludovic
I found this:
Does this change the values for the bridge or the endpoint attached to the Matter bridge?
I will check the docs for the Matter library here to try and find the information.
I found this example in the repo: matter_lightbulb_custom_name.ino:
// Initial display name that can be changed by the user in the client apps
matter_bulb.set_device_name("Chell's bulb");
// Vendor/manufacturer name - cannot be changed by users
matter_bulb.set_vendor_name("Aperture Science");
// Product/model name - cannot be changed by users
matter_bulb.set_product_name("Weighted Storage Bulb");
// Serial number - cannot be changed by users
// Set the serial number to the chip's unique ID
matter_bulb.set_serial_number(getDeviceUniqueIdStr().c_str());
Matter.cpp#L115
void ArduinoMatterAppliance::set_device_name(const char* device_name)
It seems to be related with BridgedDeviceBasicInformation cluster attributes but not BasicInformation Cluster (ClusterId 40 0x0028) on Endpoint 0.
It seems to be related with
BridgedDeviceBasicInformationcluster attributes but notBasicInformation Cluster(ClusterId 40 0x0028) onEndpoint 0.
I did the test with matter_lightbulb_custom_name.ino and That's exactly it. The Matter bridge attributes do not change, only those of the endpoint: