29 #ifndef POSIX_APP_CHILICTL_FLASH_FLASH_HPP_
30 #define POSIX_APP_CHILICTL_FLASH_FLASH_HPP_
65 ArgOpt mEnumerateUartDevicesArg;
68 std::string mAppFilePath;
69 std::string mOtaBootFilePath;
70 std::string mManuDataFilePath;
75 ca_error print_help_string(
const char *aArg);
76 ca_error set_serialno_filter(
const char *aArg);
77 ca_error set_application_file(
const char *aArg);
78 ca_error set_manufacturer_data_file(
const char *aArg);
79 ca_error set_ota_bootloader_file(
const char *aArg);
Global error declarations for use across the Cascoda SDK.
Structure for holding the definition of potential options to pass on the command line.
Definition: Args.hpp:45
Class for parsing and handling options passed as command line arguments.
Definition: Args.hpp:133
Abstract class for handling command positional arguments, to be implemented by the command classes.
Definition: Command.hpp:40
C++ wrapper for the C ca_device_info struct, which owns its own memory.
Definition: DeviceInfo.hpp:40
Definition: DeviceList.hpp:40
Class to assist in obtaining a list of connected ca821x devices, filtering as required.
Definition: DeviceList.hpp:121
ca_error Process(int argc, const char *argv[])
Run the command, processing the arguments passed in argv.
Definition: Flash.cpp:162
Flash()
Definition: Flash.cpp:100
FlashType
Enumeration of different areas of flash to rewrite.
Definition: Flasher.hpp:46
ca_error
Cascoda error type.
Definition: ca821x_error.h:51