1

My Device from getInterfaceInformation

{
    "id": 33,
    "result": [
        {
            "interfaceVersion": "4.0.0",
            "modelName": "HT-CT800",
            "productCategory": "homeTheaterSystem",
            "productName": "Bar",
            "serverName": ""
        }
    ]
}

Firmware version is M39.R.0377

I tried use getSoundSettings with

{
    "method": "getSoundSettings",
    "id": 73,
    "params": [
        {
            "target": ""
        }
    ],
    "version": "1.1"
}

and it returns

{
    "error": [
        12,
        "getSoundSettings"
    ],
    "id": 73
}

also use getSupportedApiInfo still return

{
    "error": [
        12,
        "getSupportedApiInfo"
    ],
    "id": 5
}

These methods work:

  • getInterfaceInformation (v1.0)
  • getPowerStatus (v1.1)
  • getSWUpdateInfo (v1.0)
  • getSystemInformation (v1.4)
grolschie
  • 2,163
  • 2
  • 12
  • 29
  • Just to confirm, are you sending the message to the correct path for "getSoundSettings" it should be http://{{IP}}:10000/sony/audio and for "getSupportedApiInfo" it should be http://{{IP}}:10000/sony/guide – David - Sony May 21 '19 at 10:31
  • @David-Sony My bad.I forgot libs are different.Thanks! – Larkin Wang May 22 '19 at 12:36

1 Answers1

1

Make sure you are using the correct path http://{{IP}}:{{port}}/sony/{{lib}} for the method you are calling for "getSoundSettings" it should be http://{{IP}}:{{port}}/sony/audio and for "getSupportedApiInfo" it should be http://{{IP}}:{{port}}/sony/guide.

You find the lib for each method listed in the API reference https://developer.sony.com/develop/audio-control-api/api-references/api-overview-2

David - Sony
  • 161
  • 4