News Services: Difference between revisions

No edit summary
DaniElectra (talk | contribs)
m Add more docs for NEWS commands. the names are made up
Line 31: Line 31:
|-
|-
| 0x00040000
| 0x00040000
| ?
| [[NEWSS:ResetNotifications|ResetNotifications]]
|-
|-
| 0x00050000
| 0x00050000
Line 64: Line 64:
|-
|-
| 0x000F0000
| 0x000F0000
| SpotPass notifications related?
| [[NEWSS:SyncArrivedNotifications|SyncArrivedNotifications]]
|-
|-
| 0x00100040
| 0x00100040
| (u8 flag) ?
| [[NEWSS:SyncOneArrivedNotification|SyncOneArrivedNotification]]
|-
|-
| 0x00110000
| 0x00110000
| This writes the input u8 to a state field.
| [[NEWSS:SetAutomaticSyncFlag|SetAutomaticSyncFlag]]
|-
|-
| 0x00120082
| 0x00120082
Line 79: Line 79:
|-
|-
| 0x00140000
| 0x00140000
| This writes an unknown u32 value to cmdreply[2].
| [[NEWSS:GetTotalArrivedNotifications|GetTotalArrivedNotifications]]
|}
|}


Line 112: Line 112:
| 0x0
| 0x0
| 0x1
| 0x1
| Must be 0x1.
| Must be 0x1 "is valid".
|-
|-
| 0x1
| 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".
| Flags
|-
|-
| 0x2
| 0x2
| 0xE
| 0xE
| Normally zero?
| Normally zero?
|}
===Flags===
{| class="wikitable" border="1"
|-
!  Bit
!  Description
|-
| 0
| Set by news module when handling BOSS notifications and the AddNotification commands. This indicates that there's "unread" notifications, the notifications applet clears this once all notifications have been "read".
|-
| 1
| Set by news module when handling CECD notifications.
|}
|}


Line 141: Line 155:
|-
|-
| 0xC8A12805
| 0xC8A12805
| The notification header data for the specified notificationID is not set(the specified notification doesn't exist).
| The news.db or notification header data for the specified notificationID is not set(the specified notification doesn't exist).
|}
|}