Benutzer-Werkzeuge

Webseiten-Werkzeuge


esp8266_wifi_modules

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
esp8266_wifi_modules [2014/12/18 23:57] – [TCP Server Example] karlesp8266_wifi_modules [2017/04/04 06:42] (aktuell) – [Notes] karl
Zeile 103: Zeile 103:
  
 ready ready
-AT+CWJAP="MKZ","BE662F3BC9"+AT+CWJAP="ssid","key"
  
  
Zeile 191: Zeile 191:
 </code> </code>
  
-==== TCP Server Example ====+===== TCP Server Example =====
 **Attention:** the linebreaks are modified for better readability\\ **Attention:** the linebreaks are modified for better readability\\
  
Zeile 256: Zeile 256:
 But if we get multiple UDP connections from one client (also different client-processes), only the most recent one is stored in the CIPSTATUS-list, even though they have different reply ports.  But if we get multiple UDP connections from one client (also different client-processes), only the most recent one is stored in the CIPSTATUS-list, even though they have different reply ports. 
  
-Example:+==== CIPSTATUS Example ====
 <code> <code>
 +AT+CIPSTATUS
 STATUS:3 STATUS:3
 +CIPSTATUS:0,"TCP","192.168.1.105",50618,1 +CIPSTATUS:0,"TCP","192.168.1.105",50618,1
Zeile 266: Zeile 267:
  
 Here I opened 4 instances of the application "SocketTest v 3.0.0" on my notebook, and opened 2 TCP connections, and sent 2 UDP packets (broadcasts). But we can only see 3 active connections here.  Here I opened 4 instances of the application "SocketTest v 3.0.0" on my notebook, and opened 2 TCP connections, and sent 2 UDP packets (broadcasts). But we can only see 3 active connections here. 
 +
 +===== Notes =====
 +When we close the server with
 +  AT+CIPSERVER=0
 +, then the module has to be resetted!
 +
 +As far as I know, we cannot find out, on which port the server was opened. 
 +
 +We can find the own IP address with 
 +  AT+CIFSR
 +. Note, that there is no questionmark!
 +
 +
 +{{tag>english software electronics wifi arduino product technical}}
  
  
esp8266_wifi_modules.1418943433.txt.gz · Zuletzt geändert: von karl