Maestro M111 User Manual Download Page 48

IP-address : IP address of TCP Socket server

Command

Response

Description

AT#IPTCP=?

#IPTCP:
(1-2),(0-65535),("C","S"),"(120)",(1)
OK

This command is used to give the
valid range of all parameters.

AT#IPTCP=1,50000,"C","162.242.170.48"

OK

This command is used to set the
IP address and port of the TCP
Client Socket for UART.

AT#IPTCP?

#IPTCP:
1,50000,"C","162.242.170.48",1
#IPTCP: 2,0,"C","",1
OK

This command reads what is the
current setting. Note an extra 5th
parameter appears in the read
response. This parameter is
deprecated and can be ignored.

The AT#AUTOTCP command is used to enable or disable AutoTCP by :

AT#AUTOTCP=<enable/disable>

where:

enable/disable : 1 to enable; 0 to disable

Command

Response

Description

AT#AUTOTCP=?

#AUTOTCP: (0,1)
OK

This command is used to give the
valid range of the parameter.

AT#AUTOTCP?

#AUTOTCP: 0
OK

This command checks the
current status of AutoTCP.

AT#AUTOTCP=?

OK

This command turns on AutoTCP.

Notes: After enabling for client mode:

"CONNECT" should appear on the UART/USB port of the modem approximately 20 seconds afterwards

Thereafter, the port is turned into data mode, where no AT commands are accepted.

Every byte sent in data mode goes to the remote peer

If +++ is sent in data mode, preceded and followed by 1-second of no activity on the data channel, connection
to the remote peer will be broken. "DISCONNECT" will be seen and the port will go back to AT command
(where AT commands are expected)

11.3

AutoTCP Server Setup Example

Note-1: AutoTCP should be disabled before changing any AT#IPCELLULAR and AT#IPTCP parameters

Note-2 : AT#IPCELLULAR parameters must be set up correctly before AutoTCP can be used

The AT#IPTCP command is used to setup TCP Client socket parameters:

AT#IPTCP=<UART/USB>,”<IP-port>”,”<Client/Socket>”,”<IP-address>”

where:

UART/USB : 1 for UART; 2 for USB

IP-port : port on the modem for TCP Socket Server

Client/Socket : Use "S" for modem as TCP server

48

Confidential, the whole document is the sole property of Maestro Wireless Solutions Ltd.

Please contact us on

support.maestro-wireless.com

Summary of Contents for M111

Page 1: ...NUAL MAESTRO WIRELESS www maestro wireless com EMAIL CONTACT MAESTRO WIRELESS COM SUPPORT support maestro wireless com TEL 852 2869 0688 FAX 852 2525 4701 ADDRESS 9 F 121 KING LAM STREET CHEUNG SHA WA...

Page 2: ...2 Confidential the whole document is the sole property of Maestro Wireless Solutions Ltd Please contact us on support maestro wireless com...

Page 3: ...Version Date Details Originated by 1 31 Aug 2018 Initial Release Anthony Wong Confidential the whole document is the sole property of Maestro Wireless Solutions Ltd Please contact us on support maestr...

Page 4: ...k of using or relying on this software solution application In no event will Maestro Wireless Solutions Ltd be liable for any loss or damage including without limitation indirect or consequential loss...

Page 5: ...tor 12 3 ADMINISTRATION COMMANDS 13 3 1 AT INFO 13 3 2 AT CONFIGDEL 13 3 3 AT RESET 14 3 4 AT MRST 14 3 5 AT NWRST 15 4 HARDWARE COMMANDS 17 4 1 AT SERIAL 17 4 2 AT HFLW 17 4 3 AT SETRTC 18 4 4 AT GET...

Page 6: ...D2SPHERE COMMANDS 41 9 1 AT IPD2S 41 9 2 AT D2S 41 9 3 AT DVNAME 42 10 TRIGGER COMMANDS 43 10 1 AT DITRIG 43 10 2 AT DITRIGENB 43 10 3 AT MSGPER 44 10 4 AT MSGSTR 45 11 APPLICATION NOTES 47 11 1 Cell...

Page 7: ...does not become stable for a long time after power up 51 12 3 The modem does not respond to the terminal program 51 13 ABBREVIATIONS 53 Confidential the whole document is the sole property of Maestro...

Page 8: ...nna with minimum safety distance of 26 6cm or more from human body Do not put the antenna inside metallic box containers etc 0 1 2 Protecting your modem To ensure error free usage please install and o...

Page 9: ...28 M113 Verizon Wireless LTE M1 13 N A AT T Wireless T Mobile USA Sprint 2 4 5 12 World LTE M1 NB IoT 2 3 4 5 8 12 13 20 28 2G 2 3 5 8 M114 EMEA LTE cat 1 3 7 20 2G 3 8 AT T Wireless T Mobile USA Spri...

Page 10: ...10 Confidential the whole document is the sole property of Maestro Wireless Solutions Ltd Please contact us on support maestro wireless com...

Page 11: ...y improves the robustness of the wireless connected system Automatic and self recovery TCP UDP socket connection AT command driven TCP UDP socket connection Ping Service Network Watchdog Heart beat me...

Page 12: ...ument e g AT INFO Error codes for uBlox commands are as described in the uBlox AT command manual Error codes for mPack commands are as follows ERROR BAD PARAMETER for wrong parameters or out of range...

Page 13: ...0xef 0x4015 OK state AT INFO HW_version M110Series 01V Cellular_Module u blox SARA U201 23 60 Bootcode_version mPack_boot_1 0_rc1_b2017112301 SW_build mpack_m110_2 1_rc0_2018022601ALPHA01 FLASH ID 0x...

Page 14: ...is disabled ALLOWED exec state info AT MRST mode delay mode timer reset mode 0 disabled 1 enabled delay time set to reset the embedded module range 000 01 167 59 format hhh mm remainTime time before...

Page 15: ...timer counter option 0 to disable 1 to enable 2 to configure Default disabled timer 5 120 second interval at which network conditions are checked different network conditions are checked each time De...

Page 16: ...16 Confidential the whole document is the sole property of Maestro Wireless Solutions Ltd Please contact us on support maestro wireless com...

Page 17: ...one of 1200 2400 4800 9600 19200 38400 57600 115200 charFraming one of 8N1 8N2 9O1 9E1 See also note above flowCtrl 0 disable 1 enable exec AT SERIAL 115200 8N1 0 OK state AT SERIAL SERIAL 115200 8N1...

Page 18: ...o AT SETRTC op value1 value2 value3 op 0 enter time value1 value2 value3 hh mm ss 1 enter date value1 value2 value3 YY MM DD 2 stop the RTC clock exec AT SETRTC 1 18 03 05 OK state AT SETRTC ERROR inf...

Page 19: ...to configure Versatile I O ALLOWED exec state info AT VIO channel mode channel 1 or 2 mode DI digital input DO digital output AN analogue input exec AT VIO 2 DO OK state AT VIO VIO 1 AN VIO 2 DO OK in...

Page 20: ...ODE 1 1 OK state AT VAMODE VAMODE 1 0 VAMODE 2 0 OK info AT VAMODE VAMODE 1 2 0 1 OK 4 7 AT RDIO Command to read versatile I O status ALLOWED exec info AT RDIO channel channel 1 or 2 mode DI digital i...

Page 21: ...info Note On Power up the device output state will be reset Before setting the output value the channel need to be configured as digital output first AT OPSET channel status channel 1 or 2 status 0 o...

Page 22: ...obileNum mobile number to which Last Gasp SMS is sent argument only makes sense when mode is 1 exec AT LGPARA 2 919876543210 OK state AT LGPARA LGPARA 0 919876543210 OK info AT LGPARA LGPARA 0 2 10 29...

Page 23: ...omit the argument and mPack software will use a non null but meaningless value when state is read CID context ID Please consult Maestro team on when to use this parameter and what value to use exec A...

Page 24: ...ress IP address of the target to be pinged interval time in second between each ping trial Default value is 3 Valid range is 1 to 10 timeout time in ms before ping is timed out Default value is 10 Val...

Page 25: ...ING 8 8 8 8 4 10 5000 OK info AT IPPING IPPING 0 2 120 1 10 1 10 5000 60000 OK Confidential the whole document is the sole property of Maestro Wireless Solutions Ltd Please contact us on support maest...

Page 26: ...26 Confidential the whole document is the sole property of Maestro Wireless Solutions Ltd Please contact us on support maestro wireless com...

Page 27: ...f modem 2 USB port of modem port number from 0 to 65535 mode C Modem as client to remote server S Modem as server for remote client to connect ip IP address of remote partner IPv4 dotted notation dela...

Page 28: ...to connect to remote UDP server S Modem waiting for remote UDP client to connect ip IP address of remote partner IPv4 dotted notation delay delay deprecated no need to enter exec AT IPUDP 1 50003 C 16...

Page 29: ...and to Start Auto UDP functionality ALLOWED exec state info AT AUTOUDP mode mode 0 AUTOUDP connection OFF 1 AUTOUDP connection ON exec AT AUTOUDP 0 OK state AT AUTOUDP AUTOUDP 0 OK info AT AUTOUDP AUT...

Page 30: ...AT OTCP OTCP 0 OK info AT OTCP OTCP 0 1 OK 6 6 AT OUDP On demand UDP socket connection ALLOWED exec state info AT OUDP mode mode 0 UDP connection OFF 1 UDP connection ON exec AT OUDP 0 OK state AT OUD...

Page 31: ...lay type DEPRECATED No settable exec AT SCHOST 0 1 162 242 170 59 8888 OK state AT SCHOST 1 1 SCHOST 1 162 242 170 59 8888 1 1 0 OK info AT SCHOST 0 2 1 120 0 65535 0 10 1 60 0 1 OK 6 8 AT IPOPT Optio...

Page 32: ...PING is disabled for option 5 0 to disable 1 to enable data on first connection 2 to edit the string to be sent action To specify the action will be taken if a set of ping action fail 0 do nothing def...

Page 33: ...SERVER without a connected remote client in seconds 0 disables the feature for option 3 0 43200 Duration of connection in seconds 0 disables the feature for option 4 0 to disable 1 to enable connecti...

Page 34: ...34 Confidential the whole document is the sole property of Maestro Wireless Solutions Ltd Please contact us on support maestro wireless com...

Page 35: ...c The 7th and 8th characters of the SMS content is AT in capital letters 2 If SMSAT is enabled the modem will read each incoming SMS if the conditions mentioned in 1 are matched the message will be ex...

Page 36: ...SMS response trigger param for mode 2 password 6 characters in quotes quotes optional if password is purely numeric for mode 3 0 to disable SMS response 1 to enable SMS response not needed for modes 0...

Page 37: ...odem for incoming TCP connection Default 23 timeout specified in seconds Default 30 exec AT TCPTERM 2 000000 23 30 OK state AT TCPTERM TCPTERM 0 000000 23 30 OK info AT TCPTERM TCPTERM 0 2 16 1 65535...

Page 38: ...38 Confidential the whole document is the sole property of Maestro Wireless Solutions Ltd Please contact us on support maestro wireless com...

Page 39: ...r on which the update file is stored the default value is set by Maestro see note above ip IP address of the server on which the update file is stored the default value is set by Maestro see note abov...

Page 40: ...1 stop the update process exec AT UPDATE 0 OK state AT UPDATE UPDATE 0 OK info AT UPDATE ERROR 40 Confidential the whole document is the sole property of Maestro Wireless Solutions Ltd Please contact...

Page 41: ...f D2sphere server in IPv4 dotted notation delay delay to start in seconds Range 0 43200 exec AT IPD2S 4444 5 35 253 3 1000 OK exec AT IPD2S IPD2S 4444 5 35 253 3 1000 OK exec AT IPD2S IPD2S 0 65535 12...

Page 42: ...for D2Sphere ALLOWED exec state info AT DVNAME name name name of the device in quotes exec AT DVNAME M11x_001 OK state AT DVNAME DVNAME M11x_001 OK info AT DVNAME DVNAME 23 OK 42 Confidential the who...

Page 43: ...ounce 0 10 in seconds exec AT DITRIG 1 3000 11250 10 OK state AT DITRIG DITRIG 1 3000 11250 10 DITRIG 2 0 3200 0 OK info AT DITRIG DITRIG 1 2 0 32000 0 32000 0 10 OK 10 2 AT DITRIGENB Enable DI trigge...

Page 44: ...MSGPER Configure Message ID and message strings associated with the 2 pins ALLOWED exec state info AT MSGPER pin_number interval count pin_number 1 2 interval how often messages are generated in sec V...

Page 45: ...ed 1 enable message string not yet implemented 2 configure message string msg_ID message ID msg1 concatenated with msg_ID for DI1 msg2 concatenated with msg_ID for DI2 exec AT MSGSTR 2 Maestro 001 234...

Page 46: ...46 Confidential the whole document is the sole property of Maestro Wireless Solutions Ltd Please contact us on support maestro wireless com...

Page 47: ...ng the sim slot APN Username and Password AT IPCELLULAR IPCELLULAR SIM1 internet 8 OK This commands reads what is the current setting AT IPCELLULAR IPCELLULAR 1 64 25 25 1 11 OK The command is used to...

Page 48: ...After enabling for client mode CONNECT should appear on the UART USB port of the modem approximately 20 seconds afterwards Thereafter the port is turned into data mode where no AT commands are accept...

Page 49: ...toTCP by AT AUTOTCP enable disable where enable disable 1 to enable 0 to disable Notes After enabling for server mode After at most 30 seconds the modem is ready as server When external client connect...

Page 50: ...Figure 11 4 1 Auto TCP UDP Flow Diagram 50 Confidential the whole document is the sole property of Maestro Wireless Solutions Ltd Please contact us on support maestro wireless com...

Page 51: ...he SIM card has been locked refer to AT CPIN command in AT command guide Check if the external power has been properly connected to the modem Check if the network coverage is available 12 3 The modem...

Page 52: ...52 Confidential the whole document is the sole property of Maestro Wireless Solutions Ltd Please contact us on support maestro wireless com...

Page 53: ...Chapter 13 ABBREVIATIONS to be added END DOCUMENT Confidential the whole document is the sole property of Maestro Wireless Solutions Ltd Please contact us on support maestro wireless com 53...

Reviews: