Skip to content

Compilation failure in esp_matter_controller_pairing_command.cpp as PeerAddress cannot be resolved #1776

@tomasmcguinness

Description

@tomasmcguinness

I am using the esp-matter component (v1.5.0 - thanks for that!) with ESP-IDF v5.5.4

Due to my sdkconfig setup, compilation fails on esp_matter_controller_pairing_command.cpp.

06: error: 'peerAddress' was not declared in this scope
  123 |     RendezvousParameters params = RendezvousParameters().SetSetupPINCode(m_setup_pincode).SetPeerAddress(peerAddress);

If I add using namespace chip::Transport; to the top of the C++ file, the compilation issue goes away.

I've tried to narrow down the cause, but I can't.

My sdkconfig file is attached, renamed to have a .txt extension to allow upload.

sdkconfig.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions