Glue services: Difference between revisions
Line 577: | Line 577: | ||
| 0x01 | | 0x01 | ||
| Muted | | Muted | ||
|- | |||
| 0x04 | |||
| 0x04 | |||
| Padding | |||
|- | |- | ||
| 0x08 | | 0x08 | ||
Line 585: | Line 589: | ||
| 0x08 | | 0x08 | ||
| ApplicationId | | ApplicationId | ||
|- | |||
| 0x20 | |||
| 0x08 | |||
| Not set by sdksno, besides clearing it during initialization. | |||
|- | |- | ||
| 0x28 | | 0x28 | ||
Line 606: | Line 614: | ||
Array entries: | Array entries: | ||
Each byte is set using an input s32. An entry with value 0xFFFF (the default) indicates that it's disabled. | Each byte is set using an input s32. An entry with value 0xFFFF (the default) indicates that it's disabled. The high byte is the hour, the low byte is the minute. | ||
sdknso checks whether an entry is enabled with: <code>return ({last 5-bits of the entry} < 3) && ((entry & 0xfc) < 60);</code>. The first check is equivalent to comparing the second entry byte with value 24. | sdknso checks whether an entry is enabled with: <code>return ({last 5-bits of the entry} < 3) && ((entry & 0xfc) < 60);</code>. The first check is equivalent to comparing the second entry byte with value 24. | ||
[[Category:Services]] | [[Category:Services]] |