
7. The command interface 32
7.1. Commandtypes ................................. 32
7.2. AT command characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
7.2.1. Request ................................. 32
7.2.2. Confirmations .............................. 33
7.2.3. Events .................................. 33
8. AT commands 34
8.1. Devicecommands ................................ 34
8.1.1. Start and stop commands . . . . . . . . . . . . . . . . . . . . . . . 34
8.1.2. Test.................................... 34
8.1.3. Reboot.................................. 35
8.1.4. Factoryreset .............................. 35
8.1.5. Sleep................................... 36
8.1.6. Get.................................... 36
8.1.7. Set .................................... 37
8.2. WLANcommands ................................ 38
8.2.1. Setmode ................................ 38
8.2.2. Scan ................................... 39
8.2.3. Manual connection . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
8.2.4. Profiles.................................. 40
8.2.5. WLANsettings ............................. 42
8.2.6. WLANpolicy............................... 43
8.3. Network configuration commands . . . . . . . . . . . . . . . . . . . . . . . . 44
8.4. Socketcommands ................................ 47
8.4.1. Socketsworkflow............................ 47
8.4.1.1. TCPsocket ............................. 47
8.4.1.2. UDPsocket............................. 48
8.4.1.3. Multicast............................... 48
8.4.2. Securesockets ............................. 48
8.4.3. Socket operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
8.4.4. Socketsettings ............................. 51
8.4.5. Socket data exchange . . . . . . . . . . . . . . . . . . . . . . . . . 54
8.5. Filesystemcommands.............................. 56
8.5.1. File system operations . . . . . . . . . . . . . . . . . . . . . . . . . 57
8.5.2. Fileoperations.............................. 58
8.6. Network application commands . . . . . . . . . . . . . . . . . . . . . . . . . 61
8.6.1. mDNS .................................. 61
8.6.2. SNTPclient ............................... 62
8.6.3. HTTPclient ............................... 63
8.6.4. MQTTclient............................... 66
8.6.5. Ping ................................... 69
8.7. Events....................................... 70
8.7.1. Generalevents ............................. 70
8.7.2. WLANevents .............................. 71
8.7.3. Socketevents .............................. 74
8.7.4. NetAppevents.............................. 74
8.7.5. MQTTevents .............................. 75
8.7.6. Fatal error events . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
Calypso reference manual version 1.2 © April 2019
www.we-online.com/wireless-connectivity 5