Advannet App
Introduction
We have developed a web interface using the REST API to give you an example of its usage. It is called Advannet App and allows the user to control a Keonn reader (series 150/60/70). Some things you can do with the interface are listed below:
Start and Stop the reader
Check the MAC address and model
See the current device and read mode
Change the general power and sensitivity
Configure the power of each antenna
Test the buzzer
Change the volume of the speaker (as long as there is at least one event configured)
List the tags being read by the device. Information included: EPC, Port, Mux1, Mux2, RSSI and Date (HH:MM:SS).
Check the number of tags being read (next to the EPC header)
Filter the EPCs that contain a given string. E.g: only show tags that contain "FD" on the EPC.
Sort the columns when the RF operation is OFF
Usage instructions
The recommended steps to use the application are listed below:
1. Download the application from the Downloads section
2. Open index.html with your favourite browser (we recommend Firefox or Chrome).
3. (only applicable for Advannet versions < 2.3.18-08) Enable CORS. To allow Advannet App to access any reader resource (such as the current RF configuration), Cross Origin Resource Sharing (CORS) must be enabled. You can do that by installing a browser plugin/extension such as
Allow CORS: Access-Control-Allow-Origin
This one has been tested on Chromium. It is also available on Chrome. An equivalent extension is also avalaible on Firefox.
You can find the extension on the Chrome Web Store
4. Write the IP of the reader inside the text field:
5. Press Connect or the Enter key.
6. The interface will be updated with the current status of the reader (RUNNING, STOPPED...)
7. You can change the RF parameters (i.e power, sensitivity...) anytime, even If the reader is currently RUNNING.
8. If the reader is RUNNING, you can check the tags that are being read on the table:
9. If you stop the RF operation, you can sort the columns in ascending or descending order by clicking on the table header.
If you refresh the page, you will need to connect to the reader again
As of version 1.1, there is no need to stop the reader manually in order to change any RF parameter. The application will do the job for you.
Deploying as a tablet app
This feature is only available for Advannet versions >= 2.3.18-08 and AdvannetApp v1.1.
As of version 1.1, it's possible to add AdvannetApp to your tablet home screen. That is, add an icon to access the web app easily just by pressing once (no need to remember the path where you have the application).
To do so, you need to deploy AdvannetApp in a local server (such as XAMPP, Apache...). Once you have access to it, use your tablet to open the Browser (for example Chrome) and go to <your-server-IP>/pathToAdvannetApp.
Then, go to the browser menu (Three vertical dots on Chrome) and ºpress
Add to Home screen
A popup will show up. Type a name for the app (or use the default one) and click "ADD".
A new icon will be created on your home screen.
This is the process for Android. You can find more information for other Operating Systems such as iOS on:
https://www.howtogeek.com/196087/how-to-add-websites-to-the-home-screen-on-any-smartphone-or-tablet/
Screenshots
Downloads
You can find our examples in our GitHub page: https://github.com/Keonn-Technologies/BasicAdvanNetApp