| Previous | Next |
| E_BLUETOOTH_ATT_INSUFFICIENT_RESOURCES | E_AUDIO_ENGINE_NODE_NOT_FOUND |
E_BLUETOOTH_ATT_UNKNOWN_ERROR
Preserve the original one-byte ATT error value
E_BLUETOOTH_ATT_UNKNOWN_ERROR is the Windows mapping for an ATT error that falls outside the standard values represented by the other HRESULT constants. It can indicate a profile-specific application error, a newer common profile error, a vendor-defined value, or a malformed server implementation using a reserved code.
Collapsing the result to “unknown” loses the distinction between these cases. The raw Error Response contains the request opcode, attribute handle, and one-byte error code; those fields are needed to consult the service specification or determine whether the peripheral violates the assigned ranges.
Capture before abstraction removes the details
- Record the raw ATT error byte in addition to the HRESULT.
- Identify whether the value lies in the application or common profile/service error ranges.
- Consult the exact Bluetooth service specification implemented by the characteristic.
- Flag values from reserved ranges as potential firmware defects instead of inventing a standard meaning.
References
- Bluetooth Core: ATT Error Response and error ranges
- Bluetooth SIG: common profile and service errors
- Microsoft: E_BLUETOOTH_ATT_UNKNOWN_ERROR
Looking for a different code? Search another status or error code.
