Skip to content

[BUG] ESP32 BLE device name is not set #72950

Description

@rl-mediola

Reproduction steps

When scanning for BLE devices on my phone, the GAP name of my ESP32 is empty during advertising.
It should be MATTER-3840.

ble_svc_gap_device_name_set(mDeviceName) is called inside BLEManagerImpl::ConfigureAdvertisingData() without any errors.
mDeviceName is a valid string.
I have no idea why it is not working.

I tested it using the lighting sample for esp32h2 and esp32c5

Bug prevalence

Always

GitHub hash of the SDK that was being used

9d45993

Platform

esp32

Platform Version(s)

No response

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    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