Skip to content

Cordio BLE stack: No callback comes to the application for Descriptor Read and Write #9771

Closed
@cy-kishore

Description

@cy-kishore

When a GATT client reads or writes to the Characteristic descriptor application does not receive any read and write callback.

The below function GattServer::insert_descriptor in CordioGattserver.cpp does not set callback bits. Can you please check. Probably below bits need to be set for descriptors as well.

attribute_it->settings = ATTS_SET_READ_CBACK;
attribute_it->settings |= ATTS_SET_WRITE_CBACK;

Issue request type

[ ] Question
[ ] Enhancement
[X ] Bug

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions