You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry I was unclear. The stop is what I coded, ie. it is a single use service at a time; when I connect I call stop
My question is if I get other errors, is there a clean way (like ssdpServer.start() ?) to restart that service? Currently I exit and let the service be restarted, but was hoping to lower the overhead of restarting the advertisement.
There's not a lot of overhead in starting an advertisement - it's just a timer that periodically sends some UDP packets to the broadcast address. It will listen on a socket to serve the device description document but you can get it not to do that by passing a location argument to bus.advertise.
My service stops advertising once it is connected via
It was created via:
ssdpServer = ssdp(...)
ssdpeServer.advertise(...)
ssdpServer.stop()
Is there a method to continue/restart advertising? would it be ssdpServer.start(), or some other cleanup / recreation?
The text was updated successfully, but these errors were encountered: