User Tools

Site Tools


acdsn:acdsn-v-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-v-fx [2017/12/22 13:29] – [Query] aheritieracdsn:acdsn-v-fx [2018/04/19 12:41] – [New] aheritier
Line 29: Line 29:
 ^ Label        ^ Arguments ^ Options ^ Comments ^ ^ Label        ^ Arguments ^ Options ^ Comments ^
 | format       | a         ||| | format       | a         |||
-| copy file    | c         |<filename>/t<copyFilename>| 
 | delete file  | g         |%%<filename>%%||  | delete file  | g         |%%<filename>%%||
 | restart      | s         ||| | restart      | s         |||
Line 38: Line 37:
 | new Entry                | e         | <nb request>        | | | new Entry                | e         | <nb request>        | |
 | new file                 | g         |<filename>\t<filesize>\t<CRC>  || | new file                 | g         |<filename>\t<filesize>\t<CRC>  ||
-| new Vault Status         | h         | <unit>\t<status>        | ouverture(1) / fermeture(0) | +| new Vault Status         | h         | <unit>\t<status>        | ouverture(1) / fermeture(0) 
 +| copy file                | i         |<filename>/t<copyFilename>
 +| new mode                 | m         | <mode> |
 | new firmware version     | n         | %%<filename>%%\t<retry times> ||  | new firmware version     | n         | %%<filename>%%\t<retry times> ||
 | new general status       | s         | <value>                   | set value in NiX general status |  | new general status       | s         | <value>                   | set value in NiX general status |
Line 50: Line 51:
 | query vault status         | h         |<unit> |Receive: <VaultStatus>| | query vault status         | h         |<unit> |Receive: <VaultStatus>|
 | query extension            | i         |<extension> | give a list of files with the extension desired (TXT,1, ...) | | query extension            | i         |<extension> | give a list of files with the extension desired (TXT,1, ...) |
 +| query mode                 | m         | |
 | query firmware version     | n         | | | | query firmware version     | n         | | |
 | query Checksum             | p         |<filename>| | | query Checksum             | p         |<filename>| |
Line 55: Line 57:
 | query general status       | s         | | | | query general status       | s         | | |
 | query timestamp            | t         | | only if RTC is defined     |  | query timestamp            | t         | | only if RTC is defined     |
-| query unit                 | u         |<CH>|Receive : <unit><staytime> | +| query unit                 | u         |<unit>|Receive : <unit>\t<CH>\t<staytime> |
 | query init state           | x         |   | Receive: <initState><ChecksumInit>| | query init state           | x         |   | Receive: <initState><ChecksumInit>|
 ===== Options ===== ===== Options =====
Line 70: Line 72:
 |<staytime>             | delay for the time to stay open  | |<staytime>             | delay for the time to stay open  |
 |<VaultStatus>          | voir table de vérité       | |<VaultStatus>          | voir table de vérité       |
 +|<stateInit>            | envoi de tous les coffres avec un status différent de 0 (masque codé en ASCII HEXA)|
 +|<checksumInit>         | checksum de l'envoi du state|
 +|<mode>                 | mode du timeout (1: normal, 2: le timeout se reset à chaque fermeture client) |
 +
  
 ===== Table de vérité Vault Status ===== ===== Table de vérité Vault Status =====
Line 110: Line 116:
 |  54  |               | ERROR_TYPE | |  54  |               | ERROR_TYPE |
 |  55  |               | ERROR_USER            | |  55  |               | ERROR_USER            |
 +|  56  |               | ERROR_VAULT |
 |  57  |               | ERROR_WRITE           | |  57  |               | ERROR_WRITE           |
 |  58  |               | ERROR_X               | |  58  |               | ERROR_X               |
 |  60  |               | ERROR_SYNTAX          | |  60  |               | ERROR_SYNTAX          |
 |  61  |               | ERROR_DAY_OF_YEAR     | |  61  |               | ERROR_DAY_OF_YEAR     |
-|  63  |               ERROR_COPY            |+|  63  |               ERROR_CLIENT            |
 |  64  |               | ERROR_DIAG     | |  64  |               | ERROR_DIAG     |
 |  65  |               | ERROR_EMPTY_MISSION (iC)   | |  65  |               | ERROR_EMPTY_MISSION (iC)   |
Line 165: Line 172:
 </file> </file>
 ==== ACCESS.# ==== ==== ACCESS.# ====
-This file contains important iButtons discharge logs. (# is the extension of day of year)+This file contains important logs. (# is the extension of day of year)
  
 ^ Field Name          ^ Description                ^ Example     ^ ^ Field Name          ^ Description                ^ Example     ^
Line 173: Line 180:
 | timestamp           | The timestamp of the NiX   | 1400620011  | | timestamp           | The timestamp of the NiX   | 1400620011  |
 | timezone            | Code of the timezone       | +0100       | | timezone            | Code of the timezone       | +0100       |
-cmd command sent (0 or 1)|+vaultStatus         table de vérité correspondant au status | 4|
 | error code          | Error code in hex format   | 39          | | error code          | Error code in hex format   | 39          |
  
 <file log ACCESS.#> <file log ACCESS.#>
 271A2100000000F3 324 15 1436413339 +0100 0 55 271A2100000000F3 324 15 1436413339 +0100 0 55
-271A2100000000F3 356 15 1436413340 +0100 1 55+271A2100000000F3 356 15 1436413340 +0100 4 55
 271A2100000000F3 73 9 1436413341 +0100 0 55 271A2100000000F3 73 9 1436413341 +0100 0 55
-271A2100000000F3 556 15 1436413345 +0100 1 55+271A2100000000F3 556 15 1436413345 +0100 6 55
 </file> </file>
 ==== ACTIVITY.# ==== ==== ACTIVITY.# ====
-This file contains not important iButtons discharge logs. (# is the extension of day of year)+This file contains not important logs. (# is the extension of day of year)
  
 First line: First line:
Line 190: Line 197:
 | slave address   | SID of NiX                                   | 271A2100000000F3 | | slave address   | SID of NiX                                   | 271A2100000000F3 |
 | general status  | Last general status of NiX before the start (in hex format) | 00 | | general status  | Last general status of NiX before the start (in hex format) | 00 |
-| other info      | information about the error| 86 |+| other info      | Information about the error| 86 |
  
 After: After:
Line 199: Line 206:
 | timestamp           | The timestamp of the NiX   | 1400620011  | | timestamp           | The timestamp of the NiX   | 1400620011  |
 | timezone            | Code of the timezone       | +0100       | | timezone            | Code of the timezone       | +0100       |
-cmd command sent (0 or 1 or 2)0 (clear), 1 (set), 2 (clear by timeout) |+vaultStatus         table de vérité correspondant au status 4|
 | error code          | Error code in hex format   | 39          | | error code          | Error code in hex format   | 39          |
  
Line 206: Line 213:
 271A2100000000F3 324 15 1436413339 +0100 0 55 271A2100000000F3 324 15 1436413339 +0100 0 55
 271A2100000000F3 356 15 1436413340 +0100 1 49 271A2100000000F3 356 15 1436413340 +0100 1 49
-271A2100000000F3 73 9 1436413341 +0100 2 55 +271A2100000000F3 73 9 1436413341 +0100 4 55 
-271A2100000000F3 556 15 1436413345 +0100 1 40+271A2100000000F3 556 15 1436413345 +0100 6 40
 1436413328 Slave ID: 271A2100000000F3 General status: 70 | 86 1436413328 Slave ID: 271A2100000000F3 General status: 70 | 86
 </file> </file>
acdsn/acdsn-v-fx.txt · Last modified: 2023/09/08 12:42 by maferreira