ESP communication with UHF Reader over TCP IP

iottata
Posts: 3
Joined: Thu Oct 13, 2022 1:02 pm

ESP communication with UHF Reader over TCP IP

Postby iottata » Tue Oct 18, 2022 1:29 pm

Dear All,
I am planning to work on application that integrates UHF reader with ESP32 over TCP socket communication.
Reader specs - https://syrotech.com/wp-content/uploads ... -15mts.pdf
Hardware setup -
ESP32 - connected with WiFi
UHF reader - connected to the same network over Ethernet.

I am not able to find any example on top of it I can build my application. That would be really helpful if anyone can give me their inputs for the references. I am using ESP-idf framework.

nwolcott
Posts: 8
Joined: Tue Aug 23, 2022 8:23 pm

Re: ESP communication with UHF Reader over TCP IP

Postby nwolcott » Tue Oct 18, 2022 9:32 pm

Hi iottata,
That "reader" looks like a point to point wireless bridge of some kind with some extra features like also having a bridge for an RS232 serial link.
Assuming you are using the ethernet functionality of the reader device, what are you trying to connect to on the other end of the link?
I think the configuration would go something like this:

ESP32 --->(via wifi) ---> wifi access point ---> (via ethernet cable) ---> one of the "reader" devices ---> via 800/900MHz proprietary wireless link ---> the other "reader" device --> (via ethernet cable) ---> some sensor or other device on the remote side.

So in this configuration, the network would be bridged between your local network on the ESP side and whatever network and devices exist on the remote side. You would just connect via TCP socket as you mentioned to the IP address of the remote sensor device on the other side of the bridge.

However, it is possible that I misunderstood the configuration and perhaps the remote "reader" device isn't a simple bridge but also has a device IP address as well with inputs and outputs that can be controlled over the network. This is implied by the document you linked. In that case, I assume you would just connect via TCP to the IP address of the remote "reader" device, and issue commands according to whatever API the manufacturer provides.

iottata
Posts: 3
Joined: Thu Oct 13, 2022 1:02 pm

Re: ESP communication with UHF Reader over TCP IP

Postby iottata » Wed Oct 19, 2022 9:50 am

Really Thank you very much for your inputs.
perhaps the remote "reader" device isn't a simple bridge but also has a device IP address as well with inputs and outputs that can be controlled over the network.
Yes this reader is used to read the fastag of the vehicles and provide the same data like EPC Code and Tag ID etc. to the controller via some protocols. I am using Ethernet protocol of it to communicate and send and receive data over same network.
you would just connect via TCP to the IP address of the remote "reader" device, and issue commands according to whatever API the manufacturer provides
I can integrate the API but not able to find any reference code to create a TCP socket connection example. Probably my keywords are not accurate or I am not understanding it clearly. Can you please provide me some example links?

Who is online

Users browsing this forum: No registered users and 372 guests