No. 1359 | Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: How i can get content html thought cse-h53n | 2015-07-31 | ||
---|---|---|---|---|
Hello Sollae I have a question about when i debug return data between host -> cse-H53n has been cut 1200byte each block! Example: Send request to host get data thought CSE-H53n ①size of file download is 3Mb. Request: Device ---> CSE-H53n ---> Host(①) Response: 1. Device(receive 1200byte) <--- CSE-H53n(receive 1200byte) <--- Host(send 1200byte) 2. Device(receive 1200byte) <--- CSE-H53n(receive 1200byte) <--- Host(send 1200byte) 3. Device(receive 600byte) <--- CSE-H53n(receive 600byte) <--- Host(send 600byte) Data receive from host to cse-H53n is cut 1200 byte for each block. 1200 byte is default value? Can i change it? Thanks for regards > Anonymous wrote: > ------------------------------------ > Hello Sollae > > Thanks you for support > > I has changed baudrate 38400. But i could't get all data. > Exp: > HOST ---> CSE-H53n ---> My Device > data: 12345678 12345678 123678 > > Maybe fast and furious to tranfer data from CSE-H53n to device? > > Thanks you! > > > > Sollae Systems wrote: > > ------------------------------------ > > Hello. > > > > I am sorry. > > > > Unfortunatly, We have no function to send data block by block from product to serial device. > > > > How about using functions of HTTP protocol? (e.g. Range) > > > > And please set baudrate to higher for fast speed. > > > > Thank you. > > > > > > > Anonymous wrote: > > > ------------------------------------ > > > > > > Hello Sollae > > > > > > Now I can put data as http content from my device to host thought Cse-h53n > > > but if Response data has received from host more than 1Mb that send back response data to my device thought R232c(Cse-h53n connected) is very slowly > > > and I don'st know how long i can receive full data! > > > Maybe buffer tranfer between R232c is overload to receive large data(> 1Mb). > > > Question: > > > CSE-H53n i can set something to send data from CSE-H53n to my device by block by block thought R232c > > > > > > Thanks for relay > > > > > > > > > > Sollae Systems wrote: > > > > ------------------------------------ > > > > Hi. > > > > > > > > CSE-H53N is cannot link two network devices such as a switching hub. > > > > It is just a serial to TCP or UDP data converter. > > > > That means it cannot process anything sent and received via lower layers than transport layer. > > > > Thus, you cannot use network applications including PING tester and web browser to access to the host through CSE-H53N. > > > > Please note that the connection between your device and CSE-H53N should be SERIAL instead of NETWORK. > > > > > > > > Could you try to use a serial application on your Linux machine? > > > > > > > > Thanks. > > > > > > > > > Anonymous wrote: > > > > > ------------------------------------ > > > > > > > > > > Hello Sollae! > > > > > > > > > > When i call url from device to host, i was recieved "fail to connect server" and "connect timeout" message. > > > > > > > > > > i was checkked status of CSE-H53N and Host properly, it is always "Established" and STS led(on). > > > > > > > > > > my device(192.168.1.1) -RS-232-> CSE-H53N(192.168.1.2) -LAN(Established)->HOST(192.168.1.3) > > > > > > > > > > Can I ping from device to host? if device could not ping to host that mean i can not call a url to host by http protocol was implemented. > > > > > > > > > > Thanks for regards > > > > > > > > > > > > > > > > > > > > > Sollae Systems wrote: > > > > > > ------------------------------------ > > > > > > Hello. > > > > > > > > > > > > Please make network CSE-H53N and Host properly. > > > > > > > > > > > > Ping test must be successful. > > > > > > > > > > > > If it is failed, TCP connection also will be failed. > > > > > > > > > > > > And where does "fail to connect server" message come from? > > > > > > > > > > > > I think it is not from CSE-H53N. > > > > > > > > > > > > and if network is fine, please check STS led(on) and [STATUS] of ezManager. > > > > > > > > > > > > TCP state will be "Established" not "SYN_SENT". > > > > > > > > > > > > if state is syn_sent(trying to connect to the host), your sever is not ready. > > > > > > > > > > > > then please check your server. > > > > > > > > > > > > Here is a FAQ. > > > > > > ezTCP does not work! (Checklist) > > > > > > > > > > > > please refer [2. Fail in TCP connection]. > > > > > > > > > > > > Thank you. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Anonymous wrote: > > > > > > > ------------------------------------ > > > > > > > > > > > > > > Good mornning Sollae! > > > > > > > > > > > > > > I have created the enviroment and implement http protocol on my device as same your image. But when i sent request from device to host thought cse-h53n, Error: "fail to connect server" was generated. I think device can not ping to host. > > > > > > > I dont understand how to device could connect to host thought cse-H53n if i has implemented http protocol on the device. > > > > > > > > > > > > > > Thanks for regards > > > > > > > > > > > > > > > Sollae Systems wrote: > > > > > > > > ------------------------------------ > > > > > > > > Hello again. > > > > > > > > > > > > > > > > If Host is not using a socket program, please set it like this for the connection. > > > > > > > > > > > > > > > > [CSE-H53N] > > > > > > > > Client > > > > > > > > IP address: 192.168.1.2 > > > > > > > > Peer IP address: 192.168.1.3 (server IP) > > > > > > > > Peer port: 80 (server port) > > > > > > > > > > > > > > > > [Host] > > > > > > > > Server > > > > > > > > IP address: 192.168.1.3 > > > > > > > > Local port: 80 > > > > > > > > > > > > > > > > If TCP connection is established, STS LED of CSE-H53N will be on. > > > > > > > > After that, You can send data from RS232 to LAN and vice versa. > > > > > > > > > > > > > > > > Here is an example, refer to this image. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > As I said before, you have to implement HTTP protocol like (②) and send it from your device. I am sorry but we can not support it. > > > > > > > > > > > > > > > > Implementing HTTP > > > > > > > > > > > > > > > > For the detailed information, refer to the RFC2616. > > > > > > > > > > > > > > > > Thank you. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Anonymous wrote: > > > > > > > > > ------------------------------------ > > > > > > > > > > > > > > > > > > Hi Sollae Systems! > > > > > > > > > > > > > > > > > > Thanks for regards! > > > > > > > > > > > > > > > > > > I dont understand know how to send a data from (user device) with rs-232 to Host(web server) thought cse-H53n and after host could response a data to user device. > > > > > > > > > Do you give me something a example to connect it? > > > > > > > > > > > > > > > > > > Thanks so much > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Sollae Systems wrote: > > > > > > > > > > ------------------------------------ > > > > > > > > > > Hello. > > > > > > > > > > > > > > > > > > > > If your device has LAN port, you can connect to host directly without CSE-H53N. > > > > > > > > > > > > > > > > > > > > But If you want to use RS232 port, TCP connection is needed between CSE-H53N and host. > > > > > > > > > > > > > > > > > > > > Here are Examples. > > > > > > > > > > > > > > > > > > > > 1. > > > > > > > > > > > > > > > > > > > > [CSE-H53N] > > > > > > > > > > Server > > > > > > > > > > IP address: 192.168.1.2 > > > > > > > > > > Local port: 1470 > > > > > > > > > > > > > > > > > > > > [Host with socket program] > > > > > > > > > > Client > > > > > > > > > > IP address: 192.168.1.3 > > > > > > > > > > Peer IP address: 192.168.1.2 (server IP) > > > > > > > > > > Peer port: 1470 (server port) > > > > > > > > > > > > > > > > > > > > 2. > > > > > > > > > > > > > > > > > > > > [CSE-H53N] > > > > > > > > > > Client > > > > > > > > > > IP address: 192.168.1.2 > > > > > > > > > > Peer IP address: 192.168.1.3 (server IP) > > > > > > > > > > Peer port: 1470 (server port) > > > > > > > > > > > > > > > > > > > > [Host with socket program] > > > > > > > > > > Server > > > > > > > > > > IP address: 192.168.1.3 > > > > > > > > > > Local port: 1470 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > If TCP connection is established, STS LED of CSE-H53N will be on. > > > > > > > > > > > > > > > > > > > > After that, You can send data from RS232 to LAN and vice versa. > > > > > > > > > > > > > > > > > > > > Thank you. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Anonymous wrote: > > > > > > > > > > > ------------------------------------ > > > > > > > > > > > > > > > > > > > > > > Hello Sollae > > > > > > > > > > > > > > > > > > > > > > Thanks you so much for relay > > > > > > > > > > > > > > > > > > > > > > My device is a network device but only > > > > > > > > > > > two communication port: LAN, RS-232c > > > > > > > > > > > LAN has connect to router > > > > > > > > > > > RS-232c: i use CSE-h53n to connect HOST > > > > > > > > > > > This is my problem and Im trying connect RS-232c to HOST...(T_T) > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Thanks > > > > > > > > > > > > > > > > > > > > > > > Sollae Systems wrote: > > > > > > > > > > > > ------------------------------------ > > > > > > > > > > > > Hello. > > > > > > > > > > > > > > > > > > > > > > > > CSE-H53N is just a serial to ethernet converter. > > > > > > > > > > > > > > > > > > > > > > > > I am not sure why you use CSE-H53N even if your device is a network device. > > > > > > > > > > > > > > > > > > > > > > > > If the Host sends HTTP protocol, CSE-H53N bypass to RS232 port. > > > > > > > > > > > > > > > > > > > > > > > > Then serial port of your device can receive data. > > > > > > > > > > > > > > > > > > > > > > > > So you should implements about HTTP protocol to send to the host. > > > > > > > > > > > > > > > > > > > > > > > > We do not have any examples. > > > > > > > > > > > > > > > > > > > > > > > > So I am sorry we can not support to get url files. > > > > > > > > > > > > > > > > > > > > > > > > You can find an application note about HTTP protocol at our hompage. > > > > > > > > > > > > > > > > > > > > > > > > Implementing HTTP > > > > > > > > > > > > > > > > > > > > > > > > For the detailed information, refer to the RFC2616. > > > > > > > > > > > > > > > > > > > > > > > > I hope It will be helpful. > > > > > > > > > > > > > > > > > > > > > > > > Thank you. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Anonymous wrote: > > > > > > > > > > > > > ------------------------------------ > > > > > > > > > > > > > Hello Sollae! > > > > > > > > > > > > > > > > > > > > > > > > > > I have a example: > > > > > > > > > > > > > My device: > > > > > > > > > > > > > OS: linux > > > > > > > > > > > > > IP: 192.168.1.1 > > > > > > > > > > > > > CSE-H53n: > > > > > > > > > > > > > IP: 192.168.1.2 > > > > > > > > > > > > > TCP Server port is 80 > > > > > > > > > > > > > HOST: > > > > > > > > > > > > > OS: linux > > > > > > > > > > > > > IP: 192.168.1.3 > > > > > > > > > > > > > url get file: http://192.168.1.3/download.pdf > > > > > > > > > > > > > > > > > > > > > > > > > > above My device how to bypass data to call url form host thought CSE-H53n > > > > > > > > > > > > > > > > > > > > > > > > > > Can you give me a example for do that! > > > > > > > > > > > > > > > > > > > > > > > > > > Thanks for regards > > > > > > > > > > > > > > > > > > > > > > > > > > > Sollae Systems wrote: > > > > > > > > > > > > > > ------------------------------------ > > > > > > > > > > > > > > Hello. > > > > > > > > > > > > > > > > > > > > > > > > > > > > This is a technical support team of Sollae Systems. > > > > > > > > > > > > > > > > > > > > > > > > > > > > I think you want to communicate each other through HTTP protocol. > > > > > > > > > > > > > > > > > > > > > > > > > > > > But CSE-H53N(or all of ezTCP) supported only TCP/IP protocol. > > > > > > > > > > > > > > > > > > > > > > > > > > > > HTTP is the Application layer. > > > > > > > > > > > > > > > > > > > > > > > > > > > > CSE-H53N does not care about an application layer. > > > > > > > > > > > > > > > > > > > > > > > > > > > > It just bypass all data from serial device to the host. > > > > > > > > > > > > > > > > > > > > > > > > > > > > So, after TCP connection between CSE-H53N and a host, you can send what you implement protocol to the host and vice versa. > > > > > > > > > > > > > > > > > > > > > > > > > > > > Have a nice day. > > > > > > > > > > > > > > > > > > > > > > > > > > > > Thank you. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Khanh wrote: > > > > > > > > > > > > > > > ------------------------------------ > > > > > > > > > > > > > > > Current i have a problem with get content html > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > This is my environment > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Device(supported web server) -> cse-h53n -> HOST(web server) > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Device connect to cse-h53n by serial rs-232c > > > > > > > > > > > > > > > HOST connect to cse-h53n by LAN > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Question: I can call a url from Device to HOST thought cse-h53n and get result is html content from HOST? > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > how i can setting on cse-h53n > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > |
Writer | Anonymous | Company | |
|
|||