NS services: Difference between revisions
Line 406: | Line 406: | ||
These are "nn::ns::detail::IServiceGetterInterface". | These are "nn::ns::detail::IServiceGetterInterface". | ||
These commands check a state field for a command-specific bit and returns an error if not set, this is | These commands check a state field for a command-specific bit and returns an error if not set, this is a permissions check for service+command. | ||
[11.0.0+] ns:ro was added. | [11.0.0+] ns:ro was added. | ||
Line 414: | Line 414: | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
! Cmd || Name | ! Cmd || Name || Permission bit | ||
|- | |- | ||
| 7988 || [6.0.0+] [[#IDynamicRightsInterface|GetDynamicRightsInterface]] | | 7988 || [6.0.0+] [[#IDynamicRightsInterface|GetDynamicRightsInterface]] || 10 | ||
|- | |- | ||
| 7989 || [5.1.0+] [[#IReadOnlyApplicationControlDataInterface|GetReadOnlyApplicationControlDataInterface]] | | 7989 || [5.1.0+] [[#IReadOnlyApplicationControlDataInterface|GetReadOnlyApplicationControlDataInterface]] || 9 | ||
|- | |- | ||
| 7991 || [5.0.0+] [[#IReadOnlyApplicationRecordInterface|GetReadOnlyApplicationRecordInterface]] | | 7991 || [5.0.0+] [[#IReadOnlyApplicationRecordInterface|GetReadOnlyApplicationRecordInterface]] || 8 | ||
|- | |- | ||
| 7992 || [4.0.0+] [[#IECommerceInterface|GetECommerceInterface]] | | 7992 || [4.0.0+] [[#IECommerceInterface|GetECommerceInterface]] || 7 | ||
|- | |- | ||
| 7993 || [4.0.0+] [[#IApplicationVersionInterface|GetApplicationVersionInterface]] | | 7993 || [4.0.0+] [[#IApplicationVersionInterface|GetApplicationVersionInterface]] || 6 | ||
|- | |- | ||
| 7994 || [[#IFactoryResetInterface|GetFactoryResetInterface]] | | 7994 || [[#IFactoryResetInterface|GetFactoryResetInterface]] || 5 | ||
|- | |- | ||
| 7995 || [[#IAccountProxyInterface|GetAccountProxyInterface]] | | 7995 || [[#IAccountProxyInterface|GetAccountProxyInterface]] || 4 | ||
|- | |- | ||
| 7996 || [[#IApplicationManagerInterface|GetApplicationManagerInterface]] | | 7996 || [[#IApplicationManagerInterface|GetApplicationManagerInterface]] || 3 | ||
|- | |- | ||
| 7997 || [[#IDownloadTaskInterface|GetDownloadTaskInterface]] | | 7997 || [[#IDownloadTaskInterface|GetDownloadTaskInterface]] || 1 | ||
|- | |- | ||
| 7998 || [[#IContentManagementInterface|GetContentManagementInterface]] | | 7998 || [[#IContentManagementInterface|GetContentManagementInterface]] || 0 | ||
|- | |- | ||
| 7999 || [[#IDocumentInterface|GetDocumentInterface]] | | 7999 || [[#IDocumentInterface|GetDocumentInterface]] || 2 | ||
|} | |||
Permissions state field with each service: | |||
{| class="wikitable" border="1" | |||
|- | |||
! Service || Permissions | |||
|- | |||
| ns:web || 0x304 | |||
|- | |||
| ns:ec || 0x83 | |||
|- | |||
| ns:sweb || 0x387 | |||
|- | |||
| ns:rid || 0x10 | |||
|- | |||
| ns:rt || 0x20 | |||
|- | |||
| ns:ro || 0x301 | |||
|- | |||
| ns:am2 || 0x7FF | |||
|} | |} | ||