Glue services: Difference between revisions

Line 397: Line 397:
== RegisterAlarmSetting ==
== RegisterAlarmSetting ==
Takes a type-0x15 input buffer [[#AlarmSetting]] and a type-0x5 input buffer. Returns an u16 '''AlarmSettingId'''.
Takes a type-0x15 input buffer [[#AlarmSetting]] and a type-0x5 input buffer. Returns an u16 '''AlarmSettingId'''.
The second buffer can be empty (addr=0/size=0).
Before using the cmd, sdknso uses [[HID_services|hid]] IsFirmwareUpdateNeededForNotification then if needed launches the controller-applet for firmware-update.
After using the cmd when it failed, [[Error_Applet|ShowError]] will be used when the Result is in a certain range, otherwise this will assert.


== UpdateAlarmSetting ==
== UpdateAlarmSetting ==
Takes a type-0x15 input buffer [[#AlarmSetting]] and a type-0x5 input buffer. No output.
Takes a type-0x15 input buffer [[#AlarmSetting]] and a type-0x5 input buffer. No output.
The second buffer can be empty (addr=0/size=0).


== ListAlarmSettings ==
== ListAlarmSettings ==