re: https://developer.sony.com/develop/audio-control-api/hardware-overview/discovery-process
Hello. I have an APAC region Sony STR-DN1080 AVR. I am able to control said AVR via the API just fine. I just cannot discover supported Sony devices using SSDP.
It seems that the AVR is periodically advertising itself to the network via UDP, but it is not responding to any multicast requests using the format described in the docs.
The Web API service does not even reply when I replace the "ST: ...." line with ST: upnp:rootdevice
or ST: ssdp:all
. Other devices on my network do reply, but not the Web API service. The built-in UPnP/DLNA service does respond however.
Here is my packet:
String msg = "M-SEARCH * HTTP/1.1\r\n" +
"HOST: 239.255.255.250:1900\r\n" +
"MAN: \"ssdp:discover\"\r\n" +
"MX: 1\r\n" +
"ST: urn:schemas-sony-com:service:ScalarWebAPI:1\r\n" +
"USER-AGENT: me\r\n" +
"\r\n" ;
Is there something I am missing? Thanks in advance.
Solution. I couldn't get the required response from the Sony STR-DN1080 with the specified M-SEARCH broadcast no matter how I tried. So instead, this is what I did:
ST: ssdp:all\r\n
in the M-SEARCH broadcast.It's not where I wanted to end up, but it works.