No. 1525 | Re: Re: Re: Re: Re: CSW-H85K cannot connect by AT command mode | 2017-09-21 | ||
---|---|---|---|---|
I have tried the "ata" command again and pressed "enter" once, the reply from the device is "No carrier"... Is there anything else i can try to connect the two devices by using the ATC command mode ? > Hans Adams wrote: > ------------------------------------ > Hi, > Yes i know that i have to press "enter" only once after the "ata" command, i did so. > I will focus on this and try again. > Yes i know the correct way to enter values for specific registers, the "?" mark is used to read the register value, to verify if the correct value was saved. It is the info i wanted to share with you. > Yes i know how what info is displayed on the screen when both devices connect successfully. > > Is there anything else i can try to connect the devices in ATC command mode ? > > Best regards, > > > > Sollae Systems wrote: > > ------------------------------------ > > Dear Hans Adams, > > > > As you described: "The ata command results in a No Carrier message". > > The correct input should be "ata[Enter]", and there is no immediate response message. The response message is only showed when a TCP client connects to the TCP server. > > If you mistakenly input "ata[Enter][Enter]", which means you press Enter key more than one time, the "NO CARRIER" message will be returned. > > In this case, TCP Server will stop listening to TCP connection. > > So please make sure that you only press Enter key one time, after input "ata" command. > > > > And also, please make sure that there is no "?" mark in the following commands: > > at+plip?=192.168.178.43 change to at+plip=192.168.178.43 > > at+plp?=1470 change to at+plp=1470 > > at+prip?=192.168.178.43 change to at+prip=192.168.178.43 > > at+prp?=1470 change to at+prp=1470 > > After entering those commands, the message "OK" should be returned. > > > > You can refer to the attached photos. > > Photo 1 is the command screen for TCP server device, after entering "ata" command. > > Photo 2 is the command screen for TCP client device, when the connection is established. > > Photo 3 is the command screen for TCP server device, right after the TCP client connects to TCP server. > > > > If there is still any problem, please feel free to contact us. > > Thanks and Best regards, > > > > > > > Hans Adams wrote: > > > ------------------------------------ > > > Hi, thank you for your feedback, please refer to my answers below... > > > > > > To connect two CSW-H85K units in AT command mode, you could refer to page 13 and 14 in AT Command Mode - Application Note: > > > http://www.eztcp.com/en/download/pds_files/an_atc_mode_en.pdf > > > Answer: Yes, I have already downloaded this manual and read several times > > > > > > For example, on device #1 (TCP Server), the AT command procedure can be as below: > > > >at+plip=YOUR_TCP_SERVER_IP > > > >at+plp=YOUR_TCP_SERVER_LISTENING_PORT > > > >ata > > > Answer: my device #1 has an IP address 192.168.178.43 and I read the following settings > > > at+plip?=192.168.178.43 > > > at+plp?=1470 > > > The ata command results in a No Carrier message > > > > > > On device #2 (TCP Client), you may input command as below: > > > >at+prip=YOUR_TCP_SERVER_IP > > > >at+prp=YOUR_TCP_SERVER_LISTENING_PORT > > > >atd > > > Answer: my device #2 has an IP address 192.168.178.42 and I read the following settings > > > at+prip?=192.168.178.43 > > > at+prp?=1470 > > > The atd command results in a No Carrier message > > > > > > I have entered the command at+pwp on both devices Both devices are brand new and have firmware V2.4A When I configure the devices as TCP Client and TCP Server, they connect successfully. > > > So I assume my network (firewall) causes no difficulties. > > > However, when both devices are in ATC command mode they do not connect. > > > > > > What else can I do to solve this issue ? > > > > > > Best regards, > > > Hans Adams > > > > > > > > > > > > > Sollae Systems wrote: > > > > ------------------------------------ > > > > Dear Hans Adams, > > > > > > > > Thank you for using our product. > > > > > > > > To connect two CSW-H85K units in AT command mode, you could refer to page 13 and 14 in AT Command Mode - Application Note: > > > > http://www.eztcp.com/en/download/pds_files/an_atc_mode_en.pdf > > > > > > > > For example, on device #1 (TCP Server), the AT command procedure can be as below: > > > > >at+plip=YOUR_TCP_SERVER_IP > > > > >at+plp=YOUR_TCP_SERVER_LISTENING_PORT > > > > >ata > > > > > > > > After you enter "ata", this unit (TCP Server) will start listening to TCP connection request. Note that, on command line, there will be no response message (you should avoid entering "ata" command more than one time). Next, you can setting configuration for client device. On device #2 (TCP Client), you may input command as below: > > > > >at+prip=YOUR_TCP_SERVER_IP > > > > >at+prp=YOUR_TCP_SERVER_LISTENING_PORT > > > > >atd > > > > > > > > Here, if the TCP connection is established successfully, the "CONNECT" message will be displayed on command screen of both devices. > > > > Note that after using AT command to config IP and port on devices, you should use command "at+pwp" to save those setting values to products, so that the setting will be saved even after reset (refer to page 4 in AT Command Mode - Application Note). > > > > > > > > And also, it could be better if you can make sure that you are using latest firmware for CSW-H85K. You may find the latest firmware, v2.4, at the link below: > > > > http://www.eztcp.com/en/download/pds_view.php?bbs_id=15&page=1&cid=280 > > > > > > > > If there is still any problem, please feel free to contact us. > > > > > > > > Thanks and Best regards, > > > > > > > > > > > > > Hans Adams wrote: > > > > > ------------------------------------ > > > > > Hi, i have a problem connecting two CSW-H85K units to each other. > > > > > Both set in AT command mode and both are well connected to my network in infrastructure mode. > > > > > When i try to connect one CSW-H85K to the other one with the ATD command i got only a message "No Carrier". > > > > > As soon i configure the units as TCP client and server, it works fine. So i assume that my network does not cause any difficulties. > > > > > What can i do to connect the two CSW-H85K units in AT command mode ? |
Writer | Hans Adams | Company | |
|
|||