Lantronix EDS3000PS Command Reference - Page 45

optionalItem Current Connection optionalItemInstance Required

Page 45 highlights

5: Configuration Using Web API [n= ][m= ][t= ] First it must successfully open the Line; select Line Protocol of "None" so it may open it successfully. optionalItem "Receiver" optionalItemInstance NULL action "Receive" The Receive action picks up characters from the Line. First it must successfully open the Line; select Line Protocol of "None" so it may open it successfully. optionalItem "Receiver" optionalItemInstance NULL action "Hex Receive" The Hex Receive action picks up bytes from the Line. First it must successfully open the Line; select Line Protocol of "None" so it may open it successfully. optionalItem "Transmitter" optionalItemInstance NULL action "Transmit " The Transmit action sends characters to the Line. First it must successfully open the Line; select Line Protocol of "None" so it may open it successfully. optionalItem "Transmitter" optionalItemInstance NULL action "Hex Transmit " The Hex Transmit action sends bytes to the Line. First it must successfully open the Line; select Line Protocol of "None" so it may open it successfully. group "NTP" optionalGroupInstance NULL optionalItem NULL optionalItemInstance NULL action "Sync" The Sync action requests immediate clock synchronization with the NTP server. group "Tunnel" optionalGroupInstance Required optionalItem "Current Connection" optionalItemInstance Required action "Kill" The Kill action manually disconnects an active Tunnel connection. CURL example: curl -u admin:PASSWORD http:///action/status -X POST -d "group=Interface&optionalGroupInstance=eth0&action=Renew" Javascript example: myXmlhttprequest.open( "POST", "/action/status", true EDS3000 Command Reference 45

  • 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
45
[n=<decimal number> ][m=<decimal number> ][t=<hex number> ]<hex bytes to send>
First it must successfully open the Line; select Line Protocol of "None" so it may open it
successfully.
optionalItem "Receiver" optionalItemInstance NULL
action "Receive"
The Receive action picks up characters from the Line.
First it must successfully open the Line; select Line Protocol of "None" so it may open it
successfully.
optionalItem "Receiver" optionalItemInstance NULL
action "Hex Receive"
The Hex Receive action picks up bytes from the Line.
First it must successfully open the Line; select Line Protocol of "None" so it may open it
successfully.
optionalItem "Transmitter" optionalItemInstance NULL
action "Transmit <value>"
The Transmit action sends characters to the Line.
First it must successfully open the Line; select Line Protocol of "None" so it may open it
successfully.
optionalItem "Transmitter" optionalItemInstance NULL
action "Hex Transmit <value>"
The Hex Transmit action sends bytes to the Line.
First it must successfully open the Line; select Line Protocol of "None" so it may open it
successfully.
group "NTP" optionalGroupInstance NULL
optionalItem NULL optionalItemInstance NULL
action "Sync"
The Sync action requests immediate clock synchronization with the NTP server.
group "Tunnel" optionalGroupInstance Required
optionalItem "Current Connection" optionalItemInstance Required
action "Kill"
The Kill action manually disconnects an active Tunnel connection.
CURL example:
curl -u admin:PASSWORD http://<ip-address>/action/status -X POST -d
"group=Interface&optionalGroupInstance=eth0&action=Renew"
Javascript example:
myXmlhttprequest.open(
"POST",
"/action/status",
true