Difference between revisions of "BCAT services"
Line 111: | Line 111: | ||
= <nowiki>news:a, news:c, news:m, news:p, news:v</nowiki> = | = <nowiki>news:a, news:c, news:m, news:p, news:v</nowiki> = | ||
These are <nowiki>"nn::news::detail::ipc::IServiceCreator"</nowiki>. | These are <nowiki>"nn::news::detail::ipc::IServiceCreator"</nowiki>. | ||
+ | |||
+ | {| class="wikitable" border="1" | ||
+ | |- | ||
+ | ! Cmd || Name || Notes | ||
+ | |- | ||
+ | | 0 || || No input, returns an [[#INewsService]]. | ||
+ | |- | ||
+ | | 1 || || No input, returns an [[#INewlyArrivedEventHolder]]. | ||
+ | |- | ||
+ | | 2 || || No input, returns an [[#INewsDataService]]. | ||
+ | |- | ||
+ | | 3 || || No input, returns an [[#INewsDatabaseService]]. | ||
+ | |- | ||
+ | | 4 || || No input, returns an [[#IOverwriteEventHolder]]. | ||
+ | |} | ||
+ | |||
+ | == INewsService == | ||
+ | This is <nowiki>"nn::news::detail::ipc::INewsService"</nowiki>. | ||
+ | |||
+ | {| class="wikitable" border="1" | ||
+ | |- | ||
+ | ! Cmd || Name | ||
+ | |- | ||
+ | | 10100 || | ||
+ | |- | ||
+ | | 20100 || | ||
+ | |- | ||
+ | | 30100 || | ||
+ | |- | ||
+ | | 30101 || | ||
+ | |- | ||
+ | | 30110 || [6.0.0+] | ||
+ | |- | ||
+ | | 30200 || | ||
+ | |- | ||
+ | | 30300 || | ||
+ | |- | ||
+ | | 30400 || | ||
+ | |- | ||
+ | | 40100 || | ||
+ | |- | ||
+ | | 40101 || | ||
+ | |- | ||
+ | | 40200 || | ||
+ | |- | ||
+ | | 40201 || | ||
+ | |- | ||
+ | | 90100 || | ||
+ | |} | ||
+ | |||
+ | == INewlyArrivedEventHolder == | ||
+ | This is <nowiki>"nn::news::detail::ipc::INewlyArrivedEventHolder"</nowiki>. | ||
+ | |||
+ | {| class="wikitable" border="1" | ||
+ | |- | ||
+ | ! Cmd || Name | ||
+ | |- | ||
+ | | 0 || | ||
+ | |} | ||
+ | |||
+ | == INewsDataService == | ||
+ | This is <nowiki>"nn::news::detail::ipc::INewsDataService"</nowiki>. | ||
+ | |||
+ | {| class="wikitable" border="1" | ||
+ | |- | ||
+ | ! Cmd || Name | ||
+ | |- | ||
+ | | 0 || | ||
+ | |- | ||
+ | | 1 || | ||
+ | |- | ||
+ | | 2 || | ||
+ | |- | ||
+ | | 3 || | ||
+ | |- | ||
+ | | 1001 || [6.0.0+] | ||
+ | |} | ||
+ | |||
+ | == INewsDatabaseService == | ||
+ | This is <nowiki>"nn::news::detail::ipc::INewsDatabaseService"</nowiki>. | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 125: | Line 205: | ||
|- | |- | ||
| 4 || | | 4 || | ||
+ | |- | ||
+ | | 5 || | ||
+ | |- | ||
+ | | 1000 || [6.0.0+] | ||
+ | |} | ||
+ | |||
+ | == IOverwriteEventHolder == | ||
+ | This is <nowiki>"nn::news::detail::ipc::IOverwriteEventHolder"</nowiki>. | ||
+ | |||
+ | {| class="wikitable" border="1" | ||
+ | |- | ||
+ | ! Cmd || Name | ||
+ | |- | ||
+ | | 0 || | ||
|} | |} | ||
Line 158: | Line 252: | ||
| 30300 || [6.0.0+] GetStorageUsage | | 30300 || [6.0.0+] GetStorageUsage | ||
|- | |- | ||
− | | 30400 || [ | + | | 30400 || [6.0.0+] GetStatistics |
|- | |- | ||
− | | 30401 || [ | + | | 30401 || [6.0.0+] GetThroughputHistory |
|- | |- | ||
− | | 30500 || [ | + | | 30500 || [6.0.0+] GetLastUploadError |
|- | |- | ||
| 40100 || IsUserAgreementCheckEnabled | | 40100 || IsUserAgreementCheckEnabled | ||
Line 169: | Line 263: | ||
|- | |- | ||
| 90100 || [6.0.0+] ReadAllReportFiles ([1.0.0-5.1.0] GetStorageUsage) | | 90100 || [6.0.0+] ReadAllReportFiles ([1.0.0-5.1.0] GetStorageUsage) | ||
+ | |- | ||
+ | | [?-5.1.0] 90200 || | ||
+ | |- | ||
+ | | [?-5.1.0] 90201 || | ||
+ | |- | ||
+ | | [?-5.1.0] 90300 || | ||
|} | |} | ||
Revision as of 02:32, 26 March 2019
BCAT (Background Content Asymmetric synchronized delivery and Transmission) encompasses a set of content download/upload related services.
bcat:a, bcat:m, bcat:u, bcat:s
These are "nn::bcat::detail::ipc::IServiceCreator".
Cmd | Name |
---|---|
0 | CreateBcatService |
1 | CreateDeliveryCacheStorageService |
2 | CreateDeliveryCacheStorageServiceWithApplicationId |
Equivalent to 3DS BOSS(SpotPass). See here for BCAT-content-container.
IBcatService
This is "nn::bcat::detail::ipc::IBcatService".
Cmd | Name |
---|---|
10100 | RequestSyncDeliveryCache |
10101 | [5.0.0+] RequestSyncDeliveryCacheWithDirectoryName |
10200 | [5.0.0+] CancelSyncDeliveryCacheRequest |
20100 | RequestSyncDeliveryCacheWithApplicationId |
20101 | [5.0.0+] RequestSyncDeliveryCacheWithApplicationIdAndDirectoryName |
30100 | SetPassphrase |
30200 | RegisterBackgroundDeliveryTask |
30201 | UnregisterBackgroundDeliveryTask |
30202 | BlockDeliveryTask |
30203 | UnblockDeliveryTask |
90100 | EnumerateBackgroundDeliveryTask |
90200 | GetDeliveryList |
90201 | ClearDeliveryCacheStorage |
90300 | GetPushNotificationLog |
IDeliveryCacheProgressService
This is "nn::bcat::detail::ipc::IDeliveryCacheProgressService".
Cmd | Name |
---|---|
0 | GetEvent |
1 | GetImpl |
IDeliveryCacheStorageService
This is "nn::bcat::detail::ipc::IDeliveryCacheStorageService".
Cmd | Name |
---|---|
0 | CreateFileService |
1 | CreateDirectoryService |
10 | EnumerateDeliveryCacheDirectory |
IDeliveryCacheFileService
This is "nn::bcat::detail::ipc::IDeliveryCacheFileService".
Cmd | Name |
---|---|
0 | Open |
1 | Read |
2 | GetSize |
3 | GetDigest |
IDeliveryCacheDirectoryService
This is "nn::bcat::detail::ipc::IDeliveryCacheDirectoryService".
Cmd | Name |
---|---|
0 | Open |
1 | Read |
2 | GetCount |
news:a, news:c, news:m, news:p, news:v
These are "nn::news::detail::ipc::IServiceCreator".
Cmd | Name | Notes |
---|---|---|
0 | No input, returns an #INewsService. | |
1 | No input, returns an #INewlyArrivedEventHolder. | |
2 | No input, returns an #INewsDataService. | |
3 | No input, returns an #INewsDatabaseService. | |
4 | No input, returns an #IOverwriteEventHolder. |
INewsService
This is "nn::news::detail::ipc::INewsService".
Cmd | Name |
---|---|
10100 | |
20100 | |
30100 | |
30101 | |
30110 | [6.0.0+] |
30200 | |
30300 | |
30400 | |
40100 | |
40101 | |
40200 | |
40201 | |
90100 |
INewlyArrivedEventHolder
This is "nn::news::detail::ipc::INewlyArrivedEventHolder".
Cmd | Name |
---|---|
0 |
INewsDataService
This is "nn::news::detail::ipc::INewsDataService".
Cmd | Name |
---|---|
0 | |
1 | |
2 | |
3 | |
1001 | [6.0.0+] |
INewsDatabaseService
This is "nn::news::detail::ipc::INewsDatabaseService".
Cmd | Name |
---|---|
0 | |
1 | |
2 | |
3 | |
4 | |
5 | |
1000 | [6.0.0+] |
IOverwriteEventHolder
This is "nn::news::detail::ipc::IOverwriteEventHolder".
Cmd | Name |
---|---|
0 |
prepo:a, prepo:a2, prepo:m, prepo:u, prepo:s
These are "nn::prepo::detail::ipc::IPrepoService".
Cmd | Name |
---|---|
10100 | SaveReportOld ([1.0.0-5.1.0] SaveReport) |
10101 | SaveReportWithUserOld ([1.0.0-5.1.0] SaveReportWithUser) |
10102 | [6.0.0+] SaveReport |
10103 | [6.0.0+] SaveReportWithUser |
10200 | RequestImmediateTransmission |
10300 | GetTransmissionStatus |
20100 | SaveSystemReport |
20101 | SaveSystemReportWithUser |
20200 | [4.0.0+] SetOperationMode |
30100 | ClearStorage |
30200 | [6.0.0+] ClearStatistics |
30300 | [6.0.0+] GetStorageUsage |
30400 | [6.0.0+] GetStatistics |
30401 | [6.0.0+] GetThroughputHistory |
30500 | [6.0.0+] GetLastUploadError |
40100 | IsUserAgreementCheckEnabled |
40101 | SetUserAgreementCheckEnabled |
90100 | [6.0.0+] ReadAllReportFiles ([1.0.0-5.1.0] GetStorageUsage) |
[?-5.1.0] 90200 | |
[?-5.1.0] 90201 | |
[?-5.1.0] 90300 |
Data reporting
The "Play Report" (prepo) service uploads system and user information to a cloud server. This includes the following fields:
sys_info data application_id event_id operation_mode lc_recorded_at (followed by a timestamp) nc_recorded_at (followed by a timestamp) nsa_id os_version
And the contents of the following file:
is_user_agreement_check_enabled.bin
All the information is periodically uploaded to the following URL:
- https://receive-%.dg.srv.nintendo.net/post
It also checks the validity of the device's authentication token using the following URL:
- https://dauth-%.ndas.srv.nintendo.net/v1/device_auth_token