All Keonn RFID readers/systems running AdvanNet include a SW Bootloader that can be
used to upgrade AdvanNet FW and also apply generic OS upgrades.
The Bootloader is accessed at port 8080 of the device.
The Bootloader may work using HTTP (default) or HTTPS, depending on the configuration.
Bootloader upgrades need to be digitally signed by Keonn.
Not signed Upgrades will fail to be installed/applied.
This operation installs the provided AdvanNet version.
This is a POST multipart/form-data request with the following parts
URL: http://$device-ip:8080/formAction
multipart/form-data
module: fixed value of app.AdvanNet
file: binary jar or zip file containing the signed AdvanNet upgrade
From the HTTP response it is possible to know whether the upgrade has been applied successfully.
HTTP status code:
200: the upgrade has been applied successfully
500: the upgrade failed to be applied
(Bootloader version > 190318) Header X-Keonn-bootloader-msg: indicator of the error message. Only available if the HTTP status code is 500
curl -F module=app.AdvanNet -F upload=@AdvanNet-upgrade-advannet-2.8.39__signed.zip http://192.168.2.92:8080/formAction
This is the operation that applies a generic OS upgrade. An OS upgrade can be anything:
OS package upgrade
OS package downgrade
OS package install
Etc
This is a POST multipart/form-data request with the following parts
URL: http://$device-ip:8080/formAction
multipart/form-data
module: fixed value of OS
file: binary jar or zip file containing the signed OS upgrade
From the HTTP response it is possible to know whether the action has been successfully carried out.
HTTP status code:
200: the upgrade has been applied successfully
500: the upgrade failed to be applied
(Bootloader version > 190318) Header X-Keonn-bootloader-msg: indicator of the error message. Only available if the HTTP status code is 500
curl -F module=OS -F upload=@installDbLibrariesMySQL8.zip http://192.168.2.92:8080/formAction
The Clear operation removes any AdvanNet upgrades installed. The factory version remains untouched.
This is a regular POST request.
No payload
From the HTTP response it is possible to know whether the action has been successfully carried out.
HTTP status code:
200: the clear has been executed successfully
500: clear has failed
curl -X POST -g "http://192.168.2.92:8080/clearAction?module=app.AdvanNet"
The reboot operation is a soft reboot of AdvanNet.
This is a regular POST request.
URL: http://$device-ip:8080/rebootAction
No payload
From the HTTP response it is possible to know whether the action has been successfully carried out.
HTTP status code:
200: reboot successfull
500: reboot failed
curl -X POST http://192.168.2.92:8080/rebootAction