diff --git a/api/@ohos.bluetooth.access.d.ts b/api/@ohos.bluetooth.access.d.ts
index 13915e2e9ee373f5b6aeae58158d26bfcdfa8890..5b51cd2e04db6f80019491377fcd1947a151578c 100644
--- a/api/@ohos.bluetooth.access.d.ts
+++ b/api/@ohos.bluetooth.access.d.ts
@@ -442,7 +442,7 @@ declare namespace access {
/**
* The enum of bluetooth state.
*
- * @enum { number }
+ * @enum { int }
* @syscap SystemCapability.Communication.Bluetooth.Core
* @crossplatform
* @atomicservice
diff --git a/api/@ohos.bluetooth.ble.d.ts b/api/@ohos.bluetooth.ble.d.ts
index c2feb8c7779cfceaf1f6529b96f78e9b3128ae73..2271a38e95bdde4242a3bc6f7dc6724a603a1e22 100644
--- a/api/@ohos.bluetooth.ble.d.ts
+++ b/api/@ohos.bluetooth.ble.d.ts
@@ -2880,7 +2880,7 @@ declare namespace ble {
* Set the mtu size of a BLE peripheral device.
*
* @permission ohos.permission.ACCESS_BLUETOOTH
- * @param { number } mtu - The maximum transmission unit.
+ * @param { int } mtu - The maximum transmission unit.
* @throws { BusinessError } 201 - Permission denied.
* @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.
*
2. Incorrect parameter types. 3. Parameter verification failed.
@@ -2893,7 +2893,7 @@ declare namespace ble {
* @since arkts {'1.1':'13','1.2':'20'}
* @arkts 1.1&1.2
*/
- setBLEMtuSize(mtu: number): void;
+ setBLEMtuSize(mtu: int): void;
/**
* Enables or disables notification of a characteristic when value changed.
@@ -4107,14 +4107,14 @@ declare namespace ble {
/**
* The Id of the read request
*
- * @type { number }
+ * @type { int }
* @syscap SystemCapability.Communication.Bluetooth.Core
* @crossplatform
* @atomicservice
* @since arkts {'1.1':'13','1.2':'20'}
* @arkts 1.1&1.2
*/
- transId: number;
+ transId: int;
/**
* Indicates the byte offset of the start position for reading characteristic value
*
@@ -4125,13 +4125,13 @@ declare namespace ble {
/**
* Indicates the byte offset of the start position for reading characteristic value
*
- * @type { number }
+ * @type { int }
* @syscap SystemCapability.Communication.Bluetooth.Core
* @atomicservice
* @since arkts {'1.1':'12','1.2':'20'}
* @arkts 1.1&1.2
*/
- offset: number;
+ offset: int;
/**
* The UUID of a CharacteristicReadRequest instance
*
@@ -4256,14 +4256,14 @@ declare namespace ble {
/**
* The Id of the write request
*
- * @type { number }
+ * @type { int }
* @syscap SystemCapability.Communication.Bluetooth.Core
* @crossplatform
* @atomicservice
* @since arkts {'1.1':'13','1.2':'20'}
* @arkts 1.1&1.2
*/
- transId: number;
+ transId: int;
/**
* Indicates the byte offset of the start position for writing characteristic value
*
@@ -4274,13 +4274,13 @@ declare namespace ble {
/**
* Indicates the byte offset of the start position for writing characteristic value
*
- * @type { number }
+ * @type { int }
* @syscap SystemCapability.Communication.Bluetooth.Core
* @atomicservice
* @since arkts {'1.1':'12','1.2':'20'}
* @arkts 1.1&1.2
*/
- offset: number;
+ offset: int;
/**
* Whether this request should be pending for later operation
*
@@ -4463,14 +4463,14 @@ declare namespace ble {
/**
* The Id of the read request
*
- * @type { number }
+ * @type { int }
* @syscap SystemCapability.Communication.Bluetooth.Core
* @crossplatform
* @atomicservice
* @since arkts {'1.1':'13','1.2':'20'}
* @arkts 1.1&1.2
*/
- transId: number;
+ transId: int;
/**
* Indicates the byte offset of the start position for reading characteristic value
*
@@ -4481,13 +4481,13 @@ declare namespace ble {
/**
* Indicates the byte offset of the start position for reading characteristic value
*
- * @type { number }
+ * @type { int }
* @syscap SystemCapability.Communication.Bluetooth.Core
* @atomicservice
* @since arkts {'1.1':'12','1.2':'20'}
* @arkts 1.1&1.2
*/
- offset: number;
+ offset: int;
/**
* The UUID of a DescriptorReadRequest instance
*
@@ -4638,14 +4638,14 @@ declare namespace ble {
/**
* The Id of the write request
*
- * @type { number }
+ * @type { int }
* @syscap SystemCapability.Communication.Bluetooth.Core
* @crossplatform
* @atomicservice
* @since arkts {'1.1':'13','1.2':'20'}
* @arkts 1.1&1.2
*/
- transId: number;
+ transId: int;
/**
* Indicates the byte offset of the start position for writing characteristic value
*
@@ -4656,13 +4656,13 @@ declare namespace ble {
/**
* Indicates the byte offset of the start position for writing characteristic value
*
- * @type { number }
+ * @type { int }
* @syscap SystemCapability.Communication.Bluetooth.Core
* @atomicservice
* @since arkts {'1.1':'12','1.2':'20'}
* @arkts 1.1&1.2
*/
- offset: number;
+ offset: int;
/**
* Whether this request should be pending for later operation
*
@@ -4871,14 +4871,14 @@ declare namespace ble {
/**
* The Id of the write request
*
- * @type { number }
+ * @type { int }
* @syscap SystemCapability.Communication.Bluetooth.Core
* @crossplatform
* @atomicservice
* @since arkts {'1.1':'13','1.2':'20'}
* @arkts 1.1&1.2
*/
- transId: number;
+ transId: int;
/**
* Indicates the status of the read or write request, set this parameter to '0' in normal cases
*
@@ -4897,14 +4897,14 @@ declare namespace ble {
/**
* Indicates the status of the read or write request, set this parameter to '0' in normal cases
*
- * @type { number }
+ * @type { int }
* @syscap SystemCapability.Communication.Bluetooth.Core
* @crossplatform
* @atomicservice
* @since arkts {'1.1':'13','1.2':'20'}
* @arkts 1.1&1.2
*/
- status: number;
+ status: int;
/**
* Indicates the byte offset of the start position for reading or writing operation
*
@@ -4915,13 +4915,13 @@ declare namespace ble {
/**
* Indicates the byte offset of the start position for reading or writing operation
*
- * @type { number }
+ * @type { int }
* @syscap SystemCapability.Communication.Bluetooth.Core
* @atomicservice
* @since arkts {'1.1':'12','1.2':'20'}
* @arkts 1.1&1.2
*/
- offset: number;
+ offset: int;
/**
* Indicates the value to be sent
*
@@ -5259,13 +5259,13 @@ declare namespace ble {
* Maximum slot value for the advertising interval, which is {@code 16777215} (10485.759375s)
* Default slot value for the advertising interval, which is {@code 1600} (1s)
*
- * @type { ?number }
+ * @type { ?int }
* @syscap SystemCapability.Communication.Bluetooth.Core
* @atomicservice
* @since arkts {'1.1':'12','1.2':'20'}
* @arkts 1.1&1.2
*/
- interval?: number;
+ interval?: int;
/**
* Minimum transmission power level for advertising, which is {@code -127}
* Maximum transmission power level for advertising, which is {@code 1}
@@ -5280,13 +5280,13 @@ declare namespace ble {
* Maximum transmission power level for advertising, which is {@code 1}
* Default transmission power level for advertising, which is {@code -7}
*
- * @type { ?number }
+ * @type { ?int }
* @syscap SystemCapability.Communication.Bluetooth.Core
* @atomicservice
* @since arkts {'1.1':'12','1.2':'20'}
* @arkts 1.1&1.2
*/
- txPower?: number;
+ txPower?: int;
/**
* Indicates whether the BLE is connectable, default is {@code true}
*
@@ -5529,12 +5529,12 @@ declare namespace ble {
* The duration, in 10ms unit. Valid range is from 1 (10ms) to 65535 (655,350 ms).
* If this parameter is not specified or is set to 0, advertisement is continuously sent.
*
- * @type { ?number }
+ * @type { ?int }
* @syscap SystemCapability.Communication.Bluetooth.Core
* @since arkts {'1.1':'11','1.2':'20'}
* @arkts 1.1&1.2
*/
- duration?: number;
+ duration?: int;
}
/**
@@ -5558,12 +5558,12 @@ declare namespace ble {
* The duration, in 10ms unit. Valid range is from 1 (10ms) to 65535 (655,350 ms).
* If this parameter is not specified or is set to 0, advertise is continuously sent.
*
- * @type { ?number }
+ * @type { ?int }
* @syscap SystemCapability.Communication.Bluetooth.Core
* @since arkts {'1.1':'11','1.2':'20'}
* @arkts 1.1&1.2
*/
- duration?: number;
+ duration?: int;
}
/**
@@ -6154,14 +6154,14 @@ declare namespace ble {
/**
* Time of delay for reporting the scan result
*
- * @type { ?number }
+ * @type { ?int }
* @syscap SystemCapability.Communication.Bluetooth.Core
* @crossplatform
* @atomicservice
* @since arkts {'1.1':'13','1.2':'20'}
* @arkts 1.1&1.2
*/
- interval?: number;
+ interval?: int;
/**
* Bluetooth LE scan mode
*
@@ -6432,7 +6432,7 @@ declare namespace ble {
/**
* The enum of gatt characteristic write type
*
- * @enum { number }
+ * @enum { int }
* @syscap SystemCapability.Communication.Bluetooth.Core
* @crossplatform
* @atomicservice
@@ -6506,7 +6506,7 @@ declare namespace ble {
/**
* The enum of scan duty.
*
- * @enum { number }
+ * @enum { int }
* @syscap SystemCapability.Communication.Bluetooth.Core
* @crossplatform
* @atomicservice
@@ -6593,7 +6593,7 @@ declare namespace ble {
/**
* The enum of BLE match mode.
*
- * @enum { number }
+ * @enum { int }
* @syscap SystemCapability.Communication.Bluetooth.Core
* @atomicservice
* @since arkts {'1.1':'12','1.2':'20'}
diff --git a/api/@ohos.bluetooth.connection.d.ts b/api/@ohos.bluetooth.connection.d.ts
index efbc3b9f7738e38b5f256cea1f68ce30e9afb4af..828b7adc1c7a1ecd01546ea9f813d4ecc8c7acaa 100644
--- a/api/@ohos.bluetooth.connection.d.ts
+++ b/api/@ohos.bluetooth.connection.d.ts
@@ -746,7 +746,7 @@ declare namespace connection {
*
* @permission ohos.permission.ACCESS_BLUETOOTH
* @param { ScanMode } mode - Indicates the Bluetooth scan mode to set.
- * @param { number } duration - Indicates the duration in seconds, in which the host is discoverable.
+ * @param { int } duration - Indicates the duration in seconds, in which the host is discoverable.
* @throws { BusinessError } 201 - Permission denied.
* @throws { BusinessError } 401 - Invalid parameter. Possible causes: 1. Mandatory parameters are left unspecified.
*
2. Incorrect parameter types. 3. Parameter verification failed.
@@ -758,7 +758,7 @@ declare namespace connection {
* @since arkts {'1.1':'10','1.2':'20'}
* @arkts 1.1&1.2
*/
- function setBluetoothScanMode(mode: ScanMode, duration: number): void;
+ function setBluetoothScanMode(mode: ScanMode, duration: int): void;
/**
* Obtains the Bluetooth scanning mode of a device.
@@ -1804,7 +1804,7 @@ declare namespace connection {
/**
* The enum of BR scan mode.
*
- * @enum { number }
+ * @enum { int }
* @syscap SystemCapability.Communication.Bluetooth.Core
* @crossplatform
* @since arkts {'1.1':'13','1.2':'20'}
@@ -1895,7 +1895,7 @@ declare namespace connection {
/**
* The enum of bond state.
*
- * @enum { number }
+ * @enum { int }
* @syscap SystemCapability.Communication.Bluetooth.Core
* @crossplatform
* @atomicservice
diff --git a/api/@ohos.bluetooth.constant.d.ts b/api/@ohos.bluetooth.constant.d.ts
index 2f6a671b02713dbe273184c4ca74eb99f29ce29a..acd1baf6cd7f54b8f4373698e3f8ebd07dc5c624 100644
--- a/api/@ohos.bluetooth.constant.d.ts
+++ b/api/@ohos.bluetooth.constant.d.ts
@@ -361,7 +361,7 @@ declare namespace constant {
/**
* The enum of profile connection state.
*
- * @enum { number }
+ * @enum { int }
* @syscap SystemCapability.Communication.Bluetooth.Core
* @crossplatform
* @atomicservice
@@ -471,7 +471,7 @@ declare namespace constant {
/**
* The enum of major class of a bluetooth device.
*
- * @enum { number }
+ * @enum { int }
* @syscap SystemCapability.Communication.Bluetooth.Core
* @crossplatform
* @since arkts {'1.1':'13','1.2':'20'}
@@ -584,7 +584,7 @@ declare namespace constant {
/**
* The enum of major minor class of a bluetooth device.
*
- * @enum { number }
+ * @enum { int }
* @syscap SystemCapability.Communication.Bluetooth.Core
* @crossplatform
* @since arkts {'1.1':'13','1.2':'20'}