mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-10 06:40:23 +00:00
fix name of error code
This commit is contained in:
parent
9638642b3f
commit
ac4c738e79
@ -269,7 +269,7 @@ static inline uint16_t setup_error_atribute_not_found(uint8_t * response_buffer,
|
||||
}
|
||||
|
||||
static inline uint16_t setup_error_invalid_handle(uint8_t * response_buffer, uint16_t request, uint16_t handle){
|
||||
return setup_error(response_buffer, request, handle, ATT_ERROR_ATTRIBUTE_INVALID);
|
||||
return setup_error(response_buffer, request, handle, ATT_ERROR_INVALID_HANDLE);
|
||||
}
|
||||
|
||||
static inline uint16_t setup_error_invalid_offset(uint8_t * response_buffer, uint16_t request, uint16_t handle){
|
||||
|
@ -82,7 +82,7 @@ extern "C" {
|
||||
#define ATT_SIGNED_WRITE_COMAND 0xD2
|
||||
|
||||
// MARK: ATT Error Codes
|
||||
#define ATT_ERROR_ATTRIBUTE_INVALID 0x01
|
||||
#define ATT_ERROR_INVALID_HANDLE 0x01
|
||||
#define ATT_ERROR_READ_NOT_PERMITTED 0x02
|
||||
#define ATT_ERROR_WRITE_NOT_PERMITTED 0x03
|
||||
#define ATT_ERROR_INVALID_PDU 0x04
|
||||
|
Loading…
x
Reference in New Issue
Block a user