diff --git a/adapter/common/net/bluetooth/broadcast/adapter/ble/src/softbus_ble_utils.c b/adapter/common/net/bluetooth/broadcast/adapter/ble/src/softbus_ble_utils.c index e63c28a19..38f814c1d 100644 --- a/adapter/common/net/bluetooth/broadcast/adapter/ble/src/softbus_ble_utils.c +++ b/adapter/common/net/bluetooth/broadcast/adapter/ble/src/softbus_ble_utils.c @@ -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; } diff --git a/adapter/common/net/bluetooth/broadcast/interface/softbus_broadcast_type.h b/adapter/common/net/bluetooth/broadcast/interface/softbus_broadcast_type.h index 34bb79d4e..d322ea353 100644 --- a/adapter/common/net/bluetooth/broadcast/interface/softbus_broadcast_type.h +++ b/adapter/common/net/bluetooth/broadcast/interface/softbus_broadcast_type.h @@ -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; /**