User Tools

Site Tools


acdsn:acdsn-a-fx

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
acdsn:acdsn-a-fx [2017/10/12 12:58] – [Query] aheritieracdsn:acdsn-a-fx [2019/04/18 08:14] – [Options] sbolay
Line 28: Line 28:
 ==== Delete ==== ==== Delete ====
 ^ Label        ^ Arguments ^ Options ^ Comments ^ ^ Label        ^ Arguments ^ Options ^ Comments ^
-| format       | a         ||| +| format       | a         |||
 | delete file  | g         |%%<filename>%%|| | delete file  | g         |%%<filename>%%||
 | delete cron  | h         ||| | delete cron  | h         |||
Line 35: Line 35:
 | restart      | s         ||| | restart      | s         |||
 | delete unit  | u         || if option set to 0, delete file|  | delete unit  | u         || if option set to 0, delete file|
-| delete user  | x         || if option set to 0, delete file | +| delete user  | x         || if option set to 0, delete file |  
 +| delete tmp files  | y         || delete file for Newfile fct |
 ==== New ==== ==== New ====
 ^ Label                    ^ Arguments ^ Options                   ^ Comments              ^ ^ Label                    ^ Arguments ^ Options                   ^ Comments              ^
Line 41: Line 42:
 | new valid access timeout | c         | <timeout>                 || | new valid access timeout | c         | <timeout>                 ||
 | new entry                | e         | <comptability>            | count number of lines in ACCESS file, update log_position and set compatibility | | new entry                | e         | <comptability>            | count number of lines in ACCESS file, update log_position and set compatibility |
-| new file                 | g         |%%<filename>%%\t<>\t<CRC>  ||+| new file                 | g         |%%<filename>%%\t<CRC>  ||
 | new cron                 | h         | <cron>                    || | new cron                 | h         | <cron>                    ||
-| new key            | k         | <key>                     ||+| copy file                | i         |<filename>/t<copyFilename>
 +| new key            | k         <timestamp>\t<key>                     ||
 | new lock                 | l         |%%<1|2>\t<lock>%%| locked (1) or not (0) |  | new lock                 | l         |%%<1|2>\t<lock>%%| locked (1) or not (0) |
 | new mode                 | m         | <mode>                    | NiX1 enable/disable |  | new mode                 | m         | <mode>                    | NiX1 enable/disable |
 | new firmware version     | n         | %%<filename>%%\t<retry times> || | new firmware version     | n         | %%<filename>%%\t<retry times> ||
 +| new cron mode            | o         | <cron mode>               ||
 | new rights               | r         | <user>\t<unit>\t<right>   ||  | new rights               | r         | <user>\t<unit>\t<right>   ||
 | new general status       | s         | <value>                   | set value in NiX general status |  | new general status       | s         | <value>                   | set value in NiX general status |
Line 53: Line 56:
 | new overdrive speed      | v         |%%<1|2>\t<overdrive>%%| put 1-wire devices in overdrive speed | | new overdrive speed      | v         |%%<1|2>\t<overdrive>%%| put 1-wire devices in overdrive speed |
 | new user                 | x         | <uid>\t<timestamp>\t<inc> | timestamp of the last entry, and the key increment |  | new user                 | x         | <uid>\t<timestamp>\t<inc> | timestamp of the last entry, and the key increment |
 +| new file packet          | y         | <nbrPacket>/t<blockLength>/t<CRC>/t<block>                ||
 | new baudrate             | z         | <baudrate>                || | new baudrate             | z         | <baudrate>                ||
 ==== Query ==== ==== Query ====
Line 67: Line 71:
 | query firmware version     | n         | | | | query firmware version     | n         | | |
 | query Cron Mode            | o         | | | | query Cron Mode            | o         | | |
-| query Checksum             | p         | | |+| query Checksum             | p         |<filename>| |
 | query rights               | r         |<uid>\t<unit>| | | query rights               | r         |<uid>\t<unit>| |
 | query general status       | s         | | | | query general status       | s         | | |
Line 76: Line 80:
 ===== Options ===== ===== Options =====
 ^ Options               ^ Comments ^ ^ Options               ^ Comments ^
 +|<block>                | block content (each char is formatted in 2 ascii in hexa value) => 'a' = 0x61 => sent : "61"             |
 +|<blockLength>          | length of the actual block in bytes              |
 |<comptability>         | 0 to 65534 How many access we would like receive | |<comptability>         | 0 to 65534 How many access we would like receive |
 +|<CRC>                  | 16 bits value                                    |
 |<cron>                 | * * * * *                                        | |<cron>                 | * * * * *                                        |
 +|<cron mode>            | 0 to 3                                           |
 |%%<filename>%%         | File on uSD: CONFIG.TXT, KEYS.TXT ...            | |%%<filename>%%         | File on uSD: CONFIG.TXT, KEYS.TXT ...            |
 |<inc>                  | Key increment 0 to 99                            | |<inc>                  | Key increment 0 to 99                            |
 |<limit>                | Max line to display [0=all lines]                | |<limit>                | Max line to display [0=all lines]                |
 |<mode>                 | 0 [disable] or 1 [enable]                        | |<mode>                 | 0 [disable] or 1 [enable]                        |
 +|<nbrPacket>            | packet total number for a file                   |
 |<overdrive>            | 0 [disable] or 1 [enable]                        | |<overdrive>            | 0 [disable] or 1 [enable]                        |
 |<recess>               | 0 to 180 [seconds]                               | |<recess>               | 0 to 180 [seconds]                               |
Line 89: Line 98:
 |<uid>                  |  | |<uid>                  |  |
 |<unit>                 | 0 to 65534                                       | |<unit>                 | 0 to 65534                                       |
 +
 +== CRON MODE ==
 +0) Do not use slave cron, DEFAULT\\
 +1) within the cron valid date, the door stay open\\
 +2) within the cron valid date, use key to unlock the door and then follow the cron date to close it\\
 +3) within the cron valid date, use key to unlock and lock the door
  
 ===== Return Code (HEX) ===== ===== Return Code (HEX) =====
Line 122: Line 137:
 |  61  |               | ERROR_DAY_OF_YEAR     | |  61  |               | ERROR_DAY_OF_YEAR     |
 |  63  |               | ERROR_COPY            | |  63  |               | ERROR_COPY            |
 +|  64  |               | ERROR_NOBROADCAST     |
 |  65  |               | ERROR_EMPTY_MISSION (iC)   | |  65  |               | ERROR_EMPTY_MISSION (iC)   |
 |  6C  |               | ERROR_LOCK            | |  6C  |               | ERROR_LOCK            |
acdsn/acdsn-a-fx.txt · Last modified: 2019/06/13 14:05 by sbolay