Repository navigation
Conversation
…ackport to 2.5) Backport of h2zero#442 to the release/2.5 branch. - NimBLECharacteristic: Added setWriteError(uint8_t) and getWriteError() const - NimBLECharacteristic::writeEvent(): Resets error slot before each write - NimBLEServer::handleGattEvent(): Returns write error for characteristic writes Co-authored-by: Jie Meng <jmengxy@gmail.com>
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Team Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Closing this as e330566 has been added to address this. |
Backport of #442 to the release/2.5 branch.
Summary
This backports the fix for propagating application-layer write rejections as ATT Error Responses to the 2.5 release branch.
Changes
Usage
Applications can now reject writes in onWrite() callbacks:
Testing
@h2zero - this is the backport requested in #442 comment. Would appreciate a review/merge when you have cycles.