You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[reboot](#reboot)| Requests that the system performs a reboot of the set-top box |
62
62
|[getNetworkStandbyMode](#getNetworkStandbyMode)| Returns the network standby mode of the device |
63
63
|[setNetworkStandbyMode](#setNetworkStandbyMode)| This API will be deprecated in the future |
64
-
|[setWakeupSrcConfig](#setWakeupSrcConfig)| Sets the wakeup source configuration for the input powerState |
65
-
|[getWakeupSrcConfig](#getWakeupSrcConfig)| Returns all the supported wakeup configurations and powerState |
66
-
|[setWakeupSourceConfig](#setWakeupSourceConfig)| Set the source configuration for device wakeup (Application friendly API) |
67
-
|[getWakeupSourceConfig](#getWakeupSourceConfig)| Get the source configuration for device wakeup (Application friendly API) |
64
+
|[setWakeupSourceConfig](#setWakeupSourceConfig)| Set the source configuration for device wakeup |
65
+
|[getWakeupSourceConfig](#getWakeupSourceConfig)| Get the source configuration for device wakeup |
68
66
|[setSystemMode](#setSystemMode)| Sets the mode of the set-top box for a specific duration before returning to normal mode |
69
67
|[getPowerStateBeforeReboot](#getPowerStateBeforeReboot)| Returns the power state before reboot |
70
68
|[setTemperatureThresholds](#setTemperatureThresholds)| Sets the temperature threshold values |
@@ -860,111 +858,10 @@ No Events
860
858
}
861
859
```
862
860
863
-
<aname="setWakeupSrcConfig"></a>
864
-
## *setWakeupSrcConfig*
865
-
866
-
Sets the wakeup source configuration for the input powerState. if you are using setNetworkStandbyMode API, Please do not use this API to set LAN and WIFI wakeup. Please migrate to setWakeupSrcConfiguration API to control all wakeup source settings. This API does not persist. Please call this API on Every bootup to set the values.
867
-
868
-
### Events
869
-
870
-
No Events
871
-
872
-
### Parameters
873
-
874
-
| Name | Type | Description |
875
-
| :-------- | :-------- | :-------- |
876
-
| params | object ||
877
-
| params?.powerState | integer | <sup>*(optional)*</sup> Enum indicating bit position, If the reason is STANDBY, the value is 4(bit counting starts at 1) (must be one of the following: *OFF*, *STANDBY*, *ON*, *LIGHT_SLEEP*, *DEEP_SLEEP*) |
878
-
| params.wakeupSources | integer | Enum indicating bit position, If the reason is LAN, the value is 32(bit counting starts at 1) (must be one of the following: *WAKEUP_REASON_IR*, *WAKEUP_REASON_RCU_BT*, *WAKEUP_REASON_RCU_RF4CE*, *WAKEUP_REASON_GPIO*, *WAKEUP_REASON_LAN*, *WAKEUP_REASON_WLAN*, *WAKEUP_REASON_TIMER*, *WAKEUP_REASON_FRONT_PANEL*, *WAKEUP_REASON_WATCHDOG*, *WAKEUP_REASON_SOFTWARE_RESET*, *WAKEUP_REASON_THERMAL_RESET*, *WAKEUP_REASON_WARM_RESET*, *WAKEUP_REASON_COLDBOOT*, *WAKEUP_REASON_STR_AUTH_FAILURE*, *WAKEUP_REASON_CEC*, *WAKEUP_REASON_PRESENCE*, *WAKEUP_REASON_VOICE*, *WAKEUP_REASON_UNKNOWN*) |
879
-
880
-
### Result
881
-
882
-
| Name | Type | Description |
883
-
| :-------- | :-------- | :-------- |
884
-
| result | string | On success null will be returned |
Returns all the supported wakeup configurations and powerState.
922
-
923
-
### Events
924
-
925
-
No Events
926
-
927
-
### Parameters
928
-
929
-
This method takes no parameters.
930
-
931
-
### Result
932
-
933
-
| Name | Type | Description |
934
-
| :-------- | :-------- | :-------- |
935
-
| result | object ||
936
-
| result.powerState | integer | Enum indicating bit position, If the reason is STANDBY, the value is 4(bit counting starts at 1) (must be one of the following: *OFF*, *STANDBY*, *ON*, *LIGHT_SLEEP*, *DEEP_SLEEP*) |
937
-
| result.wakeupSources | integer | Enum indicating bit position, If the reason is LAN, the value is 32(bit counting starts at 1) (must be one of the following: *WAKEUP_REASON_IR*, *WAKEUP_REASON_RCU_BT*, *WAKEUP_REASON_RCU_RF4CE*, *WAKEUP_REASON_GPIO*, *WAKEUP_REASON_LAN*, *WAKEUP_REASON_WLAN*, *WAKEUP_REASON_TIMER*, *WAKEUP_REASON_FRONT_PANEL*, *WAKEUP_REASON_WATCHDOG*, *WAKEUP_REASON_SOFTWARE_RESET*, *WAKEUP_REASON_THERMAL_RESET*, *WAKEUP_REASON_WARM_RESET*, *WAKEUP_REASON_COLDBOOT*, *WAKEUP_REASON_STR_AUTH_FAILURE*, *WAKEUP_REASON_CEC*, *WAKEUP_REASON_PRESENCE*, *WAKEUP_REASON_VOICE*, *WAKEUP_REASON_UNKNOWN*) |
Set the source configuration for device wakeup (Application friendly API). This API does not persist. Please call this API on Every bootup to set the values.
864
+
Set the source configuration for device wakeup. This API does not persist. Please call this API on Every bootup to set the values.
968
865
969
866
### Events
970
867
@@ -1019,7 +916,7 @@ No Events
1019
916
<aname="getWakeupSourceConfig"></a>
1020
917
## *getWakeupSourceConfig*
1021
918
1022
-
Get the source configuration for device wakeup (Application friendly API).
Copy file name to clipboardExpand all lines: tools/json_generator/output/PowerManager/PowerManager.json
+2-110Lines changed: 2 additions & 110 deletions
Original file line number
Diff line number
Diff line change
@@ -477,116 +477,8 @@
477
477
}
478
478
]
479
479
},
480
-
"setWakeupSrcConfig":{
481
-
"summary": "Sets the wakeup source configuration for the input powerState. if you are using setNetworkStandbyMode API, Please do not use this API to set LAN and WIFI wakeup. Please migrate to setWakeupSrcConfiguration API to control all wakeup source settings. This API does not persist. Please call this API on Every bootup to set the values.",
482
-
"params": {
483
-
"type": "object",
484
-
"properties": {
485
-
"powerState": {
486
-
"summary": "Enum indicating bit position, If the reason is STANDBY, the value is 4(bit counting starts at 1)",
487
-
"enum": [
488
-
"OFF",
489
-
"STANDBY",
490
-
"ON",
491
-
"LIGHT_SLEEP",
492
-
"DEEP_SLEEP"
493
-
],
494
-
"type": "integer",
495
-
"example": 4
496
-
},
497
-
"wakeupSources": {
498
-
"summary": "Enum indicating bit position, If the reason is LAN, the value is 32(bit counting starts at 1)",
499
-
"enum": [
500
-
"WAKEUP_REASON_IR",
501
-
"WAKEUP_REASON_RCU_BT",
502
-
"WAKEUP_REASON_RCU_RF4CE",
503
-
"WAKEUP_REASON_GPIO",
504
-
"WAKEUP_REASON_LAN",
505
-
"WAKEUP_REASON_WLAN",
506
-
"WAKEUP_REASON_TIMER",
507
-
"WAKEUP_REASON_FRONT_PANEL",
508
-
"WAKEUP_REASON_WATCHDOG",
509
-
"WAKEUP_REASON_SOFTWARE_RESET",
510
-
"WAKEUP_REASON_THERMAL_RESET",
511
-
"WAKEUP_REASON_WARM_RESET",
512
-
"WAKEUP_REASON_COLDBOOT",
513
-
"WAKEUP_REASON_STR_AUTH_FAILURE",
514
-
"WAKEUP_REASON_CEC",
515
-
"WAKEUP_REASON_PRESENCE",
516
-
"WAKEUP_REASON_VOICE",
517
-
"WAKEUP_REASON_UNKNOWN"
518
-
],
519
-
"type": "integer",
520
-
"example": 6
521
-
}
522
-
},
523
-
"required": [
524
-
"wakeupSources"
525
-
]
526
-
},
527
-
"result": {
528
-
"summary": "On success null will be returned",
529
-
"type": "string",
530
-
"example": "null"
531
-
},
532
-
"errors": [
533
-
{
534
-
"description": "General error",
535
-
"$ref": "#/common/errors/general"
536
-
}
537
-
]
538
-
},
539
-
"getWakeupSrcConfig":{
540
-
"summary": "Returns all the supported wakeup configurations and powerState",
541
-
"result": {
542
-
"type": "object",
543
-
"properties": {
544
-
"powerState": {
545
-
"summary": "Enum indicating bit position, If the reason is STANDBY, the value is 4(bit counting starts at 1)",
546
-
"enum": [
547
-
"OFF",
548
-
"STANDBY",
549
-
"ON",
550
-
"LIGHT_SLEEP",
551
-
"DEEP_SLEEP"
552
-
],
553
-
"type": "integer",
554
-
"example": 4
555
-
},
556
-
"wakeupSources": {
557
-
"summary": "Enum indicating bit position, If the reason is LAN, the value is 32(bit counting starts at 1)",
558
-
"enum": [
559
-
"WAKEUP_REASON_IR",
560
-
"WAKEUP_REASON_RCU_BT",
561
-
"WAKEUP_REASON_RCU_RF4CE",
562
-
"WAKEUP_REASON_GPIO",
563
-
"WAKEUP_REASON_LAN",
564
-
"WAKEUP_REASON_WLAN",
565
-
"WAKEUP_REASON_TIMER",
566
-
"WAKEUP_REASON_FRONT_PANEL",
567
-
"WAKEUP_REASON_WATCHDOG",
568
-
"WAKEUP_REASON_SOFTWARE_RESET",
569
-
"WAKEUP_REASON_THERMAL_RESET",
570
-
"WAKEUP_REASON_WARM_RESET",
571
-
"WAKEUP_REASON_COLDBOOT",
572
-
"WAKEUP_REASON_STR_AUTH_FAILURE",
573
-
"WAKEUP_REASON_CEC",
574
-
"WAKEUP_REASON_PRESENCE",
575
-
"WAKEUP_REASON_VOICE",
576
-
"WAKEUP_REASON_UNKNOWN"
577
-
],
578
-
"type": "integer",
579
-
"example": 6
580
-
}
581
-
},
582
-
"required": [
583
-
"powerState",
584
-
"wakeupSources"
585
-
]
586
-
}
587
-
},
588
480
"setWakeupSourceConfig": {
589
-
"summary": "Set the source configuration for device wakeup (Application friendly API). This API does not persist. Please call this API on Every bootup to set the values.",
481
+
"summary": "Set the source configuration for device wakeup. This API does not persist. Please call this API on Every bootup to set the values.",
590
482
"params": {
591
483
"type": "object",
592
484
"properties": {
@@ -617,7 +509,7 @@
617
509
}
618
510
},
619
511
"getWakeupSourceConfig": {
620
-
"summary": "Get the source configuration for device wakeup (Application friendly API)",
512
+
"summary": "Get the source configuration for device wakeup",
0 commit comments