Connecting Android phone over Matter

Hi - I was excited to see that Android launched the ability to connect/commission Matter devices in its production code.

On my Android phone (Android version 11)  I find it under Settings > Google > Devices & sharing > Matter devices & sharing.

There, you have the option to "Connect new device" and scan a QR code. When I do so, I can see from the Nrf5340 DK logs that an incoming connection is initiated, but ultimately, the Android device fails to connect.

Welcome any guidance on how to successfully connect in this situation. It would be great to be able to start experimenting and developing with Google's SDK.

(I am able to successfully connect, commission and control the Nordic device using the Android Chiptool app running on the same phone; I am using a production EERO6 as OTBR; v.2.1.0 of NRF connect).

Here is the relevant log output from the NRF5340 DK when the Android phone tries to connect:

D: 1902 [DL]SRP update succeeded
I: 51481 [EM]Received message of type 0x20 with protocolId (0, 0) and MessageCounter:226466062 on exchange 45940r
D: 51491 [EM]Generating StandaloneAck via exchange: 45940r
D: 51497 [EM]Sending Standalone Ack for MessageCounter:226466062 on exchange 45940r
I: 51504 [IN]Prepared unauthenticated message 0x2002c3a0 to 0x0000000000000000 (0)  of type 0x10 and protocolId (0, 0) on exchange 45940r with MessageCounter:12866973.
I: 51519 [IN]Sending unauthenticated msg 0x2002c3a0 with MessageCounter:12866973 to 0x0000000000000000 at monotonic time: 000000000000C93F msec
D: 51533 [EM]Flushed pending ack for MessageCounter:226466062 on exchange 45940r

  • Hi Dan

    I'm sorry, but we haven't done much testing with the Androids own Matter feature on our end I'm afraid, so we don't have experience with connecting to nRF devices like this. We do however, have a Builiding Android section in our Matter documentation, available here. You can use the apps there as explained, and build the tools if you'd like.

    What application are you running on your nRF53 DK when trying to connect to it through the Matter app/feature? And do you see any error messages on the phone side when the connection fails?

    If someone in the DevZone community has experience with this feature, feel free to come forward with ideas!

    Best regards,

    Simon

Related