Sony's Developer World forum

    • Home
    • Forum guidelines

    HT-ST5000: Error 12 "No such method"

    Audio Control API
    2
    5
    9995
    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.
    • G
      gnillab last edited by gnillab

      I've been trying to build something using an HT-ST5000 as a test unit, but almost none of the commands in the documentation actually work.

      Simple commands like getVolumeInformation returns an error 12.

      In fact, the only commands I've gotten to work from the whole documentation are getPowerStatus and setPowerStatus.

      Nothing else works.

      @David Is the HT-ST5000 listed as supported by mistake?

      1 Reply Last reply Reply Quote
      • G
        gnillab last edited by

        I tried getMethodTypes as proposed elsewhere on this forum and get next to nothing.

        "actSWUpdate"
        "connectBluetoothDevice"
        "getDeviceMiscSettings"
        "getInterfaceInformation"
        "getMethodTypes"
        "getPowerSettings"
        "getSWUpdateInfo"
        "getSleepTimerSettings"
        "getVersions"
        "getWuTangInfo"
        "setClientInfo"
        "setDeviceMiscSettings"
        "setPowerSettings"
        "setSleepTimerSettings"
        "setWuTangInfo"
        "getPowerStatus"
        "getSettingsTree"
        "getStorageList"
        "setPowerStatus"
        "getSystemInformation"

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

          Please post your JSON and the URL that you are posting the JSON to. I'm guessing that you are sending the JSON to the wrong URL, i.e.http://ip.number.to.device:10000/sony/{Lib} where {Lib} is one of system, audio, or avContent.

          Because error code 12 is "No Such Method".

          getVolumeInformation needs to be POSTed to the "audio" lib, i.e. http://ip.number.to.device:10000/sony/audio.

          Also, try getMethodTypes on the "audio" lib as well as the "avContent" lib and you should see a lot more method types. It looks like you're querying the "system" lib.

          1 Reply Last reply Reply Quote
          • G
            gnillab last edited by

            You are right, of course. I missed (skipped, probably) that part of the documentation.

            Everything seems to work fine now.

            Thanks a lot! Saved my weekend.

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

              No worries. 👍

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