You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After starting all the core services and the usb service when the usb device is manually added using Path instead of Paths this issue is seen.
🔥 Exception or Error
curl -X POST -H 'Content-Type: application/json' \
http://localhost:59881/api/v3/device \
-d '[
{
"apiVersion" : "v3",
"device": {
"name": "Camera001",
"serviceName": "device-usb-camera",
"profileName": "USB-Camera-General",
"description": "My test camera",
"adminState": "UNLOCKED",
"operatingState": "UP",
"protocols": {
"USB": {
"CardName": "UVC Camera (012d:0678)",
"SerialNumber": "71C0AE6","
"Path": "/dev/video0",
"AutoStreaming": "false"
}
}
}
}
]'
[{"apiVersion":"v3","message":"Device Camera001 validation failed: property Paths of protocol USB is missing. Please check device configuration","statusCode":500}]
🌍 Your Environment
Deployment Environment: Docker, Docker + Dev Hybrid
EdgeX Version [REQUIRED]: main
Anything else relevant? PathDeprecated info needs to be added in the code and docs. For now the code has to support both Path and Paths to avoid breaking change until the next release.
The text was updated successfully, but these errors were encountered:
🐞 Bug Report
Affected Services [REQUIRED]
device-usb-camera
Is this a regression?
No
Description and Minimal Reproduction [REQUIRED]
After starting all the core services and the usb service when the usb device is manually added using
Path
instead ofPaths
this issue is seen.🔥 Exception or Error
🌍 Your Environment
Deployment Environment: Docker, Docker + Dev Hybrid
EdgeX Version [REQUIRED]: main
Anything else relevant?
Path
Deprecated
info needs to be added in the code and docs. For now the code has to support bothPath
andPaths
to avoid breaking change until the next release.The text was updated successfully, but these errors were encountered: