mirror of
https://github.com/Telecominfraproject/wlan-cloud-owprov.git
synced 2025-11-01 11:07:46 +00:00
Debugging
This commit is contained in:
@@ -82,6 +82,7 @@ namespace OpenWifi{
|
|||||||
// looking for device(s) for a specific subscriber...
|
// looking for device(s) for a specific subscriber...
|
||||||
ProvObjects::InventoryTagVec Tags;
|
ProvObjects::InventoryTagVec Tags;
|
||||||
DB_.GetRecords(0,100,Tags," subscriber='" + Arg + "'");
|
DB_.GetRecords(0,100,Tags," subscriber='" + Arg + "'");
|
||||||
|
std::cout << "Tags: " << Tags.size() << std::endl;
|
||||||
if(SerialOnly) {
|
if(SerialOnly) {
|
||||||
std::vector<std::string> SerialNumbers;
|
std::vector<std::string> SerialNumbers;
|
||||||
std::transform(cbegin(Tags), cend(Tags), std::back_inserter(SerialNumbers), [](const auto &T) { return T.serialNumber; });
|
std::transform(cbegin(Tags), cend(Tags), std::back_inserter(SerialNumbers), [](const auto &T) { return T.serialNumber; });
|
||||||
|
|||||||
Reference in New Issue
Block a user