Lantronix EDS3000PS Command Reference - Page 44

Actions Definitions

Page 44 highlights

5: Configuration Using Web API Actions Definitions The following are action definitions related to the Take Status Action API. Note: When you see "NULL" after optionalGroupInstance, optionalItem, or optionalItemInstance, it means that item or instance should be omitted. group "Clock" optionalGroupInstance NULL optionalItem NULL optionalItemInstance NULL action "Current Time " The format for setting time is YYYY-MM-DD hh:mm:ss, where the hours are in 24-hour format. The device supports dates in the range 2007-01-01 00:00:00 to 2039-12-31 23:59:59 UTC. group "Device" optionalGroupInstance NULL optionalItem NULL optionalItemInstance NULL action "Save" The Save action works like the "write" command. Any cached configuration changes are committed, so they will apply after a reboot. Without a Save, any cached configuration changes are lost after a reboot. optionalItem NULL optionalItemInstance NULL action "Reboot" The Reboot action shuts the device down and restarts it. Any cached configuration changes (those which have not been saved) are lost. optionalItem NULL optionalItemInstance NULL action "Factory Defaults" The Factory Defaults action restores the device configuration as it came from the factory. Any user changes to configuration are lost. group "Filesystem" optionalGroupInstance NULL optionalItem NULL optionalItemInstance NULL action "Format" Format clears out the flash file system, preserving only system configuration data. Be careful! All other files are destroyed. group "Line" optionalGroupInstance Required optionalItem NULL optionalItemInstance NULL action "Command " The Command action sends bytes to the Line and picks up bytes in response. The bytes are hex encoded. Maximum number of characters to read (n) may be specified; default is unlimited. Milliseconds total time limit (m) may be specified; default is 1000. Terminating byte (t) may be specified; default is . Syntax of is: EDS3000 Command Reference 44

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83

5: Configuration Using Web API
EDS3000 Command Reference
44
Actions Definitions
The following are action definitions related to the Take Status Action API.
Note:
When you see “NULL” after optionalGroupInstance, optionalItem, or
optionalItemInstance, it means that item or instance should be omitted.
group "Clock" optionalGroupInstance NULL
optionalItem NULL optionalItemInstance NULL
action "Current Time <value>"
The format for setting time is YYYY-MM-DD hh:mm:ss, where the hours are in 24-hour format. The
device supports dates in the range 2007-01-01 00:00:00 to 2039-12-31 23:59:59 UTC.
group "Device" optionalGroupInstance NULL
optionalItem NULL optionalItemInstance NULL
action "Save"
The Save action works like the "write" command. Any cached configuration changes are
committed, so they will apply after a reboot.
Without a Save, any cached configuration changes are lost after a reboot.
optionalItem NULL optionalItemInstance NULL
action "Reboot"
The Reboot action shuts the device down and restarts it. Any cached configuration changes (those
which have not been saved) are lost.
optionalItem NULL optionalItemInstance NULL
action "Factory Defaults"
The Factory Defaults action restores the device configuration as it came from the factory. Any user
changes to configuration are lost.
group "Filesystem" optionalGroupInstance NULL
optionalItem NULL optionalItemInstance NULL
action "Format"
Format clears out the flash file system, preserving only system configuration data. Be careful! All
other files are destroyed.
group "Line" optionalGroupInstance Required
optionalItem NULL optionalItemInstance NULL
action "Command <value>"
The Command action sends bytes to the Line and picks up bytes in response. The bytes are hex
encoded.
Maximum number of characters to read (n) may be specified; default is unlimited.
Milliseconds total time limit (m) may be specified; default is 1000.
Terminating byte (t) may be specified; default is <None>.
Syntax of <value> is: