Line 45: |
Line 45: |
| ! Cmd || Name | | ! Cmd || Name |
| |- | | |- |
− | | 0 || [[#GetBatteryChargePercentage]] | + | | 0 || [[#GetBatteryChargePercentage|GetBatteryChargePercentage]] |
| |- | | |- |
− | | 1 || [[#GetChargerType]] | + | | 1 || [[#GetChargerType|GetChargerType]] |
| |- | | |- |
− | | 2 || [[#EnableBatteryCharging]] | + | | 2 || [[#EnableBatteryCharging|EnableBatteryCharging]] |
| |- | | |- |
− | | 3 || [[#DisableBatteryCharging]] | + | | 3 || [[#DisableBatteryCharging|DisableBatteryCharging]] |
| |- | | |- |
− | | 4 || [[#IsBatteryChargingEnabled]] | + | | 4 || [[#IsBatteryChargingEnabled|IsBatteryChargingEnabled]] |
| |- | | |- |
− | | 5 || [[#AcquireControllerPowerSupply]] | + | | 5 || [[#AcquireControllerPowerSupply|AcquireControllerPowerSupply]] |
| |- | | |- |
− | | 6 || [[#ReleaseControllerPowerSupply]] | + | | 6 || [[#ReleaseControllerPowerSupply|ReleaseControllerPowerSupply]] |
| |- | | |- |
− | | 7 || [[#OpenSession]] | + | | 7 || [[#OpenSession_2|OpenSession]] |
| |- | | |- |
− | | 8 || [[#EnableEnoughPowerChargeEmulation]] | + | | 8 || [[#EnableEnoughPowerChargeEmulation|EnableEnoughPowerChargeEmulation]] |
| |- | | |- |
− | | 9 || [[#DisableEnoughPowerChargeEmulation]] | + | | 9 || [[#DisableEnoughPowerChargeEmulation|DisableEnoughPowerChargeEmulation]] |
| |- | | |- |
− | | 10 || [[#EnableFastBatteryCharging]] | + | | 10 || [[#EnableFastBatteryCharging|EnableFastBatteryCharging]] |
| |- | | |- |
− | | 11 || [[#DisableFastBatteryCharging]] | + | | 11 || [[#DisableFastBatteryCharging|DisableFastBatteryCharging]] |
| |- | | |- |
− | | 12 || [[#GetBatteryVoltageState]] | + | | 12 || [[#GetBatteryVoltageState|GetBatteryVoltageState]] |
| |- | | |- |
− | | 13 || [[#GetRawBatteryChargePercentage]] | + | | 13 || [[#GetRawBatteryChargePercentage|GetRawBatteryChargePercentage]] |
| |- | | |- |
− | | 14 || [[#IsEnoughPowerSupplied]] | + | | 14 || [[#IsEnoughPowerSupplied|IsEnoughPowerSupplied]] |
| |- | | |- |
− | | 15 || [[#GetBatteryAgePercentage]] | + | | 15 || [[#GetBatteryAgePercentage|GetBatteryAgePercentage]] |
| |- | | |- |
− | | 16 || [[#GetBatteryChargeInfoEvent]] | + | | 16 || [[#GetBatteryChargeInfoEvent|GetBatteryChargeInfoEvent]] |
| |- | | |- |
− | | 17 || [[#GetBatteryChargeInfoFields]] | + | | 17 || [[#GetBatteryChargeInfoFields|GetBatteryChargeInfoFields]] |
| |- | | |- |
− | | 18 || [3.0.0+] [[#GetBatteryChargeCalibratedEvent]] | + | | 18 || [3.0.0+] [[#GetBatteryChargeCalibratedEvent|GetBatteryChargeCalibratedEvent]] |
| |} | | |} |
| | | |
Line 148: |
Line 148: |
| ! Cmd || Name | | ! Cmd || Name |
| |- | | |- |
− | | 0 || [[#BindStateChangeEvent]] | + | | 0 || [[#BindStateChangeEvent|BindStateChangeEvent]] |
| |- | | |- |
− | | 1 || [[#UnbindStateChangeEvent]] | + | | 1 || [[#UnbindStateChangeEvent|UnbindStateChangeEvent]] |
| |- | | |- |
− | | 2 || [[#SetChargerTypeChangeEventEnabled]] | + | | 2 || [[#SetChargerTypeChangeEventEnabled|SetChargerTypeChangeEventEnabled]] |
| |- | | |- |
− | | 3 || [[#SetPowerSupplyChangeEventEnabled]] | + | | 3 || [[#SetPowerSupplyChangeEventEnabled|SetPowerSupplyChangeEventEnabled]] |
| |- | | |- |
− | | 4 || [[#SetBatteryVoltageStateChangeEventEnabled]] | + | | 4 || [[#SetBatteryVoltageStateChangeEventEnabled|SetBatteryVoltageStateChangeEventEnabled]] |
| |} | | |} |
| | | |
Line 211: |
Line 211: |
| ! Cmd || Name | | ! Cmd || Name |
| |- | | |- |
− | | 0 || [[#GetTemperatureRange]] | + | | 0 || [[#GetTemperatureRange|GetTemperatureRange]] |
| |- | | |- |
− | | 1 || [[#GetTemperature]] | + | | 1 || [[#GetTemperature|GetTemperature]] |
| |- | | |- |
− | | 2 || [[#SetMeasurementMode]] | + | | 2 || [1.0.0-13.2.1] [[#SetMeasurementMode|SetMeasurementMode]] |
| |- | | |- |
− | | 3 || [[#GetTemperatureMilliC]] | + | | 3 || [1.0.0-13.2.1] [[#GetTemperatureMilliC|GetTemperatureMilliC]] |
| |- | | |- |
− | | 4 || [8.0.0+] ? (Takes a total of 4-bytes of input, returns an [[#IUnknown0]]) | + | | 4 || [8.0.0+] [[#OpenSession_3|OpenSession]] |
| |} | | |} |
| | | |
Line 240: |
Line 240: |
| The output is the temperature in MilliC. | | The output is the temperature in MilliC. |
| | | |
− | == IUnknown0 == | + | == OpenSession == |
− | Added with [8.0.0+].
| + | Takes a total of 4-bytes of input. Returns an [[#ISession]]. |
| + | |
| + | == ISession == |
| + | This is "nn::ts::server::ISession". |
| + | |
| + | This was added with [8.0.0+]. |
| | | |
| {| class="wikitable" border="1" | | {| class="wikitable" border="1" |
Line 249: |
Line 254: |
| | 0 || | | | 0 || |
| |- | | |- |
− | | 1 || | + | | 1 || [8.0.0-13.2.1] |
| |- | | |- |
| | 2 || | | | 2 || |
| |- | | |- |
− | | 3 || | + | | 3 || [8.0.0-13.2.1] |
| |- | | |- |
| | 4 || [10.0.0+] | | | 4 || [10.0.0+] |