-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TC-MF-1.21][TC-MF-1.22] Failed to advertise commissionable node #19774
Comments
Error 0x19 is CHIP_ERROR_BUFFER_TOO_SMALL. @adamb-q What DUT is being used? That is, which exact example app (if this is an example app) and on what exact platform? Is it using minimal mdns or platform mdns? Is it possible to compile the DUT with |
I suspect based on where I see CHIP_ERROR_BUFFER_TOO_SMALL around advertising code:
Would it be possible to check the values of the following configuration variables?
|
Hi @bzbarsky-apple, yes this is a Thread device - light app on qpg platform. The configuration is as follows:
unfortunately I cannot recompile with |
Cert Blocker Review: Not clear what's going on here yet, @bzbarsky-apple will investigate. |
@adamb-q Thank you, that's very useful. Those config defines look reasonable: we have one service for the commissionable advertisement, 4 for the fabrics. Looking at the MD-1.21 DUT log again, here's something else interesting. Here's us finishing the 4th commissioning and advertising our 5 things (the device has extended discovery enabled, presumably):
And here's us trying to advertise after opening another commissioning window:
Here's what a previous (successful) opening of a commissioning window looked like:
Note the order of operations: we advertise all the operational services, then the new commissionable service (because opening a commissioning window creates a new instance name), then we remove the old commissionable service. In particular, We could work around that by reusing the @Damian-Nordic @kkasperczyk-no it looks to me like we should have one extra slot in the SRP services array than the max number we plan to advertise at a time, so we allow for the instance name of one of them at a time to change.... |
Hi @Damian-Nordic I tested your patch and there is no more error 0x19, but still mDNS timeout when trying to commission N+1-th fabric. Attaching logs: TC_MF_1_21_patched.log |
Ok, so now it looks like: #19642. As I suggested there, it's worth collecting logs from the OTBR as it seems the OTBR cannot handle the SRP update. You may try using a newer OTBR & RCP versions, too. |
In both MF-1.21 and MF-1.22 the DUT behavior is different than described in test instructions. After commissioning max number of fabrics and then trying to commission another one DUT reports:
Failed to advertise commissionable node: Error CHIP:0x00000019
and is not discovered by chip tool when trying to pair. As a result the error code is mDNS timeout instead of:
Device returned status 5 on receiving the NOC
which is expected by instructions.
MF-1.21_DUT.txt
MF-1.21-chip_tool.txt
MF-1.22_DUT.txt
MF-1.22-chip_tool.txt
The text was updated successfully, but these errors were encountered: