Search code examples
ip-cameraonvif

How to configure wifi connection via ONVIF


I'm working on camera firmware (ONVIF services). I've found network interface configuration methods (Section 5.3) in ONVIF developer guide, but is it possible to configure wifi networks connection?

I need to:

  1. get available wifi networks
  2. choose wifi network

Does ONVIF describe such methods web-service should implement?


Solution

  • Yes, it is described in the core specification (section 8.2.22, page 64).

    For 1., the method is ScanAvailableDot11Networks

    For 2., SetNetworkInterfaces will use the Extension.Dot11 elements.

    You also have to implement a few other methods, such as GetDot11Status and GetDot11Capabilities, and return correct information in GetNetworkInterfaces.