summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorRoss Burton <ross@openedhand.com>2008-06-09 15:47:42 +0000
committerRoss Burton <ross@openedhand.com>2008-06-09 15:47:42 +0000
commit4152565931914551750543d991b01547810a0604 (patch)
treef647acf0058e451f70349144fb547d952cafe2c4 /examples
parent0648a21ec750bfa9c0adb5cda315ea86f9396f2a (diff)
downloadgupnp-4152565931914551750543d991b01547810a0604.tar.gz
Add README
git-svn-id: https://svn.o-hand.com/repos/gupnp/trunk/gupnp@1044 d8cb91d7-bff9-0310-92b9-80b65e4482b2
Diffstat (limited to 'examples')
-rw-r--r--examples/README12
1 files changed, 12 insertions, 0 deletions
diff --git a/examples/README b/examples/README
new file mode 100644
index 0000000..ab8cbc3
--- /dev/null
+++ b/examples/README
@@ -0,0 +1,12 @@
+This directory contains some example code, demonstrating how to write GUPnP
+services and control points.
+
+- light-server.c
+
+A virtual BinaryLight device implementing the SwitchPower service. This is a
+networked light switch which can be on or off.
+
+- light-client.c
+
+A control point which will find a SwitchPower service and either turn it on,
+off, or toggle the setting.