Post

Replies

Boosts

Views

Activity

Reply to How do I use a Thread Network API in IOS
I wonder what's wrong with my setup. Installed the ThreadNetwork mobile profile on the iOS 17.1 device. Setup MatterSupport Added the ThreadNetwork and MatterSupport framework. Added the _matter._tcp and _meshcop._udp on the Info.plist file. When calling this function provided from the docs, I'm still getting Client: -[THClient connectToXPCService]_block_invoke - CTCS XPC Client is invalidated error. func obtainCredentials(borderAgentID: Data) async -> (cred: THCredentials? ,err: Error? ) { let client = THClient() var credential: THCredentials? var err:Error? do { credential = try await client.credentials(forBorderAgentID: borderAgentID as Data) } catch { err = error } return (credential, err) }
Topic: App & System Services SubTopic: Core OS Tags:
Oct ’23
Reply to How do I use a Thread Network API in IOS
Do you have the corresponding entitlement enabled on the app? Or you just install the mobile profile on the device? I'm asking because I was never able to make it work. We don't have the corresponding entitlement yet, we only install the mobile profile on an iOS 17.1 device. I'm getting an error just by doing let thClient = THClient() in a function.
Topic: App & System Services SubTopic: Core OS Tags:
Oct ’23
Reply to How do I use a Thread Network API in IOS
I updated to iOS 17.2, and now I can save and manage credentials. However, I ran into a problem because the ThreadNetwork profile on my device expired. I reinstall it again, but I'm getting an error saying the "ThreadNetwork Framework Support" profile is no longer valid.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Nov ’23
Reply to Facing issue in using ThreadNetwork API in iOS
Hi, I have the same setup and getting the same error like you, did you manage to solve this?
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’23
Reply to How do I use a Thread Network API in IOS
@TeunVRAthom would you mind sharing what you did to make the THClient work? In your previous reply, you were experiencing this error, "THClient:[THClient] Client: -[THClient connectToXPCService]_block_invoke - CTCS XPC Client is invalidated". What did you do to fix it? Thanks!
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’23
Reply to How do I use a Thread Network API in IOS
I wonder what's wrong with my setup. Installed the ThreadNetwork mobile profile on the iOS 17.1 device. Setup MatterSupport Added the ThreadNetwork and MatterSupport framework. Added the _matter._tcp and _meshcop._udp on the Info.plist file. When calling this function provided from the docs, I'm still getting Client: -[THClient connectToXPCService]_block_invoke - CTCS XPC Client is invalidated error. func obtainCredentials(borderAgentID: Data) async -> (cred: THCredentials? ,err: Error? ) { let client = THClient() var credential: THCredentials? var err:Error? do { credential = try await client.credentials(forBorderAgentID: borderAgentID as Data) } catch { err = error } return (credential, err) }
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’23
Reply to How do I use a Thread Network API in IOS
Do you have the corresponding entitlement enabled on the app? Or you just install the mobile profile on the device? I'm asking because I was never able to make it work. We don't have the corresponding entitlement yet, we only install the mobile profile on an iOS 17.1 device. I'm getting an error just by doing let thClient = THClient() in a function.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’23
Reply to How do I use a Thread Network API in IOS
Same issue as @TeunVRAthom. I installed the ThreadNetwork mobile profile on an iOS 17 device and I'm getting the same error whenever I'm trying to access the THClient.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Sep ’23