You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the file esp-matter/connectedhomeip/connectedhomeip/src/platform/ESP32/ConfigurationManagerImpl.h only the function CHIP_ERROR GetPrimaryWiFiMACAddress(uint8_t * buf) override; is defined and as the name suggests support for Ethernet is missing.
Please add the generic definition CHIP_ERROR GetPrimaryMACAddress(MutableByteSpan buf) override; and provide a default implementation for Ethernet. I solved the problem by adding this definition and overriding the function in my main application with the correct MAC address of the used Ethernet chip.
Device Log: E (9141) chip[DIS]: Failed to get primary mac address of device. Generating a random one.
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
Missing GetPrimaryMACAddress(MutableByteSpan buf) in ConfigurationManagerImpl.h
Missing GetPrimaryMACAddress(MutableByteSpan buf) in ConfigurationManagerImpl.h (CON-780)
Sep 19, 2023
Update - @jzwyssig This is merged in upstream now: project-chip/connectedhomeip#29415
I will close this issue once the connectedhomeip submodule here is updated with the fix.
In the file
esp-matter/connectedhomeip/connectedhomeip/src/platform/ESP32/ConfigurationManagerImpl.h
only the functionCHIP_ERROR GetPrimaryWiFiMACAddress(uint8_t * buf) override;
is defined and as the name suggests support for Ethernet is missing.Please add the generic definition
CHIP_ERROR GetPrimaryMACAddress(MutableByteSpan buf) override;
and provide a default implementation for Ethernet. I solved the problem by adding this definition and overriding the function in my main application with the correct MAC address of the used Ethernet chip.Fix
Environment
The text was updated successfully, but these errors were encountered: