Service: Network
This API is not yet officially released neither maintained. |
The network service allows to setup network configuration of Qb2 device. The exact structure of configuration settings is defined by "Network" protocol message. Service provides "SetConfig()" and "GetConfig()" API which allow to apply and read out configuration settings at run-time. The "GetStatus()" API brings configuration and statistical information about currently active network connection.
Method | Request | Response |
---|---|---|
Validate
Validates the network configuration by applying it shortly. If DHCP is configured, it checks if it can acquire an IPv4 address. For static IP address, the validation only works for wireless networks. It then, still cannot allocate a manual IP address if the credentials are wrong.
The validation does not yet separate error messages for misconfigured wireless credentials or wrongly configured DHCP server. Thus, the issue is not necessarily on the device side. |
Request
Request to validate method
Field | Type | Default | Unit |
---|---|---|---|
config |
- |
- |
|
Configuration which should be validated |