Line 842: |
Line 842: |
| | 2007 || [4.0.0+] [[#ListContentMetaKeyToDeliverApplication]] | | | 2007 || [4.0.0+] [[#ListContentMetaKeyToDeliverApplication]] |
| |- | | |- |
− | | 2008 || [4.0.0+] NeedsSystemUpdateToDeliverApplication | + | | 2008 || [4.0.0+] [[#NeedsSystemUpdateToDeliverApplication]] |
| |- | | |- |
| | 2009 || [4.0.0+] EstimateRequiredSize | | | 2009 || [4.0.0+] EstimateRequiredSize |
Line 1,003: |
Line 1,003: |
| | | |
| ==== SelectLatestSystemDeliveryInfo ==== | | ==== SelectLatestSystemDeliveryInfo ==== |
− | Takee a type-0x15 input buffer containing a [[#SystemDeliveryInfo]], a type-0x5 input buffer containing an array of [[#SystemDeliveryInfo]], a type-0x5 input buffer containing an array of [[#ApplicationDeliveryInfo]], and returns an output s32.
| + | Takes a type-0x15 input buffer containing a [[#SystemDeliveryInfo]], a type-0x5 input buffer containing an array of [[#SystemDeliveryInfo]], a type-0x5 input buffer containing an array of [[#ApplicationDeliveryInfo]], and returns an output s32. |
| | | |
| This determines the latest version from the input [[#ApplicationDeliveryInfo]] array, using value 0 if the array is empty. If this value is less than a state field, the state field value is used instead. Then this selects a [[#SystemDeliveryInfo]] with the latest version from the input array, where the minimum version is the previously mentioned value. The version must also be also be at least the version value from the type-0x15 [[#SystemDeliveryInfo]] buffer. This also does various validation, etc. The output s32 is an index in that array for the selected entry, -1 if none found. | | This determines the latest version from the input [[#ApplicationDeliveryInfo]] array, using value 0 if the array is empty. If this value is less than a state field, the state field value is used instead. Then this selects a [[#SystemDeliveryInfo]] with the latest version from the input array, where the minimum version is the previously mentioned value. The version must also be also be at least the version value from the type-0x15 [[#SystemDeliveryInfo]] buffer. This also does various validation, etc. The output s32 is an index in that array for the selected entry, -1 if none found. |
Line 1,040: |
Line 1,040: |
| | | |
| This will only return 1 ContentMetaKey entry. This will not output the entry when the input s32 is larger than 0. This also does other validation, etc. | | This will only return 1 ContentMetaKey entry. This will not output the entry when the input s32 is larger than 0. This also does other validation, etc. |
| + | |
| + | ==== NeedsSystemUpdateToDeliverApplication ==== |
| + | Takes a type-0x15 input buffer containing a [[#SystemDeliveryInfo]], a type-0x5 input buffer containing an array of [[#ApplicationDeliveryInfo]], and returns an output u8 bool. |
| + | |
| + | The array-count must match 1. |
| + | |
| + | After validation etc, this sets the output bool by comparing version fields in the [[#SystemDeliveryInfo]]/[[#ApplicationDeliveryInfo]] and with a state field. |
| | | |
| ==== RequestReceiveApplication ==== | | ==== RequestReceiveApplication ==== |