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"
This service only has one command.
News service "news:s"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. The filesize should be <= <size listed here>, since that's the max size read by the notifications applet.
- "newsXXX.mpo" This is the MPO data for this notification if any, where XXX is the decimal notification-index in the below headers-array. The filesize should be <= <size listed here>, since that's the max size read by the notifications applet.
news.db
Offset
|
Size
|
Description
|
0x0
|
0x10
|
Header, see below.
|
0x10
|
0x2BC0 (100 * 0x70)
|
Array of headers for each notification.
|
Offset
|
Size
|
Description
|
0x0
|
0x1
|
Must be 0x1.
|
0x1
|
0x1
|
Flags: bit0 is set by news-module when handling the AddNotification commands. This indicates that there's "unread" notifications, the notifications applet clears this once all notifications have been "read".
|
0x2
|
0xE
|
Normally zero?
|
Errors
Error code
|
Description
|
0xC8A12805
|
The notification header data for the specified notificationID is not set(the specified notification doesn't exist).
|