#include <Ssdp.h>
§ Ssdp()
§ ~Ssdp()
§ searchDevices()
void BaseLib::Ssdp::searchDevices |
( |
const std::string & |
stHeader, |
|
|
uint32_t |
timeout, |
|
|
std::vector< SsdpInfo > & |
devices |
|
) |
| |
Searches for SSDP devices and returns the IPv4 addresses.
- Parameters
-
[in] | stHeader | The ST header with the URN to search for (e. g. urn:schemas-upnp-org:device:basic:1) |
[in] | timeout | The time to wait for responses |
[out] | devices | The found devices with device information parsed from XML to a Homegear variable struct. |
§ searchDevicesPassive()
void BaseLib::Ssdp::searchDevicesPassive |
( |
const std::string & |
stHeader, |
|
|
uint32_t |
timeout, |
|
|
std::vector< SsdpInfo > & |
devices, |
|
|
std::atomic_bool & |
abort |
|
) |
| |
Searches for SSDP devices by listening for NOTIFY packets and returns the IPv4 addresses.
- Parameters
-
[in] | stHeader | The ST header with the URN to search for (e. g. urn:schemas-upnp-org:device:basic:1) |
[in] | timeout | The time to wait for responses |
[out] | devices | The found devices with device information parsed from XML to a Homegear variable struct. |
[in] | abort | When set to true during the search, the search is aborted. |
The documentation for this class was generated from the following files: