Skip to content

ATTError cannot support additional common error codes #200

@dpogueproton

Description

@dpogueproton

The ATTError enum does not include (and cannot be extended to include) additional common profile and service error codes, as per the spec: https://www.bluetooth.com/wp-content/uploads/Files/Specification/HTML/CSS_v12/out/en/supplement-to-the-bluetooth-core-specification/common-profile-and-service-error-codes.html

In particular, because peripheral.willWrite expects a block that returns an ATTError?, it's not possible to return any of these additional error codes (or application-specific error codes).

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions