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
acdsn:acdsn-a-fx [2017/04/13 15:30] – [Delete] sbolayacdsn:acdsn-a-fx [2019/06/13 14:05] (current) – [Return Code (HEX)] 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 |
-query firmware version   | n         | %%<filename>%%\t<CRC>\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 66: Line 70:
 | query mode                 | m                 | slave/device active or not | | query mode                 | m                 | slave/device active or not |
 | query firmware version     | n         | | | | query firmware version     | n         | | |
 +| query Cron Mode            | o         | | |
 +| 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 74: 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 87: 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 111: Line 128:
 |  50  | ERROR_PARAM   | | |  50  | ERROR_PARAM   | |
 |  51  |               | ERROR_QUANTITY        | |  51  |               | ERROR_QUANTITY        |
 +|  52  |               | ERROR_RXDATA          |
 |  53  |               | ERROR_STOPPED_MISSION (iC) | |  53  |               | ERROR_STOPPED_MISSION (iC) |
 |  54  |               | ERROR_TYPE | |  54  |               | ERROR_TYPE |
Line 116: Line 134:
 |  57  |               | ERROR_WRITE           | |  57  |               | ERROR_WRITE           |
 |  58  |               | ERROR_X               | |  58  |               | ERROR_X               |
-|  60  |               | ERROR_SYNTAX          |+|  60  |               | ERROR_SYNTAX (used by/or no cron) |
 |  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            |
Line 125: Line 144:
 |  76  |               | ERROR_UNIT            | |  76  |               | ERROR_UNIT            |
 |  74  |               | ERROR_TIMESTAMP       | |  74  |               | ERROR_TIMESTAMP       |
 +|  7B  |               | ERROR_SDCARDNOTFOUND  |
 |  FF  |               | ERROR_INT             | |  FF  |               | ERROR_INT             |
 ===== Configuration Files (Server) ===== ===== Configuration Files (Server) =====
acdsn/acdsn-a-fx.1492097433.txt.gz · Last modified: 2017/04/13 15:30 by sbolay