Glue services: Difference between revisions
No edit summary |
No edit summary |
||
Line 394: | Line 394: | ||
== RegisterAlarmSetting == | == RegisterAlarmSetting == | ||
Takes a type-0x15 input buffer | Takes a type-0x15 input buffer [[#AlarmSetting]] and a type type-0x5 input buffer. Returns an u16 '''AlarmSettingId'''. | ||
== UpdateAlarmSetting == | == UpdateAlarmSetting == | ||
Takes a type-0x15 input buffer | Takes a type-0x15 input buffer [[#AlarmSetting]] and a type type-0x5 input buffer. No output. | ||
== ListAlarmSettings == | == ListAlarmSettings == | ||
Takes a type-0x6 output buffer | Takes a type-0x6 output buffer to receive an array of [[#AlarmSetting]]. Returns an u32 '''AlarmSettingsCount'''. | ||
== LoadApplicationParameter == | == LoadApplicationParameter == | ||
Takes an input | Takes an input u16 '''AlarmSettingId''' and a type-0x6 output buffer. Returns an u32. | ||
== DeleteAlarmSetting == | == DeleteAlarmSetting == | ||
Takes an input | Takes an input u16 '''AlarmSettingId'''. | ||
== Initialize == | == Initialize == | ||
Line 475: | Line 475: | ||
= ApplicationLaunchProperty = | = ApplicationLaunchProperty = | ||
Total size is 0x10 | Total size is 0x10 bytes. | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 502: | Line 502: | ||
| 0x02 | | 0x02 | ||
| Padding | | Padding | ||
|} | |||
= AlarmSetting = | |||
Total size is 0x40 bytes. | |||
{| class="wikitable" border="1" | |||
|- | |||
! Offset | |||
! Size | |||
! Description | |||
|- | |||
| 0x00 | |||
| 0x02 | |||
| Alarm ID | |||
|- | |||
| 0x02 | |||
| 0x01 | |||
| Kind (0 = WeeklySchedule) | |||
|- | |||
| 0x03 | |||
| 0x01 | |||
| Muted | |||
|- | |||
| 0x08 | |||
| 0x08 | |||
| UID high | |||
|- | |||
| 0x10 | |||
| 0x08 | |||
| UID low | |||
|- | |||
| 0x18 | |||
| 0x08 | |||
| Application ID | |||
|- | |||
| 0x28 | |||
| 0x08 | |||
| Alarm schedule | |||
|- | |||
| 0x30 | |||
| 0x08 | |||
| Alarm schedule | |||
|- | |||
| 0x38 | |||
| 0x08 | |||
| Alarm schedule | |||
|} | |} | ||
[[Category:Services]] | [[Category:Services]] |