Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
|
Class to assist in obtaining a list of connected ca821x devices, filtering as required. More...
#include <posix/app/chilictl/common/DeviceList.hpp>
Public Member Functions | |
DeviceList () | |
Default constructor. More... | |
void | Refresh (const DeviceListFilter &aFilter=DeviceListFilter::sEmpty, bool enumerate_uart=false) |
Refresh the internal list of devices. More... | |
const std::vector< DeviceInfo > & | Get () |
Get the list of discovered devices as a vector. More... | |
Class to assist in obtaining a list of connected ca821x devices, filtering as required.
|
inline |
Default constructor.
|
inline |
Get the list of discovered devices as a vector.
void ca::DeviceList::Refresh | ( | const DeviceListFilter & | aFilter = DeviceListFilter::sEmpty , |
bool | enumerate_uart = false |
||
) |
Refresh the internal list of devices.
Must be called at least once.