Changes between Version 3 and Version 4 of uid


Ignore:
Timestamp:
Feb 18, 2016, 2:32:35 PM (9 years ago)
Author:
Frédéric
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • uid

    v3 v4  
    1515== Example ==
    1616
    17 First create a pKNyX device as described in the [[Tutorial]].
    18 
    19 Then, edit you device as following:
     17First create a '''pKNyX''' device as described in the [[Tutorial]].
     18
     19Then, edit '''{{{device.py}}}''' file as following:
    2020
    2121{{{
     
    445445DEVICE = Server
    446446}}}
     447
     448Next, '''{{{settings.py}}}''':
     449
     450
     451{{{
     452#!python
     453# -*- coding: utf-8 -*-
     454
     455from pknyx.common import config
     456
     457DEVICE_NAME = "uid"
     458DEVICE_IND_ADDR = "1.1.2"
     459DEVICE_VERSION = "0.1"
     460
     461# Override default logger level
     462config.LOGGER_LEVEL = "info"
     463
     464WEB_SERVER = "my_machine"
     465WEB_PORT = 8081
     466PKNYXUI_ROOT = "/home/toto/pKNyXui"
     467QOOXDOO_ROOT = "/home/toto/qooxdoo-sdk"
     468}}}
     469
     470'''{{{PKNYXUI_ROOT}}}''' and '''{{{QOOXDOO_ROOT}}}''' must match your pKNyXui and qooxdoo installation paths. ''TODO: add link to pKNyXui''