summaryrefslogtreecommitdiff
path: root/debian/etc/taler-mdb.conf
diff options
context:
space:
mode:
Diffstat (limited to 'debian/etc/taler-mdb.conf')
-rw-r--r--debian/etc/taler-mdb.conf43
1 files changed, 43 insertions, 0 deletions
diff --git a/debian/etc/taler-mdb.conf b/debian/etc/taler-mdb.conf
new file mode 100644
index 0000000..80d1514
--- /dev/null
+++ b/debian/etc/taler-mdb.conf
@@ -0,0 +1,43 @@
+# This is a reference configuration. Adjust to your needs!
+
+[taler]
+# Which currency do we use? Must match products at the end!
+CURRENCY = KUDOS
+
+[taler-mdb]
+# Where is our backend?
+BACKEND-BASE-URL = http://backend.demo.taler.net/
+
+# Secret key to talk to *all* instances we use.
+BACKEND-AUTHORIZATION = ApiKey Sandbox
+
+# Message to diplay after purchase is completed,
+fulfillment-msg = Enjoy your ${PRODUCT_DESCRIPTION}
+
+# Name of the UART where the MDB connector is reachable.
+UART_DEVICE = /dev/ttyAMA0
+
+# Name of the framebuffer to use for the QR code.
+FRAMEBUFFER_DEVICE = /dev/fb1
+
+# Name of the backlight file for the framebuffer
+FRAMEBUFFER_BACKLIGHT = /sys/class/backlight/soc:backlight/brightness
+
+# ESSID for open WLAN to offer to clients.
+ESSID = snack
+
+#Products
+#If sold out is enabled, products with description "empty" will be registered as sold out.
+
+# Use different "product-" section names for the various products.
+[product-sample]
+# Text to show to the user
+description = sample-text
+# How much to charge
+price = KUDOS:0.1
+# MDB bus number
+number = 31
+
+# Optional: use another instance
+# instance = http://backend.test.taler.net/instances/foo/
+# NOTE: authorization key of that instance MUST match the one from [taler-mdb]!