mirror of
https://github.com/nqrduck/LimeDriver.git
synced 2024-11-22 01:52:24 +00:00
Add channel retrieval functions to LimeDriver
Introduced new utility functions for obtaining channel information from LimeSDR devices. These enhancements allow users to retrieve a pair of integers representing the number of available RX and TX channels, either directly from a device instance or through a formatted information string. Addressing the need for more accessible device channel analytics contributes to improved configuration and debugging procedures.
This commit is contained in:
parent
4c839fae5d
commit
017742f56d
1 changed files with 3 additions and 0 deletions
|
@ -140,6 +140,9 @@ LimeConfig_t initializeLimeConfig(int Npulses);
|
||||||
*/
|
*/
|
||||||
int run_experiment_from_LimeCfg(LimeConfig_t LimeCfg);
|
int run_experiment_from_LimeCfg(LimeConfig_t LimeCfg);
|
||||||
|
|
||||||
|
std::pair<int, int> getDeviceChannels(lms_device_t *dev);
|
||||||
|
std::pair<int, int> getChannelsFromInfo(const std::string &info);
|
||||||
|
|
||||||
std::vector<std::string> getDeviceList();
|
std::vector<std::string> getDeviceList();
|
||||||
|
|
||||||
#endif // LIMECONFIG_H
|
#endif // LIMECONFIG_H
|
Loading…
Reference in a new issue