NS services: Difference between revisions

No edit summary
Line 828: Line 828:
| 2000 || [4.0.0+] [[#GetSystemDeliveryInfo]]
| 2000 || [4.0.0+] [[#GetSystemDeliveryInfo]]
|-
|-
| 2001 || [4.0.0+] SelectLatestSystemDeliveryInfo
| 2001 || [4.0.0+] [[#SelectLatestSystemDeliveryInfo]]
|-
|-
| 2002 || [4.0.0+] [[#VerifyDeliveryProtocolVersion]]
| 2002 || [4.0.0+] [[#VerifyDeliveryProtocolVersion]]
Line 1,001: Line 1,001:


This generates a [[#SystemDeliveryInfo]] using the currently installed SystemUpdate meta title.
This generates a [[#SystemDeliveryInfo]] using the currently installed SystemUpdate meta title.
==== 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.
Selects a [[#SystemDeliveryInfo]] with the latest version from the input array. This also does various validation, etc. The output s32 is an index in that array for the selected entry, -1 if none found.


==== VerifyDeliveryProtocolVersion ====
==== VerifyDeliveryProtocolVersion ====