29 #ifndef POSIX_APP_CHILICTL_REBOOT_REBOOT_HPP_
30 #define POSIX_APP_CHILICTL_REBOOT_REBOOT_HPP_
74 ArgOpt mEnumerateUartDevicesArg;
75 DeviceList mDeviceList;
76 DeviceListFilter mDeviceListFilter;
78 DeviceInfo mDeviceInfo;
104 ca_error print_help_string(
const char *aArg);
105 ca_error set_serialno_filter(
const char *aArg);
107 void set_state(
State aNextState);
108 static const char *state_string(
State aState);
Global error declarations for use across the Cascoda SDK.
Abstract class for handling command positional arguments, to be implemented by the command classes.
Definition: Command.hpp:40
Definition: Reboot.hpp:43
State
Definition: Reboot.hpp:46
@ REBOOT
Rebooting the device.
Definition: Reboot.hpp:49
@ FACTORY_RESET
Erasing Data Flash region.
Definition: Reboot.hpp:48
@ INIT
Initial state.
Definition: Reboot.hpp:47
@ FAIL
Flashing failed.
Definition: Reboot.hpp:51
@ COMPLETE
Flashing completed successfully.
Definition: Reboot.hpp:50
ca_error Process(int argc, const char *argv[])
Run the command, processing the arguments passed in argv.
Definition: Reboot.cpp:81
~Reboot()
Definition: Reboot.cpp:76
Reboot()
Definition: Reboot.cpp:47
ca_error
Cascoda error type.
Definition: ca821x_error.h:51
EVBME Message command in Cascoda TLV format.
Definition: evbme_messages.h:258
CA-821x Device reference struct.
Definition: ca821x_api.h:123