taler-mdb

Code for GNU Taler on vending machines with Multi-Drop-Bus
Log | Files | Refs | Submodules | README | LICENSE

taler-mdb.conf (1322B)


      1 # This is a reference configuration. Adjust to your needs!
      2 
      3 [taler-mdb]
      4 # Where is our backend?
      5 BACKEND_BASE_URL = http://backend.demo.taler.net/
      6 
      7 # Secret key to talk to *all* instances we use.
      8 BACKEND_AUTHORIZATION = "Bearer secret-token:sandbox"
      9 
     10 # Program to use to show ads.
     11 ADVERTISEMENT_COMMAND = taler-mdb-ads.sh -c /etc/taler-mdb.conf
     12 
     13 # Message to diplay after purchase is completed,
     14 FULFILLMENT_MSG = Enjoy your ${PRODUCT_DESCRIPTION}
     15 
     16 # Command to run to show failures.
     17 FAIL_COMMAND = taler-mdb-show.sh -c /etc/taler-mdb.conf
     18 
     19 # Name of the UART where the MDB connector is reachable.
     20 UART_DEVICE = /dev/ttyAMA0
     21 
     22 # Name of the framebuffer to use for the QR code.
     23 FRAMEBUFFER_DEVICE = /dev/fb1
     24 
     25 # Name of the backlight file for the framebuffer
     26 FRAMEBUFFER_BACKLIGHT = /sys/class/backlight/soc:backlight/brightness
     27 
     28 #Products
     29 #If sold out is enabled, products with description "empty" will be registered as sold out.
     30 
     31 # Use different "product-" section names for the various products.
     32 
     33 [product-sample]
     34 # Text to show to the user
     35 DESCRIPTION = sample-text
     36 # How much to charge
     37 PRICE = KUDOS:0.1
     38 # MDB bus number
     39 NUMBER = 31
     40 
     41 
     42 # Optional: use another instance
     43 # INSTANCE = http://backend.test.taler.net/instances/foo/
     44 
     45 # Secret key to talk to this instance.
     46 # BACKEND_AUTHORIZATION = "Bearer secret-token:sandbox"