mirror of git://git.sysmocom.de/ofono
Doc: Update modem api
Add SetProperty and Powered property to modem-api.txt document.
This commit is contained in:
parent
f726596860
commit
1b13ce308f
|
@ -12,12 +12,27 @@ Methods dict GetProperties()
|
||||||
|
|
||||||
Possible Errors: [service].Error.InvalidArguments
|
Possible Errors: [service].Error.InvalidArguments
|
||||||
|
|
||||||
|
void SetProperty(string property, variant value)
|
||||||
|
|
||||||
|
Changes the value of the specified property. Only
|
||||||
|
properties that are listed as read-write are
|
||||||
|
changeable. On success a PropertyChanged signal
|
||||||
|
will be emitted.
|
||||||
|
|
||||||
|
Possible Errors: [service].Error.InvalidArguments
|
||||||
|
[service].Error.DoesNotExist
|
||||||
|
|
||||||
Signals PropertyChanged(string name, variant value)
|
Signals PropertyChanged(string name, variant value)
|
||||||
|
|
||||||
This signal indicates a changed value of the given
|
This signal indicates a changed value of the given
|
||||||
property.
|
property.
|
||||||
|
|
||||||
Properties string Manufacturer [readonly, optional]
|
Properties boolean Powered [readwrite]
|
||||||
|
|
||||||
|
Boolean representing the power state of the modem
|
||||||
|
device.
|
||||||
|
|
||||||
|
string Manufacturer [readonly, optional]
|
||||||
|
|
||||||
String representing the manufacturer of the modem
|
String representing the manufacturer of the modem
|
||||||
device.
|
device.
|
||||||
|
|
Loading…
Reference in New Issue