acdsn:acdsn-sc-fx
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| acdsn:acdsn-sc-fx [2015/02/10 07:31] – Options for newwire fdacruz | acdsn:acdsn-sc-fx [2018/05/28 07:19] (current) – aheritier | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| <code bash> | <code bash> | ||
| - | 1Qw3 | + | 2700000000000000Qw3 |
| - | | + | |
| - | | + | |
| - | |||- option | + | |
| - | ||-- argument | + | |
| - | |--- command | + | |
| ---- address | ---- address | ||
| </ | </ | ||
| - | |||
| ===== Commands ===== | ===== Commands ===== | ||
| ^ Label ^ Command ^ | ^ Label ^ Command ^ | ||
| Line 26: | Line 25: | ||
| | delete file | g | | delete file | g | ||
| | restart | | restart | ||
| - | | delete wire | w | <device_address> | 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 | + | ^ Label ^ Arguments ^ Options |
| - | | new address | + | | new alarm status |
| - | | new contact mode | c | < | + | |
| | new discontinuation | | new discontinuation | ||
| - | | new buzzer mode | j | < | + | | new file | g |
| - | | new limit | l | <device_address>\t<limitH>\t<limitL> | + | | new buzzer mode | j | < |
| - | | new mode | m | + | | new limit | l | <sid>\t<limitL>\t<limitH> |
| - | | ::: | + | | new mode | m | < |
| - | | ::: | ::: | < | + | | new firmware |
| - | | new firmware | + | | new recess |
| - | | new recess | + | | new general status |
| - | | new timestamp | + | | new timestamp |
| | 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 | | ||
| - | | ::: | ::: | <device_address>\t<now>\t<sid> | + | | ::: | ::: | <sid>\t<suid>\t<mode> | add an OW device to the desired address (only families 20 and 28)| |
| + | | new file packet | ||
| + | | new baudrate | ||
| ==== Query ==== | ==== Query ==== | ||
| ^ Label ^ Arguments ^ Options ^ Comments | ^ Label ^ Arguments ^ Options ^ Comments | ||
| - | | query contact | + | | query alarm status | a || number of sensors in alarm | |
| - | | query discontinuation status | d | + | | query discontinuation status | d || no query from server timeout | |
| - | | query family | + | | query file | g | %%< |
| - | | query file | g | + | | query extension |
| | query buzzer status | | query buzzer status | ||
| - | | query mode | m | + | | query mode | m |
| - | | ::: | ::: | < | + | |
| - | | ::: | ::: | < | + | |
| | query firmware version | | query firmware version | ||
| - | | query recess | + | | query recess |
| - | | query status | + | | query general |
| - | | ::: | ::: | < | + | | query timestamp |
| - | | ::: | ::: | < | + | | query value | x | <sid> | give the temperature |
| - | | query timestamp | + | |
| - | | query value | x ||| | + | |
| - | | query wire | w | 0 (zero) | + | |
| - | | ::: | ::: | <device_address> | + | |
| ===== Options ===== | ===== Options ===== | ||
| ^ Options | ^ Options | ||
| - | |<address> | 0 to 65535 | + | |<block> | block content (each char is formatted in 2 ascii in hexa value) => ' |
| - | |<contact> | 1 or 2 | + | |<blockLength> | length of the actual block in bytes | |
| - | |<device_address> | + | |< |
| + | |<discontinuation> | 0 to 4294967295 [seconds] | ||
| + | |%%< | ||
| |< | |< | ||
| |< | |< | ||
| + | |< | ||
| |< | |< | ||
| - | |< | + | |< |
| - | |< | + | |
| |< | |< | ||
| - | | < | + | |< |
| |< | |< | ||
| + | |< | ||
| + | |||
| + | ===== Return Code (HEX) ===== | ||
| + | ^ Code ^ Transmission ^ Functions ^ | ||
| + | | 67 | ERROR_OPEN | ||
| + | | 68 | ERROR_SHORTGND | ||
| + | | 69 | ERROR_SHORTVCC | ||
| ===== Configuration Files (Micro-SD) ===== | ===== Configuration Files (Micro-SD) ===== | ||
| These files can be found on the Micro-SD of a NiX. | These files can be found on the Micro-SD of a NiX. | ||
| + | |||
| + | ==== ACTIVITY.# ==== | ||
| + | File where all events are recorded (Timeout, alarm, ...). # is the extension of day of year | ||
| + | |||
| + | First line: | ||
| + | ^ Field Name ^ Description | ||
| + | | timestamp | ||
| + | | slave address | ||
| + | | general status | ||
| + | |||
| + | After: | ||
| + | ^ Field Name ^ Description | ||
| + | | timestamp | ||
| + | | error | Description of the event | 21EAF5320000000E | | ||
| + | |||
| + | <file log ACTIVITY.#> | ||
| + | 1424700000 Slave ID: 2712213200000013 General status: 00 | ||
| + | 1424708939 Timeout begin | ||
| + | 1424708939 Alarm on device 281006FF01000099 alias qwertzui | ||
| + | 1424708949 Alarm on device 281006FF01000099 alias qwertzui | ||
| + | 1424708959 Alarm on device 281006FF01000099 alias qwertzui | ||
| + | 1424708969 Alarm on device 281006FF01000099 alias qwertzui | ||
| + | 1424708979 Alarm on device 281006FF01000099 alias qwertzui | ||
| + | 1424708989 Alarm on device 281006FF01000099 alias qwertzui | ||
| + | 1424709072 Timeout end | ||
| + | 1424709082 Timeout begin | ||
| + | 1424709141 Timeout end | ||
| + | </ | ||
| ==== CONFIG.TXT ==== | ==== CONFIG.TXT ==== | ||
| Line 85: | Line 117: | ||
| <file txt CONFIG.TXT> | <file txt CONFIG.TXT> | ||
| - | ADDRESS 1 | ||
| BAUDRATE 9600 | BAUDRATE 9600 | ||
| BUZZER 0 | BUZZER 0 | ||
| Line 93: | Line 124: | ||
| </ | </ | ||
| - | ==== SID_S.TXT ==== | + | ==== SID_S.XX ==== |
| This file contains the link between the iDevice' | This file contains the link between the iDevice' | ||
| + | The extension XX is the 2 last character of the SID. | ||
| ^ Field Name ^ Description | ^ Field Name ^ Description | ||
| - | | address | ||
| - | | now | The identification of the line where the device is connected | ||
| | sid | Sid of the iDevice | | sid | Sid of the iDevice | ||
| | suid | The identification of the iDevice | | suid | The identification of the iDevice | ||
| + | | enable | ||
| - | <file txt SID_S.TXT> | + | <file txt SID_S.99> |
| - | 9 1 281006FF01000099 DDDDDDDD | + | 281006FF01000099 DDDDDDDD 1 |
| - | 13 0 281007AF01000031 Abc12340 | + | 281007AF01000099 Abc12340 0 |
| - | 38 1 281C59FF00000008 003234Al | + | 281C59FF00000099 003234Al 1 |
| - | 99 1 289087A0F1000034 00000b0a | + | 289087A0F1000099 00000b0a 1 |
| </ | </ | ||
| - | ==== SID_S.LST ==== | + | ==== SID_S_L.TXT ==== |
| This file is created when we do the command Nw0, NiX1 search in all now for connected iDevices. | This file is created when we do the command Nw0, NiX1 search in all now for connected iDevices. | ||
| Line 116: | Line 147: | ||
| | sid | Sid of the iDevice | | sid | Sid of the iDevice | ||
| - | <file txt SID_S.LST> | + | <file txt SID_S_L.TXT> |
| 2 2712213200000013 | 2 2712213200000013 | ||
| 0 | 0 | ||
| 1 281006FF01000099 | 1 281006FF01000099 | ||
| + | </ | ||
| + | |||
| + | ==== Temperatures Files ==== | ||
| + | These files contain the temperatures read each scan rate when the NiX1 is in timeout and temperatures read when the master make a query value. | ||
| + | The suid is the name of the file and the extension is the day of the year (ex: 01010101.237). | ||
| + | 25 august is the 237 day of year. | ||
| + | |||
| + | ^ Field Name ^ Description | ||
| + | | NiX1_timestamp | ||
| + | | sid | SID of the device | ||
| + | | temperatures | ||
| + | |||
| + | <file log DDDDDDDD.325> | ||
| + | 1424708939 281006FF01000099 23.0000 | ||
| + | 1424708949 281006FF01000099 22.9375 | ||
| + | 1424708969 281006FF01000099 23.0000 | ||
| + | 1424708979 281006FF01000099 23.0000 | ||
| + | 1424708989 281006FF01000099 23.0000 | ||
| + | 1424708999 281006FF01000099 23.0000 | ||
| + | 1424709009 281006FF01000099 23.0000 | ||
| + | 1424709019 281006FF01000099 23.0000 | ||
| + | 1424709029 281006FF01000099 23.0000 | ||
| + | 1424709039 281006FF01000099 23.0000 | ||
| + | 1424709049 281006FF01000099 23.0000 | ||
| + | 1424709059 281006FF01000099 23.0000 | ||
| + | 1424709069 281006FF01000099 23.0000 | ||
| + | 1424709082 281006FF01000099 23.0000 | ||
| + | 1424709093 281006FF01000099 23.0000 | ||
| + | 1424709102 281006FF01000099 22.9375 | ||
| + | 1424709112 281006FF01000099 23.0000 | ||
| + | 1424709122 281006FF01000099 23.0000 | ||
| + | 1424709132 281006FF01000099 23.0000 | ||
| </ | </ | ||
acdsn/acdsn-sc-fx.1423553496.txt.gz · Last modified: 2015/02/10 07:31 by fdacruz