NIM services: Difference between revisions
Line 1,106: | Line 1,106: | ||
With SystemUpdate the server only uses StorageId=BuiltInSystem. | With SystemUpdate the server only uses StorageId=BuiltInSystem. | ||
With SystemUpdate, when the server handles message 0x1 prior to loading the PackagedContentInfo, it first loads the [[CNMT]] ContentMetaInfo array with the ContentMetaKey from [[#CreateLocalCommunicationSendSystemUpdateTask|CreateLocalCommunicationSendSystemUpdateTask]]. The input message ContentMetaKey [[NCM_services|ContentInstallType]] must be 0x0 (Full), otherwise it skips the following loop. It then loops through the ContentMetaInfo array comparing against the input message ContentMetaKey, for verifying that one of the entries match. After the loop if a valid entry wasn't found, the input message ContentMetaKey must match the ContentMetaKey from [[#CreateLocalCommunicationSendSystemUpdateTask|CreateLocalCommunicationSendSystemUpdateTask]], otherwise an error is thrown. It then loads the PackagedContentInfo. | |||
With Application, when the server handles message 0x1 prior to loading the PackagedContentInfo, it first loops through the input array from [[#CreateLocalCommunicationSendApplicationTask|CreateLocalCommunicationSendApplicationTask]], throwing an error if the input ContentMetaKey doesn't match an entry from here. It then loads the PackagedContentInfo with the StorageId from the located entry. | With Application, when the server handles message 0x1 prior to loading the PackagedContentInfo, it first loops through the input array from [[#CreateLocalCommunicationSendApplicationTask|CreateLocalCommunicationSendApplicationTask]], throwing an error if the input ContentMetaKey doesn't match an entry from here. It then loads the PackagedContentInfo with the StorageId from the located entry. |