NS services: Difference between revisions
No edit summary |
|||
Line 832: | Line 832: | ||
| 2002 || [4.0.0+] [[#VerifyDeliveryProtocolVersion]] | | 2002 || [4.0.0+] [[#VerifyDeliveryProtocolVersion]] | ||
|- | |- | ||
| 2003 || [4.0.0+] GetApplicationDeliveryInfo | | 2003 || [4.0.0+] [[#GetApplicationDeliveryInfo]] | ||
|- | |- | ||
| 2004 || [4.0.0+] HasAllContentsToDeliver | | 2004 || [4.0.0+] HasAllContentsToDeliver | ||
Line 1,006: | Line 1,006: | ||
This validates the [[#SystemDeliveryInfo]] HMAC and the protocol-version fields. Then the meta version is compared with a state field, an error is returned on match otherwise 0 is returned. | This validates the [[#SystemDeliveryInfo]] HMAC and the protocol-version fields. Then the meta version is compared with a state field, an error is returned on match otherwise 0 is returned. | ||
==== GetApplicationDeliveryInfo ==== | |||
Takes a type-0x6 output buffer containing an array of [[#ApplicationDeliveryInfo]], an input u32 bitmask <code>nn::ns::ApplicationDeliveryAttributeTag</code>, an u64 <code>nn::ncm::ApplicationId</code>, and returns an output s32 total_out. | |||
An error is thrown if any bit is set in ApplicationDeliveryAttributeTag besides bit1. The output array-count must be at least 1: only 1 entry will be written to this array (hence on success total_out will also only be 1 on success). | |||
=== IApplicationVersionInterface === | === IApplicationVersionInterface === |