Skip to content

Bluetooth Server Device Name cannot be changed #1722

@axa88

Description

@axa88

Library/API/IoT binding

nanoFramework.Device.Bluetooth

Target name(s)

ESP32_PSRAM_BLE_GenericGraphic_REV3

Firmware version

1.15.0.361

Description

It seems that the Bluetooth Server Device Name (Generic Access 0x1800, Device Name 0x2A00) cannot be changed.
Rather it is being hardcoded to "nanoBLE"

How to reproduce

Create server and set:

BluetoothLEServer.Instance.DeviceName
BluetoothLEServer.Instance.Appearance

Observe Generic Access 0x1800, both Device Name 0x2A00 and Appearance 0x2A01 do not get set.

Expected behaviour

It is expected that when setting BluetoothLEServer DeviceName property, it would set this value.

Screenshots

No response

Sample project or code

private readonly BluetoothLEServer _server = BluetoothLEServer.Instance;

_server.DeviceName = "ESP-nf-BLE";
_server.Appearance = (ushort)SubCategory.GenericPhone;
_server.Start();

Aditional information

on a related note, the service's Appearance 0x2A01 isn't being set with its corresponding Appearance property either.

Metadata

Metadata

Assignees

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