User Tools

Site Tools


acdsn:acdsn-sc-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-sc-fx [2015/07/09 09:06] – Change arguments and options fdacruzacdsn:acdsn-sc-fx [2018/05/28 07:19] (current) aheritier
Line 26: Line 26:
 | restart              | s         ||| | restart              | s         |||
 | delete wire          | w         | <sid> | address of device to delete|  | delete wire          | w         | <sid> | address of device to delete|
 +| delete tmp files  | y         || delete file for Newfile fct |
 ==== New ==== ==== New ====
 ^ Label                    ^ Arguments ^ Options                   ^ Comments ^ ^ Label                    ^ Arguments ^ Options                   ^ Comments ^
 | new alarm status    | a         | <value>                   | set the alarm value | | new alarm status    | a         | <value>                   | set the alarm value |
 | new discontinuation    | d         | <discontinuation>         | set the timeout value after which the slave consider itself to be abandoned by the server| | new discontinuation    | d         | <discontinuation>         | set the timeout value after which the slave consider itself to be abandoned by the server|
-| new file                 | g         |%%<filename>%%\t<>\t<CRC>  ||+| new file                 | g         |%%<filename>%%\t<CRC>  ||
 | new buzzer mode          | j         | <mode>                    | buzzer activated or not | | new buzzer mode          | j         | <mode>                    | buzzer activated or not |
 | new limit                | l         | <sid>\t<limitL>\t<limitH>\t<resolution> | set alarm boundaries |  | new limit                | l         | <sid>\t<limitL>\t<limitH>\t<resolution> | set alarm boundaries |
Line 37: Line 38:
 | new recess               | r         | <recess>                  | scan-rate interval | | new recess               | r         | <recess>                  | scan-rate interval |
 | new general status       | s         | <value>                   | set value in NiX general status |  | new general status       | s         | <value>                   | set value in NiX general status |
-| new timestamp            | t         | <timestamp>         | only if RTC defined (used to synchronize clock) |+| new timestamp            | t         | <timestamp>\t<TZ>         | only if RTC defined (used to synchronize clock) |
 | new wire                 | w         | 0                         | scan the lines and return the number of OW device found | | new wire                 | w         | 0                         | scan the lines and return the number of OW device found |
 | :::                      | :::       | <sid>\t<suid>\t<mode>   | add an OW device to the desired address (only families 20 and 28)| | :::                      | :::       | <sid>\t<suid>\t<mode>   | add an OW device to the desired address (only families 20 and 28)|
 +| new file packet          | y         | <nbrPacket>/t<blockLength>/t<CRC>/t<block>                ||
 | new baudrate             | z         | <baudrate>                ||  | new baudrate             | z         | <baudrate>                ||
 ==== Query ==== ==== Query ====
Line 57: Line 59:
 ===== 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              |
 +|<CRC>                  | 16 bits value                                    |
 |<discontinuation>      | 0 to 4294967295 [seconds] (if 0 we don't care about discontinuation) | |<discontinuation>      | 0 to 4294967295 [seconds] (if 0 we don't care about discontinuation) |
 +|%%<filename>%%         | File on uSD: CONFIG.TXT, KEYS.TXT ...            |
 |<limitH>               | Higher alarm limit (integer from -128 to +127) | |<limitH>               | Higher alarm limit (integer from -128 to +127) |
 |<limitL>               | Lower alarm limit (integer from -128 to +127) | |<limitL>               | Lower alarm limit (integer from -128 to +127) |
 +|<nbrPacket>            | packet total number for a file                   |
 |<mode>                 | 0 [disable] or 1 [enable]                   | |<mode>                 | 0 [disable] or 1 [enable]                   |
 |<recess>               | 0 to 65534 [seconds] (~18H) (if 0 we don't care about check sensors alarms) | |<recess>               | 0 to 65534 [seconds] (~18H) (if 0 we don't care about check sensors alarms) |
Line 65: Line 72:
 |<suid>                 | alias of iButton on 8 char ['0-9'-'A-Z'-'a-z'] like 0A0b0009 | |<suid>                 | alias of iButton on 8 char ['0-9'-'A-Z'-'a-z'] like 0A0b0009 |
 |<timestamp>            | 0 to 9'999'999'999 [seconds since 1.1.1970] | |<timestamp>            | 0 to 9'999'999'999 [seconds since 1.1.1970] |
 +|<timezone>             | -1200 to +1400 |
 +
 +===== Return Code (HEX) =====
 +^ Code ^ Transmission ^ Functions ^
 +|  67  | ERROR_OPEN            | |
 +|  68  | ERROR_SHORTGND           | |
 +|  69  | ERROR_SHORTVCC           | |
  
 ===== Configuration Files (Micro-SD) ===== ===== Configuration Files (Micro-SD) =====
acdsn/acdsn-sc-fx.1436432795.txt.gz · Last modified: 2015/07/09 09:06 by fdacruz