Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/pybot/drivers/hotplug/grey.py
diff options
context:
space:
mode:
Diffstat (limited to 'pybot/drivers/hotplug/grey.py')
-rw-r--r--pybot/drivers/hotplug/grey.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/pybot/drivers/hotplug/grey.py b/pybot/drivers/hotplug/grey.py
new file mode 100644
index 0000000..db7e1c1
--- /dev/null
+++ b/pybot/drivers/hotplug/grey.py
@@ -0,0 +1,19 @@
+
+RD_VERSION = 0x00
+GET_VALUE = 0x01
+
+f1 = {
+ 'name': 'getVersion',
+ 'call': RD_VERSION,
+ 'params': 0,
+ 'read': 3
+}
+
+f2 = {
+ 'name': 'getValue',
+ 'call': GET_VALUE,
+ 'params': 0,
+ 'read': 3
+}
+
+FUNCTIONS = [f1, f2]