By default, the Quuppa locators use dynamic IP address assigned by DHCP server.
But in some cases, it is required to set them to fixed IP address for some reasons.
Followed are the instructions of set Quuppa locators to Fixed IP address.
All setting operation is runs by a browser, you’d better configure a domain qpe
which is pointed to the IP address of QPE server.
If are using Linux
or macOS
, you can configure the domain by edit the hosts
file.
sudo vi /etc/hosts
Add a line like:
192.168.100.6 qpe
Save and exit.
Only QPE 7.0 or above version supports fixed IP address feature. If your project has a QPE 7.0 or above version, you should upgrade the QPE and firmware to the latest.
qpe-*.war
to %Tomcat%/webapps/
.The parameter
locator
is a string made of locator IDs joined with “,”.
code
in the responded JSON string should be 0
.{
"code": 0,
"command": "http://qpe:8080/qpe/setLocatorIP?mode=reset&locator=a4da22efe186,a4da22efcc9e&humanReadable=true",
"message": "2 Locator(s) commanded to factory settings",
"responseTS": 1637560930351,
"status": "Ok",
"version": "1.0"
}
It’s easy to set a fixed IP address to Quuppa locators which have got a IP address already.