summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md40
1 files changed, 40 insertions, 0 deletions
diff --git a/README.md b/README.md
index 02b8426..2efa682 100644
--- a/README.md
+++ b/README.md
@@ -13,6 +13,8 @@ Network service uses the respective ConnMan package to administer networking int
| state | get current global network connection state | {"response":"online"} |
| offline | set global offline mode | *Request:* {"value": true} |
| technologies | returns the respective available technology types | see technologies verb section |
+| get_property | get properties for a respective service/technology | see get_property section |
+| set_property | set property value for a respective service/technology | see set_property section |
| services | returns services provided from technologies | see services verb section |
| enable_technology | enable respective technology | *Request:* {"technology": "wifi"} |
| disable_technology | disable respective technology | *Request:* {"technology": "wifi"} |
@@ -83,6 +85,44 @@ Network service uses the respective ConnMan package to administer networking int
}
</pre>
+# get_property Verb
+
+Request for a techology's properties:
+
+<pre>
+{
+ "technology": "bluetooth",
+}
+</pre>
+
+Response:
+
+<pre>
+{
+ "response": {
+ "name": "Bluetooth",
+ "type": "bluetooth",
+ "powered": true,
+ "connected": false,
+ "tethering": true
+ },
+ ...
+}
+</pre>
+
+# set_property Verb
+
+Request for setting properties for a technology:
+
+<pre>
+{
+ "technology": "bluetooth",
+ "properties": {
+ "tethering": true
+ }
+}
+</pre>
+
### services Verb
<pre>