mirror of
https://gitee.com/openharmony/communication_dsoftbus
synced 2024-11-27 02:40:40 +00:00
fix:Adapter bluetooth return code for duplicate addr
Signed-off-by: c00828596 <caiguangwei2@huawei.com>
This commit is contained in:
parent
3092ee557b
commit
f915bdf036
@ -56,6 +56,8 @@ int32_t BtStatusToSoftBus(BtStatus btStatus)
|
||||
return SOFTBUS_BC_STATUS_RMT_DEV_DOWN;
|
||||
case OHOS_BT_STATUS_AUTH_REJECTED:
|
||||
return SOFTBUS_BC_STATUS_AUTH_REJECTED;
|
||||
case OHOS_BT_STATUS_DUPLICATED_ADDR:
|
||||
return SOFTBUS_BC_STATUS_DUPLICATED_ADDR;
|
||||
default:
|
||||
return SOFTBUS_BC_STATUS_FAIL;
|
||||
}
|
||||
|
@ -159,7 +159,8 @@ typedef enum {
|
||||
SOFTBUS_BC_STATUS_UNHANDLED,
|
||||
SOFTBUS_BC_STATUS_AUTH_FAILURE,
|
||||
SOFTBUS_BC_STATUS_RMT_DEV_DOWN,
|
||||
SOFTBUS_BC_STATUS_AUTH_REJECTED
|
||||
SOFTBUS_BC_STATUS_AUTH_REJECTED,
|
||||
SOFTBUS_BC_STATUS_DUPLICATED_ADDR
|
||||
} SoftBusBcStatus;
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user