edgexfoundry / device-sdk-go

Owner: Device WG
Apache License 2.0
88 stars 125 forks source link

Provide a new profile scan interface and API to SDK #1591

Open cloudxxx8 opened 3 days ago

cloudxxx8 commented 3 days ago

πŸš€ Feature Request

Relevant Package [REQUIRED]

This feature request is for device services ### Description [**REQUIRED**] The current auto discovery feature only supports device discovery. However, some protocol like OPC-UA and BACnet support Device Profile generation. The API for Device Service to execute profile generation is a helpful feature.
cloudxxx8 commented 3 days ago

Refer to what we did for adding discovery in v2 https://github.com/edgexfoundry/device-sdk-go/blob/jakarta/pkg/models/protocoldiscovery.go https://github.com/edgexfoundry/device-sdk-go/blob/ba443a3625d4eef64e240836a867426dc0799199/pkg/service/service.go#L102-L106