Good morning from Gran Canaria.
I´m rewritting a VFP Foxpro with Servoy. It´s a Gym application that has to deal with an access machine. That machine is connected to the LAN with an Ethernet Cable and each door has an IP assigned. It also has a card reader or a finger print reader that sends, thru a port, the information read and receives orders to open, show an error in a display, etc.
Could the UDP plugin help me to resolve this? If so, who manages the plugin, the server or the client? Could it be better to have a headless client that listen for data, checks the information and send orders back?
Thanks in advance.
Hi, the UDP plugin works client-side, can you explain a bit better how those doors really work?
@ngervasi
Hi Nicola thanks for your reply.
The doors are those you can find for example in a Stadium.
How they work? each door is configured with an IP in the LAN and has a card reader associated that when reads information sends it to an IP (the computer listening) trhu a port. That computer gets the information, lets say the card_id, and checks the validity of that card_id. After all the ckecks it sends back to the door a string representing what it has to do: open the door, show an error in a display, etc.
So I was thinking is to create a Headless Cliente in the application server that listen the ports the doors will send the information, when data is received check the card_id and send the string to the door according to the validity of the card_id.
Is that possible with UDP plugin?
I hope this clarifies a little bit.
Thanks.
Ok, but what protocol is the door using to communicate the data?
I guess it can be configured as TCP or UDP
Then I guess the Headless client is the best option to manage the doors, you will have to dig the doors documentation to be able to understand how they communicate with the host.