-
Notifications
You must be signed in to change notification settings - Fork 514
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
[ThreadNetwork] Add new framework Xcode 13 beta 5. #12533
[ThreadNetwork] Add new framework Xcode 13 beta 5. #12533
Conversation
|
||
[Async] | ||
[Export ("deleteCredentialsForBorderAgent:completion:")] | ||
void DeleteCredentialsForBorderAgent (NSData borderAgentId, Action<NSError> completion); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove ForBorderAgent
since it's the first parameter, not the action
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think so, there is a reason for the 'ForBorderAgent'. We have another method called 'RetrieveCredentialsForExtendedPanId' which takes a NsData too, I fear that people will either confuse the NSData between a PanId and a BorderId, so I prefer to be explicit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make sense
I'd usually check the swift names - but it looks like they are not (yet?) on the web doc
|
||
[Async] | ||
[Export ("retrieveCredentialsForBorderAgent:completion:")] | ||
void RetrieveCredentialsForBorderAgent (NSData borderAgentId, Action<THCredentials, NSError> completion); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove ForBorderAgent
since it's the first parameter, not the action
|
||
[Async] | ||
[Export ("storeCredentialsForBorderAgent:activeOperationalDataSet:completion:")] | ||
void StoreCredentialsForBorderAgent (NSData borderAgentId, NSData activeOperationalDataSet, Action<NSError> completion); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove ForBorderAgent
since it's the first parameter, not the action
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same.
src/threadnetwork.cs
Outdated
|
||
[Async] | ||
[Export ("retrieveCredentialsForExtendedPANID:completion:")] | ||
void RetrieveCredentialsForExtendedPanid (NSData extendedPanid, Action<THCredentials, NSError> completion); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove ForExtendedPanid
since it's the first parameter, not the action
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looking at context / doc [1], the first argument should be extendedPanId
(uppercase 'I')
[1] Requests Thread credentials for an extended Personal Area Network (PAN) ID.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I missed that.
✅ [PR Build] Tests passed on Build. ✅Tests passed on Build. API diff✅ API Diff from stable View API diffAPI & Generator diffℹ️ API Diff (from PR only) (please review changes) GitHub pagesResults can be found in the following github pages (it might take some time to publish): 🎉 All 111 tests passed 🎉Pipeline on Agent XAMBOT-1096.BigSur' |
Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
🔥 Tests failed catastrophically on Build (no summary found). 🔥Result file $(TEST_SUMMARY_PATH) not found. |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
❌ [PR Build] Tests failed on Build ❌Tests failed on Build. API diff✅ API Diff from stable View API diffAPI & Generator diffℹ️ API Diff (from PR only) (please review changes) GitHub pagesResults can be found in the following github pages (it might take some time to publish): Test results24 tests failed, 87 tests passed.Failed tests
Pipeline on Agent XAMBOT-1104.BigSur' |
❌ [PR Build] Tests failed on Build ❌Tests failed on Build. API diff✅ API Diff from stable View API diffAPI & Generator diffℹ️ API Diff (from PR only) (please review changes) GitHub pagesResults can be found in the following github pages (it might take some time to publish): Test results27 tests failed, 84 tests passed.Failed tests
Pipeline on Agent XAMBOT-1094.BigSur' |
❌ [PR Build] Tests failed on Build ❌Tests failed on Build. API diff✅ API Diff from stable View API diffAPI & Generator diffℹ️ API Diff (from PR only) (please review changes) GitHub pagesResults can be found in the following github pages (it might take some time to publish): Test results2 tests failed, 109 tests passed.Failed tests
Pipeline on Agent XAMBOT-1105.BigSur' |
Unrelated failures. |
No description provided.