B4J Question Connecting to the card reader device

nima66

Member
In my software, after completing a customer's purchase invoice, the invoice amount needs to be sent to the card reader device.
The device is connected to the computer with a USB cable.
How can I do this?
 

aeric

Expert
Licensed User
Longtime User
I suppose you can get the documentation from the hardware provider.
 
Upvote 0

nima66

Member
I suppose you can get the documentation from the hardware provider.
Suppose I can send the desired amount to the device by sending a specific command.
How can I detect in B4J which USB port the device is connected to and how do I send the command to the USB port?
 
Upvote 0

nima66

Member
Sorry, I mistakenly said USB port
I meant LAN cable.
The device has an IP.
So I probably need to connect to the device's IP with the socket library and send a message to it
 
Upvote 0

aeric

Expert
Licensed User
Longtime User
Sorry, I mistakenly said USB port
I meant LAN cable.
The device has an IP.
So I probably need to connect to the device's IP with the socket library and send a message to it
Yes
 
Upvote 0
Top