Post

Replies

Boosts

Views

Activity

Reply to How do I use a Thread Network API in IOS
I am experiencing the same issue here, when running on iOS 17.1.1 I get: Client: -[THClient getConnectionEntitlementValidity]_block_invoke - Error: And when trying to retrieve credentials: Thread 1: Fatal error: 'try!' expression unexpectedly raised an error: Error Domain=ThreadCredentialsStore Code=3 "Failed to retrieve all active border router records" UserInfo={NSLocalizedDescription=Failed to retrieve all active border router records, NSUnderlyingError=0x282c197a0 {Error Domain=NSOSStatusErrorDomain Code=0 "(null)"}} I also tried to do the same on mac and as previous mentioned in this thread, it silently does nothing, no error but also does not succeed.
Nov ’23
Reply to How do I use a Thread Network API in IOS
Today I finally made it work, not sure exactly what I did, but first it started working on my iPad with beta iOS, then suddenly also on my iPhone with stable iOS. I also think I removed and added back the ”manage thread networks” capability in the project. QUESTION: The Only thing I wasn’t able to succeed is to store my thread network using THClient “store credentials” method, it always says I’m passing invalid parameter, so my question is how to convert my borderAgentID string into Data properly, same for the dataset string. Anyone succeeded on that?
Nov ’23