1.- Connect to a server, whose IP address may change from time to time.
2.- Download the format specification for a price tag [x, y, valueName, fontSize, fontName, fontAttributes, dataFormat]{1,n}
And enter this loop {
3.- Read an UPC/EAN barcode usingthe camera on an smartphone.
4.- Post the code to the server using HTTPRequest over a WiFi connection.
(something like http://192.168.0.10?c=7591084001012).
5.- Receive a JSON package that contains the item's code, price, currency and description.
6.- Print a price tag to be attached to the shelf, using the format downloaded in step 2.
(the valueNames used in the format specification are the names of the data member in the JSON package).
}