Yortw / RSSDP

Really Simple Service Discovery Protocol - a 100% .Net implementation of the SSDP protocol for publishing custom/basic devices, and discovering all device types on a network.
http://yortw.github.io/RSSDP/
MIT License
288 stars 67 forks source link

How to remove "schemas-upnp-org:device" from Notify Device Type Messages #102

Closed pkuehnel closed 4 years ago

pkuehnel commented 4 years ago

I want to use RSSDP to get my car's charging Station discovered by a smart Meter. The problem is, the smart meter only listens to device Type NT: urn:schemas-simple-energy-management-protocol:device:Gateway:1 but RSSDP always adds schemas-upnp-org:device:

notify deviceType

How can I get rid of it?

pkuehnel commented 4 years ago

OMG I am so stupid... commented out the Line of DeviceTypeNamespace and this seems to be the default...

Yortw commented 4 years ago

Nah, not stupid, just using a new lib... happens to us all. Glad you got it figured out tho :)