Lantronix SGX 5150 IoT Device Gateway SGX 5150 Command Reference - Page 61
group \, action Factory Defaults
View all Lantronix SGX 5150 IoT Device Gateway manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 61 highlights
5: Configuration Using Web 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 xPico Wi-Fi 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. optionalItem NULL optionalItemInstance NULL action "Firmware Upload" The Firmware Upload action boots up the OTA loader. Then the OTA loader will allow you to browse for the file to upload. 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 "Interface" optionalGroupInstance Required optionalItem NULL optionalItemInstance NULL optionalHost NULL port Required optionalProtocol NULL (defaults to UDP) data Required action "Send" The Send action causes the device to send a UDP/TCP packet to the bridged host. The data bytes are hex encoded but sent as binary. SGX 5150 IoT Device Gateway Command Reference 61