Does ohnet support Embedded devices?
|
03-07-2015, 11:02 AM
Post: #21
|
|||
|
|||
RE: Does ohnet support Embedded devices?
(02-07-2015 02:39 PM)simonc Wrote:(02-07-2015 01:19 PM)SiMet Wrote:(01-07-2015 01:17 PM)simonc Wrote: You should provide the 'real' domain for device lists, not a UPnP representation. So, for services/devices defined by the UPnP forum, use "upnp.org" as the domain throughout your code. Could you explain me how this conversion works and how to use it? It's strange to me that I create device with Upnp.Domain "schemas-upnp-org" and have to make CP list with "upnp.org" type. Is there other conversions? |
|||
03-07-2015, 01:14 PM
Post: #22
|
|||
|
|||
RE: Does ohnet support Embedded devices?
(03-07-2015 11:02 AM)SiMet Wrote: Could you explain me how this conversion works and how to use it? You should set the domain for the device as "upnp.org" also. ohNet will automatically convert this to "schemas-upnp-org" where appropriate. |
|||
03-07-2015, 01:59 PM
Post: #23
|
|||
|
|||
RE: Does ohnet support Embedded devices?
(03-07-2015 01:14 PM)simonc Wrote:(03-07-2015 11:02 AM)SiMet Wrote: Could you explain me how this conversion works and how to use it? If I could ask why do you do such translation? |
|||
03-07-2015, 02:08 PM
Post: #24
|
|||
|
|||
RE: Does ohnet support Embedded devices?
(03-07-2015 01:59 PM)SiMet Wrote:(03-07-2015 01:14 PM)simonc Wrote: You should set the domain for the device as "upnp.org" also. ohNet will automatically convert this to "schemas-upnp-org" where appropriate. ohNet is intended to be capable of communicating using multiple different protocols. In addition to UPnP we currently support LPEC (a simple serial protocol used by very simple controllers) and Dv (a dummy protocol used when control point and device are in the same address space). Device stack clients can publish devices on all available protocols simultaneously. Given that the same device is available on multiple protocols, it seemed most sensible to keep any rules that are specific to UPnP (such as how to present domain names) inside our UPnP protocol implementation. |
|||
09-07-2015, 01:50 PM
(This post was last modified: 09-07-2015 02:55 PM by M-Art.)
Post: #25
|
|||
|
|||
RE: Does ohnet support Embedded devices?
(30-06-2015 07:43 AM)SiMet Wrote: Embedded devices are discovered but not by ohNet control point stack. @SiMet is right. Using CpiDeviceListCppUpnpAll class, OhNet does send M-SEARCH with "ST: ssdp:all" header, but handles only response with root device. It should handle all notifies. Here is the fix: Code: diff --git a/OpenHome/Net/ControlPoint/Upnp/CpiDeviceUpnp.cpp b/OpenHome/Net/ControlPoint/Upnp/CpiDeviceUpnp.cpp |
|||
16-07-2015, 01:14 PM
Post: #26
|
|||
|
|||
RE: Does ohnet support Embedded devices?
any comment for the fix?
|
|||
16-07-2015, 05:09 PM
Post: #27
|
|||
|
|||
RE: Does ohnet support Embedded devices? | |||
« Next Oldest | Next Newest »
|