Difference between revisions of "News Services"
Jump to navigation
Jump to search
Line 23: | Line 23: | ||
| 0x000100C6 | | 0x000100C6 | ||
| [[NEWSS:AddNotification|AddNotification]] | | [[NEWSS:AddNotification|AddNotification]] | ||
+ | |- | ||
+ | | 0x0002.... | ||
+ | | ? | ||
+ | |- | ||
+ | | 0x0003.... | ||
+ | | ? | ||
+ | |- | ||
+ | | 0x0004.... | ||
+ | | ? | ||
|- | |- | ||
| 0x00050000 | | 0x00050000 | ||
| [[NEWSS:GetTotalNotifications|GetTotalNotifications]] | | [[NEWSS:GetTotalNotifications|GetTotalNotifications]] | ||
+ | |- | ||
+ | | 0x0006.... | ||
+ | | ? | ||
|- | |- | ||
| 0x00070082 | | 0x00070082 | ||
| [[NEWSS:SetNotificationHeader|SetNotificationHeader]] | | [[NEWSS:SetNotificationHeader|SetNotificationHeader]] | ||
+ | |- | ||
+ | | 0x0008.... | ||
+ | | ? | ||
+ | |- | ||
+ | | 0x0009.... | ||
+ | | ? | ||
|- | |- | ||
| 0x000A0082 | | 0x000A0082 | ||
Line 41: | Line 59: | ||
| 0x000D0082 | | 0x000D0082 | ||
| [[NEWSS:GetNotificationImage|GetNotificationImage]] | | [[NEWSS:GetNotificationImage|GetNotificationImage]] | ||
+ | |- | ||
+ | | 0x000E.... | ||
+ | | ? | ||
+ | |- | ||
+ | | 0x000F.... | ||
+ | | ? | ||
+ | |- | ||
+ | | 0x0010.... | ||
+ | | ? | ||
+ | |- | ||
+ | | 0x0011.... | ||
+ | | ? | ||
+ | |- | ||
+ | | 0x0012.... | ||
+ | | ? | ||
+ | |- | ||
+ | | 0x0013.... | ||
+ | | ? | ||
+ | |- | ||
+ | | 0x0014.... | ||
+ | | ? | ||
|} | |} | ||
Revision as of 07:04, 12 December 2014
This system module handles the system notifications.
The maximum number of notifications that can be stored/handled is 100, hence the intended range for notificationIDs is 0-99.
News service "news:u"
Command Header | Description |
---|---|
0x000100C8 |
This service only has one command.
News service "news:s"
Command Header | Description |
---|---|
0x000100C6 | AddNotification |
0x0002.... | ? |
0x0003.... | ? |
0x0004.... | ? |
0x00050000 | GetTotalNotifications |
0x0006.... | ? |
0x00070082 | SetNotificationHeader |
0x0008.... | ? |
0x0009.... | ? |
0x000A0082 | GetNewsDBHeader |
0x000B0082 | GetNotificationHeader |
0x000C0082 | GetNotificationMessage |
0x000D0082 | GetNotificationImage |
0x000E.... | ? |
0x000F.... | ? |
0x0010.... | ? |
0x0011.... | ? |
0x0012.... | ? |
0x0013.... | ? |
0x0014.... | ? |
News module savedata
- "news.db": This is the main save-file, the filesize is fixed to 0x2BD0-bytes.
- "newsXXX.txt" This is the message data for this notification, where XXX is the decimal notification-index in the below headers-array.
- "newsXXX.mpo" This is the MPO data for this notification if any, where XXX is the decimal notification-index in the below headers-array.
news.db
Offset | Size | Description |
---|---|---|
0x0 | 0x10 | Header, normally first byte is value 0x1 and the rest all-zero. |
0x10 | 0x2BC0 (100 * 0x70) | Array of headers for each notification. |
Errors
Error code | Description |
---|---|
0xC8A12805 | The notification header data for the specified notificationID is not set. |