Sony's Developer World forum

    • Home
    • Forum guidelines

    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

    Audio Control API
    3
    11
    57583
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      bgrubb1 last edited by

      Re: Undocumented features of the Sony Audio Control API?
      i saw in a thread here "Older models supports older versions of the API (almost all devices with network connection are supporting some version of this API), some functions are the same as the current (documented) functions others are using older versions that that take slightly different parameters. Unfortunately I don't have a list of the devices and what functions they support that I can share."
      I am working with a STR DN2010 with network and control via the Sony AV Remote app on iPhone. Is this documented for STR DN2010 ??

      1 Reply Last reply Reply Quote
      • D
        david DeveloperWorld last edited by david

        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.

        G 1 Reply Last reply Reply Quote
        • G
          grolschie @david last edited by grolschie

          @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.

          1 Reply Last reply Reply Quote
          • D
            david DeveloperWorld last edited by

            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.

            G 1 Reply Last reply Reply Quote
            • G
              grolschie @david last edited by grolschie

              @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 the version parameter to try get a response. It might also pay to run a port scan against the receiver to see what services are available.

              B D 2 Replies Last reply Reply Quote
              • B
                bgrubb1 @grolschie last edited by

                @grolschie
                I am not getting a response, but may have format jacked
                Doesnt Sony have ANY information ??

                G 1 Reply Last reply Reply Quote
                • G
                  grolschie @bgrubb1 last edited by

                  @bgrubb1 try a port scan against its IP address, right up to 55,000.

                  1 Reply Last reply Reply Quote
                  • B
                    bgrubb1 last edited by

                    3a81e93f-1252-4e24-a79b-e0f1e0492b03-image.png

                    G 1 Reply Last reply Reply Quote
                    • G
                      grolschie @bgrubb1 last edited by

                      @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.

                      1 Reply Last reply Reply Quote
                      • D
                        david DeveloperWorld @grolschie last edited by david

                        @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 like getXXX (the getMethodTypes method might not be present in all versions).

                        G 1 Reply Last reply Reply Quote
                        • G
                          grolschie @david last edited by

                          @david, thank you for shedding some light on this. 👍

                          1 Reply Last reply Reply Quote
                          • First post
                            Last post
                          Developer World
                          Copyright © 2021 Sony Group Corporation. All rights reserved.
                          • Contact us
                          • Legal