Comments (8)
@aryanarayantiwari This is literally something we have automated tests for, and it works fine in those.
If it's not working for you, and you want help, you probably need to provide more information about what exactly you are doing (calling what APIs, with what arguments). And possibly logs, but let's start with the exact API calls you are making.
from connectedhomeip.
@bzbarsky-apple I am using openCommissioningWindow(withDiscriminator:duration:queue:completion:) api and the arguments that are passed are:-
Discriminator: 3840
duration: 30
queue: .main
from connectedhomeip.
Well, 30 is not a valid value for duration. That's why you get "Malformed Values in Cluster".
I wish the documentation you linked to included the docs on that function. See
connectedhomeip/src/darwin/Framework/CHIP/MTRBaseDevice.h
Lines 449 to 462 in 335ae19
"duration" is documented as being seconds. Per spec, valid values are between 3 and 15 minutes, so 180-900 seconds.
from connectedhomeip.
@bzbarsky-apple Yes, that was the root cause of my problem, Thanks!. I was wondering if it's documented that the commission window supports duration between 3 to 15 minutes.
from connectedhomeip.
I was wondering if it's documented that the commission window supports duration between 3 to 15 minutes.
It's in the published Matter specification, no? Just like all sorts of other constraints on various arguments.
But yes, in terms of API documentation there are some lacks here.
from connectedhomeip.
I was wondering if it's documented that the commission window supports duration between 3 to 15 minutes.
It's in the published Matter specification, no? Just like all sorts of other constraints on various arguments.
But yes, in terms of API documentation there are some lacks here.
Yes It's mentioned in the Announcement Section(5.4.2.3) of Matter Specification at page 239. Thanks for the help @bzbarsky-apple
from connectedhomeip.
Hi! @bzbarsky-apple . Could you please guide me onto how to discover what type of device I'm pairing with, meaning what kind of clusters does it support I would appreciate it if you would help.
from connectedhomeip.
You could read ServerList from the Descriptor cluster on all the endpoints, right?
from connectedhomeip.
Related Issues (20)
- [1.3] build error 2 files found with path 'META-INF/main.kotlin_module'
- [BUG] - Sometimes matter SDK crashes when shutdownCommissioning is called
- [Darwin] How to initialize MTRDeviceController with MTRKeypair HOT 2
- Need to add tests that test addition of endpoints, clusters and attributes for changes merged in #33523
- [Documentation] 1.3 Identify Cluster changes without revision update, new scenes management cluster with different cluster id
- dac revocation - Unit tests to for default implementation of CheckForRevokedDACChain()
- [BUG] Python controller failed to read attribute with Chip Stack Error 50 HOT 1
- [TC-TMP-2.1] - Python Script Failure HOT 3
- [Tooling] Update code generation MATTER_DM_PLUGIN_
- [Documentation] Missing Cross-Referenced Information for Basic Information Cluster / SubscriptionsPerFabric Field
- [Darwin] Failed in verifying 'Attestation Information' command received from the device: err 101 HOT 1
- [CERT-TEST-FAILURE] [TC-SC-3.6][TC-RR-1.1] - Test Failed HOT 3
- [ICD] Update ICDM-2.1 test case to match updated test plan
- Missing Thread stack lock can lead to crashes during ConnectToNetwork on some Thread devices during commissioning
- [IM] Follow-up: Expose API in CommandSender to get fabric index/node id
- Since terminal devices need certificates issued by authoritative organizations because of DAC, do commissioners and controllers also need certificates issued by certain authoritative organizations? [1.3] HOT 3
- [BUG] Commissioning failed with CHIP Error 0x000000C9: No shared trusted root HOT 1
- [1.3] Unable to execute bootstrap.sh on Darwin HOT 1
- Need to address outstanding comments - https://github.com/project-chip/connectedhomeip/pull/33523
- [Test Failed] TestDiscovery expects announcement for device type 0xffff which is no valid MEI HOT 2
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.