BLUETOOTH_ERROR_CONNECTION_REJECTED_DUE_TO_SECURITY_REASONS
Change-Id: I6ef3473667c892b66c2934348bf1b10924a7e3f6
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
switch (reason) {
case (int)BLUETOOTH_ERROR_PAGE_TIMEOUT:
return "Page timeout";
switch (reason) {
case (int)BLUETOOTH_ERROR_PAGE_TIMEOUT:
return "Page timeout";
- case (int)BLUETOOTH_ERROR_CONNECTION_TIMEOUT:
- return "Link loss";
+ case (int)BLUETOOTH_ERROR_AUTH_FAILURE:
+ return "Authentication Failure";
case (int)BLUETOOTH_ERROR_PIN_OR_KEY_MISSING:
return "PIN or Key missing";
case (int)BLUETOOTH_ERROR_PIN_OR_KEY_MISSING:
return "PIN or Key missing";
- case (int)BLUETOOTH_ERROR_LOCAL_HOST_TERM:
- return "Connection terminated by local host";
+ case (int)BLUETOOTH_ERROR_CONNECTION_TIMEOUT:
+ return "Link loss";
+ case (int)BLUETOOTH_ERROR_CONNECTION_REJECTED_DUE_TO_SECURITY_REASONS:
+ return "Connection rejected due to security reasons";
case (int)BLUETOOTH_ERROR_REMOTE_USER_TERM:
case (int)BLUETOOTH_ERROR_REMOTE_LOW_RESOURCES:
case (int)BLUETOOTH_ERROR_REMOTE_POWER_OFF:
return "Remote user terminated connection";
case (int)BLUETOOTH_ERROR_REMOTE_USER_TERM:
case (int)BLUETOOTH_ERROR_REMOTE_LOW_RESOURCES:
case (int)BLUETOOTH_ERROR_REMOTE_POWER_OFF:
return "Remote user terminated connection";
- case (int)BLUETOOTH_ERROR_AUTH_FAILURE:
- return "Authentication Failure";
+ case (int)BLUETOOTH_ERROR_LOCAL_HOST_TERM:
+ return "Connection terminated by local host";
case (int)BLUETOOTH_ERROR_REPEATED_ATTEMPTS:
return "Repeated attempts";
case (int)BLUETOOTH_ERROR_LMP_RESPONSE_TIMEOUT:
case (int)BLUETOOTH_ERROR_REPEATED_ATTEMPTS:
return "Repeated attempts";
case (int)BLUETOOTH_ERROR_LMP_RESPONSE_TIMEOUT:
#define BLUETOOTH_ERROR_AUTH_FAILURE 0x05
#define BLUETOOTH_ERROR_PIN_OR_KEY_MISSING 0x06
#define BLUETOOTH_ERROR_CONNECTION_TIMEOUT 0x08
#define BLUETOOTH_ERROR_AUTH_FAILURE 0x05
#define BLUETOOTH_ERROR_PIN_OR_KEY_MISSING 0x06
#define BLUETOOTH_ERROR_CONNECTION_TIMEOUT 0x08
+#define BLUETOOTH_ERROR_CONNECTION_REJECTED_DUE_TO_SECURITY_REASONS 0x0e
#define BLUETOOTH_ERROR_REMOTE_USER_TERM 0x13
#define BLUETOOTH_ERROR_REMOTE_LOW_RESOURCES 0x14
#define BLUETOOTH_ERROR_REMOTE_POWER_OFF 0x15
#define BLUETOOTH_ERROR_REMOTE_USER_TERM 0x13
#define BLUETOOTH_ERROR_REMOTE_LOW_RESOURCES 0x14
#define BLUETOOTH_ERROR_REMOTE_POWER_OFF 0x15