Door Controller/Commands
m (Formatting) |
|||
(2 intermediate revisions by one user not shown) | |||
Line 96: | Line 96: | ||
; Returns | ; Returns | ||
: INFO:free:<bytes> | : INFO:free:<bytes> | ||
+ | |||
+ | ; Versions | ||
+ | : Removed in r193 and replaced with 'show free' | ||
Returns the amount of available internal RAM, in bytes | Returns the amount of available internal RAM, in bytes | ||
− | |||
== set == | == set == | ||
Line 112: | Line 114: | ||
Displays all current EEPROM settings, or changes a single setting. | Displays all current EEPROM settings, or changes a single setting. | ||
+ | |||
+ | (Note that for the local0-local6 variables, only the protocol eg WG: should be specified - not the reader number. For example use WG:12345 and not WG.1:12345 ) | ||
+ | |||
+ | == show == | ||
+ | ; Syntax | ||
+ | : show [free | voltage | debug] | ||
+ | |||
+ | ; Example | ||
+ | : show voltage | ||
+ | |||
+ | ; Returns | ||
+ | : INFO:free:432 | ||
+ | : INFO:voltage:11.8 | ||
+ | : INFO:debug:8 wiegand | ||
+ | |||
+ | ; Versions | ||
+ | : Introduced in r193 | ||
+ | |||
+ | === show free === | ||
+ | Returns the amount of available internal RAM, in bytes | ||
+ | |||
+ | === show voltage === | ||
+ | Shows the approximate voltage as measured at the esctl board. '''Note that this is not calibrated or designed to be accurate''' and will vary according to the particular internal voltage reference on the processor; resistor values; and other external factors. The value returned should, however, be useful as an indication of the supply voltage to around +/- 0.5 volts. | ||
+ | |||
+ | === show debug === | ||
+ | Shows the current debugging level |
Latest revision as of 16:21, 11 October 2024
Contents |
[edit] Supported Commands
All commands must be followed by carriage return (\r) unless otherwise indicated.
[edit] ?
- Syntax
- ?
- Example
- ?
- Returns
- <About information>
Returns the ‘About’ information for this door controller
[edit] <ENTER>
- Syntax
- \r
- Example
- \r
- Returns
- OK:null:
Simple keepalive
[edit] U
- Syntax
- U[<time>]
- Example
- U3
- Returns
- OK:unlock:<time>
Unlocks the door for the specified number of seconds. If no time is specified, uses the default unlocktime stored in internal configuration
[edit] uptime
- Syntax
- uptime
- Example
- uptime
- Returns
- INFO:uptime:<millis>
Returns the length of time since the last board restart, in milliseconds
[edit] debug
- Syntax
- debug [<level> | cmd | keypad | ibutton | wiegand | eeprom | local]
- Example
- debug
- Returns
- INFO:debug:<level>
- Example
- debug 4
- Returns
- OK:debug:<level>
Shows the current debugging level, or sets a new one. If a value is specified, this overwrites the previous bitmask; otherwise debugging for the specified parameter is added to the existing bitmask.
[edit] test
- Syntax
- test [input | output]
- Example
- test input
- Returns
- <live test output>
This command is not suitable for automated use. It will exercise all inputs or outputs, and show the results continually until a further key is pressed.
[edit] free
- Syntax
- free
- Example
- free
- Returns
- INFO:free:<bytes>
- Versions
- Removed in r193 and replaced with 'show free'
Returns the amount of available internal RAM, in bytes
[edit] set
- Syntax
- set [name | num | local<num> | unlocktime | lockinvert | mac <value>]
- Example
- set local0 WG:123456
- Returns
- <all values> (if no parameters given)
- <nothing> (if a new value is set)
Displays all current EEPROM settings, or changes a single setting.
(Note that for the local0-local6 variables, only the protocol eg WG: should be specified - not the reader number. For example use WG:12345 and not WG.1:12345 )
[edit] show
- Syntax
- show [free | voltage | debug]
- Example
- show voltage
- Returns
- INFO:free:432
- INFO:voltage:11.8
- INFO:debug:8 wiegand
- Versions
- Introduced in r193
[edit] show free
Returns the amount of available internal RAM, in bytes
[edit] show voltage
Shows the approximate voltage as measured at the esctl board. Note that this is not calibrated or designed to be accurate and will vary according to the particular internal voltage reference on the processor; resistor values; and other external factors. The value returned should, however, be useful as an indication of the supply voltage to around +/- 0.5 volts.
[edit] show debug
Shows the current debugging level