IOTechSystems / onvif

full and enhanced onvif protocol stack in golang.
MIT License
17 stars 12 forks source link

Set device info from scopes on discovery #40

Closed mattiasberlin closed 6 months ago

mattiasberlin commented 7 months ago

Currently only name and hardware (model) are used since only they have corresponding DeviceInfo fields. The other two standard scopes that are not yet stored are location and profile.

One detail is that in the spec it's described that a single scope can have multiple values. This is not taken into consideration in this implementation.

See section 7.3.2.2 Scopes in the ONVIF core spec: https://www.onvif.org/specs/core/ONVIF-Core-Specification.pdf