Loading android/pandora/server/src/Gatt.kt +2 −1 Original line number Diff line number Diff line Loading @@ -54,6 +54,7 @@ class Gatt(private val context: Context) : GATTImplBase(), Closeable { private val serverManager by lazy { GattServerManager(mBluetoothManager, context, mScope) } private val flow: Flow<Intent> init { val intentFilter = IntentFilter() intentFilter.addAction(BluetoothDevice.ACTION_UUID) Loading Loading @@ -128,7 +129,7 @@ class Gatt(private val context: Context) : GATTImplBase(), Closeable { // we need to wait until the service discovery is finished to be able to discover again. // This takes between 20s and 28s, and there is no way to know if the service is busy or // not. // Delay was originally 30s, but due to flakyness increased to 32s. // Delay was originally 30s, but due to flakiness increased to 32s. delay(32000L) check(gattInstance.mGatt.discoverServiceByUuid(UUID.fromString(request.uuid))) // BluetoothGatt#discoverServiceByUuid does not trigger any callback and does not return Loading framework/tests/bumble/doc/guide.md +1 −1 Original line number Diff line number Diff line Loading @@ -84,7 +84,7 @@ First, create your file under `p/m/Blueooth/frameworks/bumble/src/android/blueto ```shell cd p/m/Bluetooth/frameworks/bumble/src/android/bluetooth touch DckTest.kt # We usualy name our test file <test_suite_name>Test.kt/.java touch DckTest.kt # We usually name our test file <test_suite_name>Test.kt/.java ``` Then add the minimum requirements: Loading pandora/interfaces/pandora_experimental/hfp.proto +1 −1 Original line number Diff line number Diff line Loading @@ -39,7 +39,7 @@ service HFP { rpc DeclineCallAsHandsfree(DeclineCallAsHandsfreeRequest) returns (DeclineCallAsHandsfreeResponse); // Connect to an incoming audio stream from a peer device (as a handsfree) rpc ConnectToAudioAsHandsfree(ConnectToAudioAsHandsfreeRequest) returns (ConnectToAudioAsHandsfreeResponse); // Disonnect from an incoming audio stream from a peer device (as a handsfree) // Disconnect from an incoming audio stream from a peer device (as a handsfree) rpc DisconnectFromAudioAsHandsfree(DisconnectFromAudioAsHandsfreeRequest) returns (DisconnectFromAudioAsHandsfreeResponse); // Make a call to a given phone number (as a handsfree) rpc MakeCallAsHandsfree(MakeCallAsHandsfreeRequest) returns (MakeCallAsHandsfreeResponse); Loading system/bta/gatt/bta_gattc_api.cc +1 −1 Original line number Diff line number Diff line Loading @@ -442,7 +442,7 @@ void BTA_GATTC_ReadCharDescr(uint16_t conn_id, uint16_t handle, tGATT_AUTH_REQ a * Description This function is called to read multiple characteristic or * characteristic descriptors. * * Parameters conn_id - connectino ID. * Parameters conn_id - connection ID. * p_read_multi - pointer to the read multiple parameter. * variable_len - whether "read multi variable length" variant * shall be used. Loading system/bta/include/bta_gatt_api.h +1 −1 Original line number Diff line number Diff line Loading @@ -810,7 +810,7 @@ void BTA_GATTC_ExecuteWrite(uint16_t conn_id, bool is_execute); * Description This function is called to read multiple characteristic or * characteristic descriptors. * * Parameters conn_id - connectino ID. * Parameters conn_id - connection ID. * p_read_multi - read multiple parameters. * variable_len - whether "read multi variable length" variant * shall be used. Loading Loading
android/pandora/server/src/Gatt.kt +2 −1 Original line number Diff line number Diff line Loading @@ -54,6 +54,7 @@ class Gatt(private val context: Context) : GATTImplBase(), Closeable { private val serverManager by lazy { GattServerManager(mBluetoothManager, context, mScope) } private val flow: Flow<Intent> init { val intentFilter = IntentFilter() intentFilter.addAction(BluetoothDevice.ACTION_UUID) Loading Loading @@ -128,7 +129,7 @@ class Gatt(private val context: Context) : GATTImplBase(), Closeable { // we need to wait until the service discovery is finished to be able to discover again. // This takes between 20s and 28s, and there is no way to know if the service is busy or // not. // Delay was originally 30s, but due to flakyness increased to 32s. // Delay was originally 30s, but due to flakiness increased to 32s. delay(32000L) check(gattInstance.mGatt.discoverServiceByUuid(UUID.fromString(request.uuid))) // BluetoothGatt#discoverServiceByUuid does not trigger any callback and does not return Loading
framework/tests/bumble/doc/guide.md +1 −1 Original line number Diff line number Diff line Loading @@ -84,7 +84,7 @@ First, create your file under `p/m/Blueooth/frameworks/bumble/src/android/blueto ```shell cd p/m/Bluetooth/frameworks/bumble/src/android/bluetooth touch DckTest.kt # We usualy name our test file <test_suite_name>Test.kt/.java touch DckTest.kt # We usually name our test file <test_suite_name>Test.kt/.java ``` Then add the minimum requirements: Loading
pandora/interfaces/pandora_experimental/hfp.proto +1 −1 Original line number Diff line number Diff line Loading @@ -39,7 +39,7 @@ service HFP { rpc DeclineCallAsHandsfree(DeclineCallAsHandsfreeRequest) returns (DeclineCallAsHandsfreeResponse); // Connect to an incoming audio stream from a peer device (as a handsfree) rpc ConnectToAudioAsHandsfree(ConnectToAudioAsHandsfreeRequest) returns (ConnectToAudioAsHandsfreeResponse); // Disonnect from an incoming audio stream from a peer device (as a handsfree) // Disconnect from an incoming audio stream from a peer device (as a handsfree) rpc DisconnectFromAudioAsHandsfree(DisconnectFromAudioAsHandsfreeRequest) returns (DisconnectFromAudioAsHandsfreeResponse); // Make a call to a given phone number (as a handsfree) rpc MakeCallAsHandsfree(MakeCallAsHandsfreeRequest) returns (MakeCallAsHandsfreeResponse); Loading
system/bta/gatt/bta_gattc_api.cc +1 −1 Original line number Diff line number Diff line Loading @@ -442,7 +442,7 @@ void BTA_GATTC_ReadCharDescr(uint16_t conn_id, uint16_t handle, tGATT_AUTH_REQ a * Description This function is called to read multiple characteristic or * characteristic descriptors. * * Parameters conn_id - connectino ID. * Parameters conn_id - connection ID. * p_read_multi - pointer to the read multiple parameter. * variable_len - whether "read multi variable length" variant * shall be used. Loading
system/bta/include/bta_gatt_api.h +1 −1 Original line number Diff line number Diff line Loading @@ -810,7 +810,7 @@ void BTA_GATTC_ExecuteWrite(uint16_t conn_id, bool is_execute); * Description This function is called to read multiple characteristic or * characteristic descriptors. * * Parameters conn_id - connectino ID. * Parameters conn_id - connection ID. * p_read_multi - read multiple parameters. * variable_len - whether "read multi variable length" variant * shall be used. Loading