Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
Loading...
Searching...
No Matches
ca::DeviceList Class Reference

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.
 
void Refresh (const DeviceListFilter &aFilter=DeviceListFilter::sEmpty, bool enumerate_uart=false)
 Refresh the internal list of devices.
 
const std::vector< DeviceInfo > & Get ()
 Get the list of discovered devices as a vector.
 

Detailed Description

Class to assist in obtaining a list of connected ca821x devices, filtering as required.

Constructor & Destructor Documentation

◆ DeviceList()

ca::DeviceList::DeviceList ( )
inline

Default constructor.

Member Function Documentation

◆ Get()

const std::vector< DeviceInfo > & ca::DeviceList::Get ( )
inline

Get the list of discovered devices as a vector.

Returns
Vector of discovered devices.

◆ Refresh()

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.


The documentation for this class was generated from the following files: