39 lines
1.2 KiB
C
39 lines
1.2 KiB
C
#ifndef BTSTACK_ERROR_H
|
|
#define BTSTACK_ERROR_H
|
|
|
|
|
|
#define ERROR_CODE_SUCCESS 0x00
|
|
#define ERROR_CODE_PAGE_TIMEOUT 0x04
|
|
#define ERROR_CODE_AUTHENTICATION_FAILURE 0x05
|
|
#define ERROR_CODE_PIN_OR_KEY_MISSING 0x06
|
|
#define ERROR_CODE_CONNECTION_TIMEOUT 0x08
|
|
#define ERROR_CODE_SYNCHRONOUS_CONNECTION_LIMIT_TO_A_DEVICE_EXCEEDED 0x0A
|
|
#define ERROR_CODE_ACL_CONNECTION_ALREADY_EXISTS 0x0B
|
|
#define ERROR_CODE_CONNECTION_REJECTED_DUE_TO_LIMITED_RESOURCES 0x0D
|
|
#define ERROR_CODE_CONNECTION_REJECTED_DUE_TO_UNACCEPTABLE_BD_ADDR 0x0F
|
|
#define ERROR_CODE_CONNECTION_ACCEPT_TIMEOUT_EXCEEDED 0x10
|
|
#define ERROR_CODE_REMOTE_USER_TERMINATED_CONNECTION 0x13
|
|
#define ERROR_CODE_CONNECTION_TERMINATED_BY_LOCAL_HOST 0x16
|
|
|
|
#define CUSTOM_BB_AUTO_CANCEL_PAGE 0xFD //// app cancle page
|
|
#define BB_CANCEL_PAGE 0xFE //// bb cancle page
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|