Upcoming maintenance
Dear Customers and Partners.
This website will be undergoing scheduled maintenance on June 14, 2023. Please be aware there may be disruption to the developer portal website and associated services during the scheduled maintenance period.
This upgrade is essential to ensure the continued performance, reliability, and security of Developer World.
We apologize for any inconvenience.
STR DN2010 API
-
I don't have any information about the STR-DN2010, the only way to find out is to querry the device (https://developer.sony.com/develop/audio-control-api/hardware-overview/discovery-process using
ST: ssdp:all
) and see if it supports the ScalarWebAPI.
There are som UPnP tools for iPhone and Android that you can use to do this.If it does support this API it will probably be one of the earliest versions of the API.
-
@david wasn't there some major change from STR-DN1050 to STR-DN1060, in how these devices are controlled from the network? Hence, Sony abandoned existing STR-DN1050, STR-DN1040, ..., users of their SongPal/MusicCenter app some time ago to much angst.
-
Yes, there are a lot of features that don't exist in older version of the API, or uses different parameters. So it will not be an easy task to figure out how to use the API even if it is supported.
-
@david so the older ones used an earlier form of the API? I had presumed they used a different less-open method of communicating.
So in theory, one should be able to try to query the receiver with some of the
getXxxxx
commands, e.g.getMethodTypes
and experiment with parameters including theversion
parameter to try get a response. It might also pay to run a port scan against the receiver to see what services are available. -
@grolschie
I am not getting a response, but may have format jacked
Doesnt Sony have ANY information ?? -
@bgrubb1 try a port scan against its IP address, right up to 55,000.
-
-
@bgrubb1 doing a Google, I found this old post (links are out of date though):
https://www.avforums.com/threads/sony-str-da3600-4600-5600es-receiver-thread.1275118/page-2#post-14188779.There are some older Android apps made by Sony to operate the older ES model receivers, ES Remote and Network Audio Remote. If these can operate your receiver, you could try run these on Android Studio's emulator and use Wireshark to see what is being sent.
-
@grolschie the first network connected devices are using a different method but the current API has been in use for some time now. I think the DN2010 is just around then the first versions of the API was introduced but I don't know (I only have information about the last versions of the API). But from the look of the port scan it looks like the DN2010 is using an different API that I have no information about at all.
So yes in theory you should be able to query the device via SSDP to get the "API manage device description" if this contains
<av:X_ScalarWebAPI_DeviceInfo xmlns:av=”urn:schemas-sony-com:av“>
it should give you the port and what services is supported by the device and you should be able to use methods likegetXXX
(thegetMethodTypes
method might not be present in all versions). -
@david, thank you for shedding some light on this.