47
Views
2
Comments
Solved
[RFID] Location of the RFId?
Question
RFID
Web icon
Forge asset by Rui Barbosa
Am I correct in assuming that the RFId scanner is supposed to be connected to the client machine (not on the OutSystems server) and therefore nodejs needs to be installed and running on all client computers?

Cheers!
2018-05-30 02-48-38
Rui Barbosa
Solution
Hi Miguel,

That is correct.

This is a simple use case where there is an external reader attached to the client device (a card reader on the device displaying the browser window).

The card reader sends information to the COM port.
The nodeJS app reads this information and sends it to the localhost:3001
The socks.js reads from localhost:3001

Cheers

Rui
2020-10-15 10-24-31
Miguel Seabra Melo
For everyone's future reference, looking at the code indicates that yes, it gets installed and run in the client machine.

The OutSystems app's Javascript then listens to a port on localhost where nodeJS emits data that receives from the machine's COM port (where the RFId scanner is plugged).
2018-05-30 02-48-38
Rui Barbosa
Solution
Hi Miguel,

That is correct.

This is a simple use case where there is an external reader attached to the client device (a card reader on the device displaying the browser window).

The card reader sends information to the COM port.
The nodeJS app reads this information and sends it to the localhost:3001
The socks.js reads from localhost:3001

Cheers

Rui
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.