29 #ifndef POSIX_APP_CHILICTL_LIST_LIST_HPP_
30 #define POSIX_APP_CHILICTL_LIST_LIST_HPP_
54 ArgOpt mExtFlashAvailableArg;
57 ArgOpt mEnumerateUartDevicesArg;
63 void print_info(
const DeviceInfo &aDeviceInfo);
65 ca_error print_help_string(
const char *aArg);
66 ca_error set_available(
const char *aArg);
67 ca_error set_extflash_available(
const char *aArg);
68 ca_error set_serialno_filter(
const char *aArg);
69 ca_error set_versionno_filter(
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: List.cpp:88
List()
Definition: List.cpp:38
ca_error
Cascoda error type.
Definition: ca821x_error.h:51