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
Next revisionBoth sides next revision
acdsn:acdsn-a-fx [2016/07/27 18:31] – [CONFIG.TXT] sbolayacdsn:acdsn-a-fx [2018/05/28 07:16] aheritier
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         |||
 | delete key   | k         || if option set to 0, delete file |  | delete key   | k         || if option set to 0, delete file |
-| delete right | r         || if option set to 0, delete file | +| delete right | r         |<user>\t<unit>| if option set to 0, delete file |
 | 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 111: Line 122:
 |  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 119: Line 131:
 |  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 138:
 |  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.txt · Last modified: 2019/06/13 14:05 by sbolay