NPNS services: Difference between revisions
ICreateTokenAsyncContext |
No edit summary |
||
(11 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
It uses a version of the libstrophe[http://strophe.im/libstrophe/] xmpp library with libxml2. | It uses a version of the libstrophe[http://strophe.im/libstrophe/] xmpp library with libxml2. | ||
Modifications were made to use the SSL services | Modifications were made to use the [[SSL services|ssl]] service and support network proxy settings. | ||
= npns:u = | = npns:u = | ||
Line 22: | Line 22: | ||
|- | |- | ||
| 7 || [[#GetStateChangeEvent]] | | 7 || [[#GetStateChangeEvent]] | ||
|- | |||
| 8 || [18.0.0+] ListenToByName | |||
|- | |- | ||
| 21 || CreateToken | | 21 || CreateToken | ||
Line 74: | Line 76: | ||
|- | |- | ||
| 7 || [[#GetStateChangeEvent]] | | 7 || [[#GetStateChangeEvent]] | ||
|- | |||
| 8 || [18.0.0+] ListenToByName | |||
|- | |- | ||
| 11 || SubscribeTopic | | 11 || SubscribeTopic | ||
Line 79: | Line 83: | ||
| 12 || UnsubscribeTopic | | 12 || UnsubscribeTopic | ||
|- | |- | ||
| 13 || QueryIsTopicExist | | 13 || [1.0.0-17.0.1] QueryIsTopicExist | ||
|- | |||
| 14 || [18.0.0+] SubscribeTopicByAccount | |||
|- | |||
| 15 || [18.0.0+] UnsubscribeTopicByAccount | |||
|- | |||
| 16 || [18.0.0+] DownloadSubscriptionList | |||
|- | |||
| 17 || [19.0.0+] | |||
|- | |- | ||
| 21 || CreateToken | | 21 || CreateToken | ||
Line 92: | Line 104: | ||
|- | |- | ||
| 26 || [5.0.0+] ListenToMyApplicationId | | 26 || [5.0.0+] ListenToMyApplicationId | ||
|- | |||
| 27 || [13.0.0+] DestroyTokenAll | |||
|- | |||
| 28 || [18.0.0+] CreateTokenWithName | |||
|- | |||
| 29 || [18.0.0+] DestroyTokenWithName | |||
|- | |- | ||
| 31 || UploadTokenToBaaS | | 31 || UploadTokenToBaaS | ||
Line 99: | Line 117: | ||
| 33 || [7.0.0+] CreateTokenForBaas | | 33 || [7.0.0+] CreateTokenForBaas | ||
|- | |- | ||
| 34 || [7.0.0+] | | 34 || [7.0.0-19.0.1] SetBaasDeviceAccountIdList | ||
|- | |||
| 35 || [17.0.0+] LinkNsaId | |||
|- | |||
| 36 || [17.0.0+] UnlinkNsaId | |||
|- | |||
| 37 || [18.0.0+] RelinkNsaId | |||
|- | |||
| 40 || [17.0.0+] GetNetworkServiceAccountIdTokenRequestEvent | |||
|- | |||
| 41 || [17.0.0+] TryPopNetworkServiceAccountIdTokenRequestUid | |||
|- | |||
| 42 || [17.0.0+] SetNetworkServiceAccountIdTokenSuccess | |||
|- | |||
| 43 || [17.0.0+] SetNetworkServiceAccountIdTokenFailure | |||
|- | |||
| 44 || [17.0.0+] SetUidList | |||
|- | |||
| 45 || [20.0.0+] ([17.0.0-18.1.0] PutDigitalTwinKeyValue) | |||
|- | |||
| 51 || [18.0.0+] DeleteDigitalTwinKeyValue | |||
|- | |||
| 52 || [20.0.0+] | |||
|- | |||
| 53 || [20.0.0+] | |||
|- | |||
| 60 || [19.0.0+] | |||
|- | |||
| 61 || [19.0.0+] | |||
|- | |||
| 70 || [20.0.0+] | |||
|- | |- | ||
| 101 || Suspend | | 101 || Suspend | ||
Line 110: | Line 158: | ||
|- | |- | ||
| 105 || [3.0.0+] GetPlayReportRequestEvent | | 105 || [3.0.0+] GetPlayReportRequestEvent | ||
|- | |||
| 106 || [18.0.0+] GetLastNotifiedTime | |||
|- | |||
| 107 || [18.0.0+] SetLastNotifiedTime | |||
|- | |- | ||
| 111 || [[#GetJid]] | | 111 || [[#GetJid]] | ||
Line 122: | Line 174: | ||
|- | |- | ||
| 120 || [7.0.0+] [[#CreateNotificationReceiver]] | | 120 || [7.0.0+] [[#CreateNotificationReceiver]] | ||
|- | |||
| 141 || [19.0.0+] | |||
|- | |||
| 142 || [19.0.0+] | |||
|- | |||
| 143 || [19.0.0+] | |||
|- | |||
| 144 || [19.0.0+] | |||
|- | |||
| 145 || [19.0.0+] | |||
|- | |||
| 146 || [20.0.0+] | |||
|- | |||
| 147 || [20.0.0+] | |||
|- | |- | ||
| 151 || [8.0.0+] GetStateWithHandover | | 151 || [8.0.0+] GetStateWithHandover | ||
Line 132: | Line 198: | ||
|- | |- | ||
| 155 || [12.0.0+] CreateTokenAsyncWithApplicationId | | 155 || [12.0.0+] CreateTokenAsyncWithApplicationId | ||
|- | |||
| 156 || [18.0.0+] CreateTokenWithNameAsync | |||
|- | |- | ||
| 161 || [10.0.0+] GetRequestChangeStateCancelEvent | | 161 || [10.0.0+] GetRequestChangeStateCancelEvent | ||
Line 140: | Line 208: | ||
|- | |- | ||
| 202 || [3.0.0+] RequestChangeStateForceAsync | | 202 || [3.0.0+] RequestChangeStateForceAsync | ||
|- | |||
| 203 || [20.0.0+] | |||
|- | |||
| 301 || [18.0.0-19.0.1] GetPassword | |||
|- | |||
| 302 || [18.0.0-19.0.1] GetAllImmigration | |||
|- | |||
| 303 || [18.0.0-19.0.1] GetNotificationHistories | |||
|- | |||
| 304 || [18.0.0-19.0.1] GetPersistentConnectionSummary | |||
|- | |||
| 305 || [18.0.0-19.0.1] GetDigitalTwinSummary | |||
|- | |||
| 306 || [18.0.0-19.0.1] GetDigitalTwinValue | |||
|} | |} | ||
ListenAll, ReceiveRaw, CreateToken, DestroyToken, QueryIsTokenValid are stubbed. They return 0x7fc9a on [1.0.0] and 0x36dc9a on later versions. | |||
[5.0.0+] CreateToken/DestroyToken now takes an additional 8-bytes of input and a PID. | [5.0.0+] CreateToken/DestroyToken now takes an additional 8-bytes of input and a PID. | ||
[20.0.0+] Cmd143 now takes a total of 0x10-bytes of input instead of 8-bytes. | |||
=== ListenTo === | === ListenTo === | ||
Line 189: | Line 273: | ||
|- | |- | ||
| 4 || GetReceiveEvent || No input, returns an output handle. | | 4 || GetReceiveEvent || No input, returns an output handle. | ||
|- | |||
| 5 || [18.0.0+] ListenToByName || | |||
|} | |} | ||
== ICreateTokenAsyncContext == | == ICreateTokenAsyncContext == | ||
This is "nn::npns::ICreateTokenAsyncContext". | This is "nn::npns::ICreateTokenAsyncContext". | ||
This was added with [12.0.0+]. | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 204: | Line 292: | ||
| 3 || GetResult | | 3 || GetResult | ||
|- | |- | ||
| | | 10 || GetToken | ||
|} | |} | ||
== ISubscriptionUpdateNotifier == | |||
This is "nn::npns::ISubscriptionUpdateNotifier". | |||
This was added with [19.0.0+]. | |||
{| class="wikitable" border="1" | |||
|- | |||
! Cmd || Name | |||
|- | |||
| 1 || | |||
|- | |||
| 2 || | |||
|} | |||
== IFuture == | |||
This is "nn::npns::IFuture". | |||
This was added with [19.0.0+]. | |||
{| class="wikitable" border="1" | |||
|- | |||
! Cmd || Name | |||
|- | |||
| 1 || | |||
|- | |||
| 2 || | |||
|- | |||
| 3 || | |||
|- | |||
| 10 || | |||
|} | |||
= Notes = | |||
[[Process_Manager_services|pm:bm]] GetBootMode is only used for passing <code>BootMode == Maintenance</code> to a func, which eventually writes that flag into object state. The func which uses GetBootMode is called from nnMain. | |||
[[Category:Services]] | [[Category:Services]] |