Comments (5)
Any updates? or information is this issue affecting more then this device (is it SoC, manufacturer etc issue?)
from connectedhomeip.
Hi, @igor90ns
It seems to me we can suppress ChipDeviceControllerException when invoking pairing API for android, but the root cause is related to BLE Gatt Service, you may check whether svcId is null or not with your debugging build.
You mention "On all other devices it seems that commissioning works fine", I assume this fails with the particular thread device, which seems to soemthing wrong on its BLE configuration. with that thread device
UUID svcUUID = convertBytesToUUID(svcId);
BluetoothGattService sendSvc = bluetoothGatt.getService(svcUUID);
if (sendSvc == null) {
Log.e(TAG, "Bad service");
return false;
}
from connectedhomeip.
Hi, @igor90ns
It seems to me we can suppress ChipDeviceControllerException when invoking pairing API for android, but the root cause is related to BLE Gatt Service, you may check whether svcId is null or not with your debugging build.
UUID svcUUID = convertBytesToUUID(svcId); BluetoothGattService sendSvc = bluetoothGatt.getService(svcUUID); if (sendSvc == null) { Log.e(TAG, "Bad service"); return false; }
I am using libraries and i cant access values, but when I set breakpoint i can see that var6 is null
UUID var5 = convertBytesToUUID(svcId);
BluetoothGattService var6 = var4.getService(var5);
if (var6 == null) {
Log.e(TAG, "Bad service");
return false;
You mention "On all other devices it seems that commissioning works fine", I assume this fails with the particular thread device, which seems to soemthing wrong on its BLE configuration. with that thread device
No, it means that I have tried same use case with different mobile devices (Samsung S22, Google Pixel 7, Huawei P9 Lite) and it works correctly with thread devices, but when i try same on Xiaomi Tab 5 (model 21051182g) with android 13 chiptool app crashes.
Regarding thread device, I have used Nanoleaf bulb and led strip (matter certified devices)
from connectedhomeip.
@igor90ns
I also found a similar issue. (LG Valvet in Android 12 version.)
Can you check if it is modified with the PR I uploaded?
from connectedhomeip.
@igor90ns feel free to reopen or create a new issue if it is still problematic, thanks
from connectedhomeip.
Related Issues (20)
- Occupancy Sensing: all timing attributes should be marked non-volatile in all examples HOT 2
- [1.3] Google Home Can't connect to your device HOT 1
- [BUG] [Matter1.4 TE#2] TC-OPSTATE-2.5 test failure with python script in step 2
- [1.3] The new added device is failed to get reported
- [ TC_OpstateCommon.py ] The script [TC_OpstateCommon.py] needs to be updated by removing the STEPS_TC_OPSTATE_BASE_1_1 section.
- [Feature] which mechanism can auto fetch & connect with the mobile device wifi in CHIPTool app
- [BUG] unable to commission nrf52840dk switch/light HOT 2
- [TC-ICDB-2.3] Check-In Messages uses the same node ID for both TH1 and TH2 HOT 2
- [CERT-TEST-FAILURE] TC-ICDB-2.2 DUT fails to stop check-in message when there is active subscription to client HOT 1
- [Fabric Sync] fabric-bridge/fabric-admin properly reflects bridged device CADMIN attributes HOT 1
- [BUG] The sink side fabric-admin try to pair non-exist fabric-bridge on the source side
- [TC-BOOLCFG-4.1] - Improve the readability and clarity of the test step descriptions in the Python script. HOT 1
- TC-BOOLCFG-xx] Improve Descriptions in All BOOLCFG Python Scripts
- [SVE] Investigate if we can access the default cluster handling automatically
- Update the SetActivePresetRequestRequest command to have a nullable presetHandle field
- [BUG] Commissioning Failure on Google PF with Thread device, "Can't connect to thread network"
- [Build] Can you update the Android SDK, or can I only use Ubuntu?
- [1.1] Failed to commission with Google Nest Hub.
- [BUG] Clang-Tidy error HOT 4
- [BUG] Commission Fail with error "Inet Layer shutdown","BLE shutdown","System Layer shutdown","Discovery timed out","Mdns: Browse failure (src/platform/Darwin/DnssdImpl.cpp:412: CHIP Error 0x00000074: The operation has been cancelled)","XPC connection invalid" HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from connectedhomeip.