Connecting a Matter or Thread Device