edgexfoundry / device-onvif-camera

Owner: Device WG
Apache License 2.0
29 stars 37 forks source link

Bosch camera- Modify Analytics Modules not working. #34

Open surajitx-pal opened 2 years ago

surajitx-pal commented 2 years ago

Summary of the problem: 'Modify Analytics Modules' API not working.

Issue reproducible on below camera models:

Bosch DINION 6000HD

Reproduce steps:

Execute this command to Modify Analytics Modules

curl -X PUT http://localhost:59882/api/v2/device/name/Bosch-DINION-IP-starlight-6000-HD-00075fd8-7c31-317c-d85f-0700075fd85f/AnalyticsModules \ --header 'Content-Type: application/json' \ --data-raw '

{
"AnalyticsModules": {
    "ConfigurationToken": "1",
    "AnalyticsModule": [
        {
            "Name": "Viproc",
            "Parameters": {
                "SimpleItem": [
                    {
                        "Name": "Mode",
                        "Value": "Profile 144"
                    }
                ]
            }
        }
    ]
}

}'

Actual result - Soap error, 500 Executed - should be successfully modify

surajitx-pal commented 1 year ago

Levski Release (Oct-26-2022 Image/main branch) - same issue reproduceable.

vyshali-chitikeshi commented 1 year ago

Issue reproducible with V3 code. Find attached Screenshot from 2023-06-12 12-26-57