Question:
I'm developing a system for my university's university restaurant with Spring MVC.
I need to connect the system with a TopData-branded turnstile, which controls customer access to the restaurant. As I have never faced such a problem, I would like your opinion on which path I should follow!
Currently, I'm thinking of creating a Java Desktop application to manage the turnstile's communication with the Web System.
PS: the turnstile has a network output.
Answer:
-
Model Ratchet Box – with standard serial communication RS232 and RS485.
-
RS232: cable up to 100m long RS485: cable up to 1,500m long, allows the connection of up to 32 ratchets or Inners to the same serial port (RS232/RS485 converter connected to the computer required)
-
Ratchet Box Net Model – 10/100 Mbps Ethernet communication (TCP/IP)
what ratchet model? And then you will know which path you will have to use.
Edit : I saw that it said that it is the net model, it is the easiest, the manufacturer itself has an sdk.
anyway this link will be interesting to you http://edn.embarcadero.com/article/20679
and this one too. http://www.devmedia.com.br/utilizando-a-api-rxtx-para-manipulacao-da-serial-parte-i/6722