ohnet/1.36.5182

OpenHome Networking (ohNet) is a modern, cross platform, multi-language UPnP stack
Recipe info
2023-10-23

Available packages
Linux
Windows
macOS
macOS Apple Silicon

Install
Add the following line to your conanfile.txt:
[requires]
ohnet/1.36.5182

Using ohnet

Note

If you are new with Conan, we recommend to read the section how to consume packages.

If you need additional assistance, please ask a question in the Conan Center Index repository.

Simplest use case consuming this recipe and assuming CMake as your local build tool:

[requires]
ohnet/1.36.5182
[generators]
CMakeDeps
CMakeToolchain
[layout]
cmake_layout
from conan import ConanFile
from conan.tools.cmake import cmake_layout


class ExampleRecipe(ConanFile):
    settings = "os", "compiler", "build_type", "arch"
    generators = "CMakeDeps", "CMakeToolchain"

    def requirements(self):
        self.requires("ohnet/1.36.5182")

    def layout(self):
        cmake_layout(self)

Now, you can run this Conan command to locally install (and build if necessary) this recipe and its dependencies (if any):

$ conan install conanfile.txt --build=missing

Useful information to take into account to consume this library:


These are the main declared targets:

  • CMake package name(s): ohnet
  • CMake target name(s): ohnet::ohnet
  • ohNet => ohNet
    ohNetCore => ohNetCore
    OhNetDevices => OhNetDevices
    ohNetDevices => ohNetDevices
    ohNetProxies => ohNetProxies
    TestFramework => TestFramework
    
  • pkg-config file name(s): ohnet.pc
  • ohNet => ohnet-ohNet.pc
    ohNetCore => ohnet-ohNetCore.pc
    OhNetDevices => ohnet-OhNetDevices.pc
    ohNetDevices => ohnet-ohNetDevices.pc
    ohNetProxies => ohnet-ohNetProxies.pc
    TestFramework => ohnet-TestFramework.pc
    

A simple use case using the CMake file name and the global target:

# ...
find_package(ohnet REQUIRED)
# ...
target_link_libraries(YOUR_TARGET ohnet::ohnet)

These are all the available headers. Some of these ones might be non-public; make sure of it by visiting the ohnet homepage listed above:

#include "OpenHome/Buffer.h"
#include "OpenHome/Buffer.inl"
#include "OpenHome/Defines.h"
#include "OpenHome/Exception.h"
#include "OpenHome/Functor.h"
#include "OpenHome/FunctorMsg.h"
#include "OpenHome/FunctorNetworkAdapter.h"
#include "OpenHome/MimeTypes.h"
#include "OpenHome/Net/C/Async.h"
#include "OpenHome/Net/C/CpAvOpenhomeOrgProduct1.h"
#include "OpenHome/Net/C/CpAvOpenhomeOrgSender1.h"
#include "OpenHome/Net/C/CpDevice.h"
#include "OpenHome/Net/C/CpDeviceDv.h"
#include "OpenHome/Net/C/CpDeviceUpnp.h"
#include "OpenHome/Net/C/CpOpenhomeOrgSubscriptionLongPoll1.h"
#include "OpenHome/Net/C/CpOpenhomeOrgTestBasic1.h"
#include "OpenHome/Net/C/CpProxy.h"
#include "OpenHome/Net/C/CpProxyCPrivate.h"
#include "OpenHome/Net/C/CpService.h"
#include "OpenHome/Net/C/CpStack.h"
#include "OpenHome/Net/C/CpUpnpOrgConnectionManager1.h"
#include "OpenHome/Net/C/DvAvOpenhomeOrgProduct1.h"
#include "OpenHome/Net/C/DvAvOpenhomeOrgSender1.h"
#include "OpenHome/Net/C/DvDevice.h"
#include "OpenHome/Net/C/DvInvocation.h"
#include "OpenHome/Net/C/DvInvocationPrivate.h"
#include "OpenHome/Net/C/DvOpenhomeOrgSubscriptionLongPoll1.h"
#include "OpenHome/Net/C/DvOpenhomeOrgTestBasic1.h"
#include "OpenHome/Net/C/DvProvider.h"
#include "OpenHome/Net/C/DvServerUpnp.h"
#include "OpenHome/Net/C/DvStack.h"
#include "OpenHome/Net/C/DvUpnpOrgConnectionManager1.h"
#include "OpenHome/Net/C/DviDeviceC.h"
#include "OpenHome/Net/C/OhNet.h"
#include "OpenHome/Net/C/Service.h"
#include "OpenHome/Net/Core/CpAvOpenhomeOrgProduct1.h"
#include "OpenHome/Net/Core/CpAvOpenhomeOrgSender1.h"
#include "OpenHome/Net/Core/CpDevice.h"
#include "OpenHome/Net/Core/CpDeviceDv.h"
#include "OpenHome/Net/Core/CpDeviceUpnp.h"
#include "OpenHome/Net/Core/CpOpenhomeOrgSubscriptionLongPoll1.h"
#include "OpenHome/Net/Core/CpOpenhomeOrgTestBasic1.h"
#include "OpenHome/Net/Core/CpProxy.h"
#include "OpenHome/Net/Core/CpStack.h"
#include "OpenHome/Net/Core/CpUpnpOrgConnectionManager1.h"
#include "OpenHome/Net/Core/DvAvOpenhomeOrgProduct1.h"
#include "OpenHome/Net/Core/DvAvOpenhomeOrgSender1.h"
#include "OpenHome/Net/Core/DvDevice.h"
#include "OpenHome/Net/Core/DvInvocationResponse.h"
#include "OpenHome/Net/Core/DvOpenhomeOrgSubscriptionLongPoll1.h"
#include "OpenHome/Net/Core/DvOpenhomeOrgTestBasic1.h"
#include "OpenHome/Net/Core/DvProvider.h"
#include "OpenHome/Net/Core/DvResourceWriter.h"
#include "OpenHome/Net/Core/DvServerUpnp.h"
#include "OpenHome/Net/Core/DvStack.h"
#include "OpenHome/Net/Core/DvUpnpOrgConnectionManager1.h"
#include "OpenHome/Net/Core/FunctorAsync.h"
#include "OpenHome/Net/Core/FunctorCpDevice.h"
#include "OpenHome/Net/Core/OhNet.h"
#include "OpenHome/Net/Cpp/CpAvOpenhomeOrgProduct1.h"
#include "OpenHome/Net/Cpp/CpAvOpenhomeOrgSender1.h"
#include "OpenHome/Net/Cpp/CpDevice.h"
#include "OpenHome/Net/Cpp/CpDeviceDv.h"
#include "OpenHome/Net/Cpp/CpDeviceUpnp.h"
#include "OpenHome/Net/Cpp/CpOpenhomeOrgSubscriptionLongPoll1.h"
#include "OpenHome/Net/Cpp/CpOpenhomeOrgTestBasic1.h"
#include "OpenHome/Net/Cpp/CpProxy.h"
#include "OpenHome/Net/Cpp/CpStack.h"
#include "OpenHome/Net/Cpp/CpUpnpOrgConnectionManager1.h"
#include "OpenHome/Net/Cpp/DvAvOpenhomeOrgProduct1.h"
#include "OpenHome/Net/Cpp/DvAvOpenhomeOrgSender1.h"
#include "OpenHome/Net/Cpp/DvDevice.h"
#include "OpenHome/Net/Cpp/DvInvocation.h"
#include "OpenHome/Net/Cpp/DvOpenhomeOrgSubscriptionLongPoll1.h"
#include "OpenHome/Net/Cpp/DvOpenhomeOrgTestBasic1.h"
#include "OpenHome/Net/Cpp/DvProvider.h"
#include "OpenHome/Net/Cpp/DvResourceWriter.h"
#include "OpenHome/Net/Cpp/DvServerUpnp.h"
#include "OpenHome/Net/Cpp/DvStack.h"
#include "OpenHome/Net/Cpp/DvUpnpOrgConnectionManager1.h"
#include "OpenHome/Net/Cpp/FunctorAsync.h"
#include "OpenHome/Net/Cpp/FunctorCpDevice.h"
#include "OpenHome/Net/Cpp/OhNet.h"
#include "OpenHome/Net/Private/AsyncPrivate.h"
#include "OpenHome/Net/Private/Bonjour.h"
#include "OpenHome/Net/Private/CpiDevice.h"
#include "OpenHome/Net/Private/CpiDeviceDv.h"
#include "OpenHome/Net/Private/CpiDeviceLpec.h"
#include "OpenHome/Net/Private/CpiDeviceUpnp.h"
#include "OpenHome/Net/Private/CpiService.h"
#include "OpenHome/Net/Private/CpiStack.h"
#include "OpenHome/Net/Private/CpiSubscription.h"
#include "OpenHome/Net/Private/DNSCommon.h"
#include "OpenHome/Net/Private/DeviceXml.h"
#include "OpenHome/Net/Private/Discovery.h"
#include "OpenHome/Net/Private/DviDevice.h"
#include "OpenHome/Net/Private/DviPropertyUpdateCollection.h"
#include "OpenHome/Net/Private/DviProtocolLpec.h"
#include "OpenHome/Net/Private/DviProtocolUpnp.h"
#include "OpenHome/Net/Private/DviProviderSubscriptionLongPoll.h"
#include "OpenHome/Net/Private/DviServer.h"
#include "OpenHome/Net/Private/DviServerLpec.h"
#include "OpenHome/Net/Private/DviServerUpnp.h"
#include "OpenHome/Net/Private/DviServerWebSocket.h"
#include "OpenHome/Net/Private/DviService.h"
#include "OpenHome/Net/Private/DviSsdpNotifier.h"
#include "OpenHome/Net/Private/DviStack.h"
#include "OpenHome/Net/Private/DviSubscription.h"
#include "OpenHome/Net/Private/Error.h"
#include "OpenHome/Net/Private/EventUpnp.h"
#include "OpenHome/Net/Private/FunctorCpiDevice.h"
#include "OpenHome/Net/Private/FunctorDviInvocation.h"
#include "OpenHome/Net/Private/Globals.h"
#include "OpenHome/Net/Private/Js/Tests/dummyxml.xml"
#include "OpenHome/Net/Private/Js/Tests/favicon.ico"
#include "OpenHome/Net/Private/Js/Tests/index.html"
#include "OpenHome/Net/Private/Js/Tests/lib/ohnet.base64.js"
#include "OpenHome/Net/Private/Js/Tests/lib/ohnet.longpolling.js"
#include "OpenHome/Net/Private/Js/Tests/lib/ohnet.serviceproperty.js"
#include "OpenHome/Net/Private/Js/Tests/lib/ohnet.soaprequest.js"
#include "OpenHome/Net/Private/Js/Tests/lib/ohnet.subscriptionmanager.js"
#include "OpenHome/Net/Private/Js/Tests/lib/ohnet.util.js"
#include "OpenHome/Net/Private/Js/Tests/lib/ohnet.websocket.js"
#include "OpenHome/Net/Private/Js/Tests/proxies/CpOpenhomeOrgSubscriptionLongPoll1.js"
#include "OpenHome/Net/Private/Js/Tests/proxies/CpOpenhomeOrgTestBasic1.js"
#include "OpenHome/Net/Private/MdnsPlatform.h"
#include "OpenHome/Net/Private/MdnsProvider.h"
#include "OpenHome/Net/Private/ProtocolUpnp.h"
#include "OpenHome/Net/Private/Service.h"
#include "OpenHome/Net/Private/Ssdp.h"
#include "OpenHome/Net/Private/Subscription.h"
#include "OpenHome/Net/Private/Tests/TestBasicDv.h"
#include "OpenHome/Net/Private/XmlFetcher.h"
#include "OpenHome/Net/Private/XmlParser.h"
#include "OpenHome/Net/Private/dns_sd.h"
#include "OpenHome/Net/Private/dns_sd_internal.h"
#include "OpenHome/Net/Private/dns_sd_private.h"
#include "OpenHome/Net/Private/dnsproxy.h"
#include "OpenHome/Net/Private/mDNSDebug.h"
#include "OpenHome/Net/Private/mDNSEmbeddedAPI.h"
#include "OpenHome/Net/Private/mDNSFeatures.h"
#include "OpenHome/Net/Private/uDNS.h"
#include "OpenHome/OhNetDefines.h"
#include "OpenHome/OhNetTypes.h"
#include "OpenHome/Optional.h"
#include "OpenHome/Os.h"
#include "OpenHome/OsTypes.h"
#include "OpenHome/OsWrapper.h"
#include "OpenHome/OsWrapper.inl"
#include "OpenHome/Private/Arch.h"
#include "OpenHome/Private/Ascii.h"
#include "OpenHome/Private/Converter.h"
#include "OpenHome/Private/Crc32.h"
#include "OpenHome/Private/Debug.h"
#include "OpenHome/Private/DnsChangeNotifier.h"
#include "OpenHome/Private/Env.h"
#include "OpenHome/Private/Fifo.h"
#include "OpenHome/Private/File.h"
#include "OpenHome/Private/Http.h"
#include "OpenHome/Private/InfoProvider.h"
#include "OpenHome/Private/Network.h"
#include "OpenHome/Private/NetworkAdapterList.h"
#include "OpenHome/Private/OptionParser.h"
#include "OpenHome/Private/Optional.h"
#include "OpenHome/Private/Parser.h"
#include "OpenHome/Private/Printer.h"
#include "OpenHome/Private/Queue.h"
#include "OpenHome/Private/Shell.h"
#include "OpenHome/Private/ShellCommandDebug.h"
#include "OpenHome/Private/ShellCommandQuit.h"
#include "OpenHome/Private/ShellCommandRun.h"
#include "OpenHome/Private/ShellCommandWatchDog.h"
#include "OpenHome/Private/Standard.h"
#include "OpenHome/Private/Stream.h"
#include "OpenHome/Private/SuiteUnitTest.h"
#include "OpenHome/Private/TIpAddressUtils.h"
#include "OpenHome/Private/Terminal.h"
#include "OpenHome/Private/TestFramework.h"
#include "OpenHome/Private/Thread.h"
#include "OpenHome/Private/Timer.h"
#include "OpenHome/Private/TimerFactoryMock.h"
#include "OpenHome/Private/Uri.h"
#include "OpenHome/Private/md5.h"
#include "OpenHome/Private/sha-private.h"
#include "OpenHome/Private/sha.h"
#include "OpenHome/Types.h"