AT Commands -NanoESP & Pretzelboard

DescriptionCommand
Basics 
Test CommandAT
ResetAT+RST
Firmware InfosAT+GMR
Echo On/OffATE<1/0>
WiFi Commands
WiFi-Modus
(1 = Client, 2 = AP, 3 = Dual)
AT+CWMODE=<mode>
Search WiFi networkAT+CWLAP
Connect to WifiAT+CWJAP=“<ssid>“,“<pass>“
Disconnect WiFiAT+CWQAP
Settings WiFi -AccesPointAT+CWSAP=“<ssid>“,“<pass>“[,<chan>,<enc>]
Show IPAT+CIFSR
activate/deactivate DHCPAT+CWDHCP=<1/0>
Auto connect to WiFiAT+CWAUTOCONN=<1/0>
Change MAC address of APAT+CIPSTAMAC=<MAC>
Set IP address of stationAT+CIPSTA=<IP>
Set IP address of AccesPointAT+CIPAP=<IP>
Start SmartConfigAT+CWSTARTSMART=<typ>
Stop SmartConfigAT+CWSTOPSMART
Communication
PingAT+PING=<HOST>
Accept multiple connectionsAT+CIPMUX=<mode>
Set transfer mode
(0=normal, 1= unvarnished transmission mode, only for TCP single connection)
AT+CIPMODE=<mode>
Structure of received data+IPD,<id>,<len>:<data>
Start connectionAT+CIPSTART=“<type>“,“<address>“,<port>
Send dataAT+CIPSEND=<id>,<len>
Close connectionAT+CIPCLOSE=<id>
 
Server Commands 
Start TCP serverAT+CIPSERVER=1,<port>
Stop TCP serverAT+CIPSERVER=0
Server status & connected clientsAT+CIPSTATUS
Set server timeoutAT+CIPSTO=<timeout>
Show connected clientsAT+CWLIF

7 Comments

  1. Silco

    Hi ich versuche jetzt schon die ganze Zeit die At Befehle zum laufen zu bringen aber es geht nicht immer kommt At not declared in this scope ;( Habe die Bibliothek eingebunden die es auch hier auf der Website gibt

    Reply
  2. Andreas Pfeiffer

    Happy New Year!

    Is there any way to reduce power consumption (e.g. by switching off the WiFi completely) ?

    I’d like to use this (otherwise very nice board!) to log sensor data via MQTT, but would like to reduce power as much as possible in between measurements (every 5-15 min).

    Thanks,
    cheers, andreas

    Reply
  3. Frank

    Ich teste gerade das PretzelBoard, gibt es dazu irgendwo ein Schaltbild?

    Reply
  4. Norman

    Hallo,
    gibt es einen Befehl um sich den gesamten Status anzeigen zu lassen?
    Also etwa in der Art:

    Arduino Nano
    Hardware: …
    Firmware: …
    MAC: …
    WLAN: Ein
    WLAN Mode: 1
    Verbunden mit:
    Sicherheit: WPA2_PSK
    IP: …
    Gateway: …
    Subnetmask: …

    Reply
    1. fk (Post author)

      Hi,
      leider nein.

      Reply
  5. Reto

    Schreibweise:
    AT+PING=””
    so geht’s…..

    Reply
  6. wolfgang

    zusatz zu:
    AT+CWSAP=““,““[,,]
    chan: channel id
    enc :
    0 OPEN
    2 WPA_PSK
    3 WPA2_PSK
    4 WPA_WPA2_PSK

    Reply

Leave a Comment

Your email address will not be published. Required fields are marked *