Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

22-byte Name descriptor (0x2901) throws GATT error 7 (offset error) - shorter or longer names are fine #383

Open
Labels
topic: codeRelated to content of the project itself type: imperfectionPerceived defect in any part of project
@madmanguruman

Description

Both LightBlue and Nordic RF Connect show the same behaviour:

ESP32-S3, ArduinoBLE 1.3.7

A name characteristic that is exactly 22 bytes long cannot be read by the BLE peripheral, showing GATT error 7.

BLEDescriptor ECM1PWMName("2901", "ECM1 PWM Speed Control");

Adding a single space to the end makes the descriptor work perfectly.

BLEDescriptor ECM1PWMName("2901", "ECM1 PWM Speed Control ");

Name descriptors both shorter than or longer than 22 bytes work well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: codeRelated to content of the project itself type: imperfectionPerceived defect in any part of project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /