User Tools

Site Tools


operating_systems:linux:debian:acdsn-c-fx

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
operating_systems:linux:debian:acdsn-c-fx [2012/11/19 14:23] – external edit 127.0.0.1operating_systems:linux:debian:acdsn-c-fx [2012/11/26 13:29] – [cron.txt] sbolay
Line 1: Line 1:
-====== ACDSN-AC-FX ======+====== ACDSN-C-FX ======
 The following line shows how to address and The following line shows how to address and
 communicate with a NiX1 slave over a RS485 line. communicate with a NiX1 slave over a RS485 line.
Line 15: Line 15:
 ===== Commands ===== ===== Commands =====
 ^ Label     ^ Command ^ ^ Label     ^ Command ^
-|[[#delete]]| D       | 
 |[[#new]]   | N       | |[[#new]]   | N       |
 |[[#query]] | Q       | |[[#query]] | Q       |
  
 ===== Arguments ===== ===== Arguments =====
-==== Delete ==== 
-^ Label        ^ Arguments ^ Options ^ Comments ^ 
-| format       | a         ||| 
-| delete key   | k         |||  
-| delete right | r         |||  
-| restart      | s         ||| 
-| delete unit  | u         |||  
-| delete user  | x         |||  
- 
 ==== New ==== ==== New ====
-^ Label                    ^ Arguments ^ Options                 ^ Comments              +^ Label                    ^ Arguments ^ Options                   ^ Comments                    
-| new address              | a         | <address>               1-65535 - cannot be broadcasted +| new address              | a         | <address>                 change address            
-| new bad access timeout   | b         | <timeout              1-255 +| new buzzer mode          | b         | <mode                   buzzer activated or not     
-| new valid access timeout | c         | <timeout              1-255 |  +| new contact mode         | c         | <contact>\t<mode>         set contact NO/NC mode      |  
-| new key                    | <key                  || +| new discontinuation            | <discontinuation                    set the timeout value after which the slave consider itself to be abandoned by the server
-| new lock                 | l         | <device>\t<lock>        | device (1-2) locked (1) or not (0)|  +| new limit                | l         | <ow>\t<limitH>\t<limitL>  | set alarm boundaries        |  
-| new mode                 | m         | <device>\t<mode>        | slave (0) or device (1-9) active (0) or not (0) |  +| new mode                 | m         | <device>\t<mode>          | slave/device enable/disable |  
-| new rights               | r         | <user>\t<unit>\t<right> ||  +| new recess               | r         | <recess                 scan-rate interval |  
-| new status & log rotation| s         | -                       ||  +| new timestamp            | t         | <timestamp>               | only if RTC defined (used to synchronize clock) |  
-| new timestamp            | t         | <timestamp>             | only if RTC defined (used to synchronize clock) |  +| new wire                 | w         | -                         scan the lines and return the number of OW device found 
-| new unit                 | u         | <>\t<>||  +
-| new overdrive speed      | v         | <device>\t<overdrive>   | put 1-wire devices in overdrive speed | +
-| new wire                 | w         | -                       ||  +
-| new user                 | x         | <uid>                   ||  +
-| new baudrate             | z         | <baudrate>              || +
  
 ==== Query ==== ==== Query ====
-^ Label                      ^ Arguments ^ Options ^ Comments                   +^ Label                        ^ Arguments ^ Options ^ Comments                     
-| query general status               ||| +| query buzzer status                  ||| 
-| query bad access timeout   | b         ||| +| query contact status         | c         ||| 
-| query valid access timeout | c         ||| +| query discontinuation status         |             no query from server timeout 
-| query entry                        ||| +| query family                 | f         3 and above get the 1-wire family of device n 
-| query family               | f                 | 1-wire family              +| query mode                           | 0 (zero)    slave active or not   
-| query secret key                   ||| +:::                          :::       1 or 2      contacts active or not 
-query lock                 l         ||| +:::                          :::       3 and above ow devices active or not | 
-query mode                 m                 slave/device active or not | +| query recess                 | r                     scan-rate intervall          
-| query rights               | r         ||| +| query status                 | s         0 (zero)    global status | 
-| query status               | s         ||| +| :::                          | :::       | 1 or 2      | contacts status | 
-| query timestamp            | t                 | only if RTC is defined     |  +| :::                          | :::       | 3 and above | OW devices status 
-| query unit                 | u         |||  +| query timestamp              | t                     | only if RTC is defined       |  
-| query overdrive speed      | v         ||| +| query value                  | v         ||| 
-| query wire                 | w         ||| +| query wire                   | w         0 (zero)    tel the number of OW devices connected 
-query user                 x         |||+:::                          :::       3 and above return the OW SID            |
  
 ===== Configuration Files ===== ===== Configuration Files =====
Line 114: Line 100:
 </file> </file>
  
-==== cron.txt ==== 
  
-Contains the rights to access on some unit for a user during a specified time interval (specified as a cron). 
- 
-^ Field Name ^ Description                                                  ^ Example      ^ 
-| unit_id    | The number identifying the target unit of this rule          | 1            | 
-| user_id    | The identifier of the user on which this rule applies        | Arthur Dent  | 
-| cron       | The cron value of the accessible periods for this rule       | 0 8-17 * * * | 
- 
-<file txt demo_cron.txt> 
-1       Arthur Dent     0 8-17 * * * 
-2       Arthur Dent     0 8-17 * * * 
-1       Ford Prefect    * * * * * 
-</file> 
-