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.
ESP communication with UHF Reader over TCP IP
Re: ESP communication with UHF Reader over TCP IP
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.
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.
Re: ESP communication with UHF Reader over TCP IP
Really Thank you very much for your inputs.
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.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.
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?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
Who is online
Users browsing this forum: Majestic-12 [Bot], Sang_Huynh and 221 guests