Add sysprop for maximum number of LE concurrent connections allowed
Bug: 283344957i
Test: m .
Change-Id: Ic451533f0ed89ed8e61c42ea8be3ef6791e10ebc
diff --git a/srcs/android/sysprop/BluetoothProperties.sysprop b/srcs/android/sysprop/BluetoothProperties.sysprop
index 958b1ff..d368107 100644
--- a/srcs/android/sysprop/BluetoothProperties.sysprop
+++ b/srcs/android/sysprop/BluetoothProperties.sysprop
@@ -757,6 +757,15 @@
prop_name: "bluetooth.core.le.vendor_capabilities.enabled"
}
+# Maximum number of number of allowed concurrent LE Connections
+prop {
+ api_name: "getLeMaxNumberOfConcurrentConnections"
+ type: UInt
+ scope: Public
+ access: Readonly
+ prop_name: "bluetooth.core.le.max_number_of_concurrent_connections"
+}
+
# list of supported HID transport protocols for IMU data over LE Audio by order of preferrence
# Comma separated list of:
# - "le-acl": LE ACL transport, the IMU data is reported via the sensor stack
diff --git a/srcs/api/PlatformProperties-current.txt b/srcs/api/PlatformProperties-current.txt
index e30f103..63d760c 100644
--- a/srcs/api/PlatformProperties-current.txt
+++ b/srcs/api/PlatformProperties-current.txt
@@ -65,6 +65,11 @@
prop_name: "bluetooth.hardware.power.tx_cur_ma"
}
prop {
+ api_name: "getLeMaxNumberOfConcurrentConnections"
+ type: UInt
+ prop_name: "bluetooth.core.le.max_number_of_concurrent_connections"
+ }
+ prop {
api_name: "isAdapterAddressValidationEnabled"
prop_name: "bluetooth.framework.adapter_address_validation"
}