background image

Copyright 2022 Tri Cascade Inc. 

                                                                                                                   

 

Chapter 3 

Software Development Introduction 

 
 
 
3.1 Introduction (MT3620/MT7688 AT-Command) 
 
3.1.1 Block diagram 

 

 

 
 
 
 
 
 
 
 
3.1.2 Serial Port Configuration for MT7688 UART 02 

 

● 

Baud Rate: 115200 

● 

Data bits: 8 

● 

Parity Check: None 

● 

Stop bit: 1 

● 

Flow control: None 

 

“User App” is an application program running on MT3620, which uses AT-command at 
chapter 3.2 to communicate with “gemtekMonitor”. 
 
“gemtekMonitor” is a daemon running at MT7688, which handles AT commands from 
MT3620, and gives responses respectively. Please refer to chapter 3.2 to see the 
command details. When “gemtekMonitor” gets ready, it will send “+ROUTER_READY” to 
MT3620. 
 

Summary of Contents for TRITOM Azure Sphere Guardian S100

Page 1: ...Copyright 2022 Tri Cascade Inc TRITOM Azure Sphere Guardian S100 Document Number 3 0 Created By Tri Cascade Inc ...

Page 2: ...s interface for unconnected equipment which was designed before connectivity for non IT devices was considered feasible or were intentionally not connected because they were deemed too mission critical to be subjected to the unsafe internet world Connecting equipment and device to the internet representing innovative business model such as preventive maintenance just in time reporting and role bas...

Page 3: ...Ethernet 10BASE T port with two status LEDs USB Port 1x Micro USB 2 0 port Client RS485 Port 1x RS485 port A B G V Power Port 1x Connect S100 to a power socket via the provided power adapter Antenna 2x SMA connectors for user install detachable LTE antenna for extended single range LED 6x LED Status LTE SIM ETH USB RS485 Power ...

Page 4: ...d or NOT being installed correctly Green On Indicate that a SIM card is installed ETH Off Indicate that NO ETHERNET device is present Green On Indicate that an ETHERNET device is connected USB Off Indicate that NO USB device is present Green On Indicate that a USB device is connected RS485 Off Indicate that NO RS485 device is present Green On Indicate that a RS485 device is connected PWR Off Indic...

Page 5: ...Copyright 2022 Tri Cascade Inc 1 3 Inside the S100 Block Diagram ...

Page 6: ...Copyright 2022 Tri Cascade Inc Front Side Back Side ...

Page 7: ... azure sphere install overview for reference 2 1 2 S100 is a LTE connectivity device please also prepare your IoT LTE SIM which is activated with data service Our suggestion SIMs are Cat M Cat M1 or Cat 4 SIM corresponding to LTE module Cat M Quectel BG96 Cat 1 Quectel EC21 E EU Telit LE910C1 NF Cat 4 Quectel EC25 2 1 3 Disassemble Your S100 Please follow the steps to disassembling the enclosure o...

Page 8: ...Copyright 2022 Tri Cascade Inc ...

Page 9: ... APN setting is necessary please refer to either way of 1 Chapter 3 2 2 19 or 2 Appendix A 2 2 Preparation for Software Development Environment 2 2 1 Microsoft Installation Instructions Detailed guidance is provided at https docs microsoft com en us cli azure 2 2 2 Verify Windows 10 Version 2 2 2 1 Before starting software installation verify the version of Windows 10 Operating System meets requir...

Page 10: ...ch the application and at the Azsphere command prompt enter this command to confirm the Sphere SDK version azsphere show version The version reported should be 19 02 or later 2 2 4 Claim your device Detailed guidance is provided at https reurl cc l0r0Z9 Every device must be claimed into an Azure Sphere tenant Claiming the device associates its unique immutable device ID with your Azure Sphere tena...

Page 11: ...its 8 Parity Check None Stop bit 1 Flow control None User App is an application program running on MT3620 which uses AT command at chapter 3 2 to communicate with gemtekMonitor gemtekMonitor is a daemon running at MT7688 which handles AT commands from MT3620 and gives responses respectively Please refer to chapter 3 2 to see the command details When gemtekMonitor gets ready it will send ROUTER_REA...

Page 12: ...odem SMS 3 2 2 10 AT MSMSDEL Delete modem SMS 3 2 2 11 AT MGPS_ENABLE Turn on off modem GPS 3 2 2 12 AT MGPS_LOC Get modem GPS location 3 2 2 13 AT MFWD Let user input be forwarded to Modem aka BG96 EC21 LEC910C1 NF EC25 3 2 2 14 AT ROUTER_LED Set LED controlled by MT7688 3 2 2 15 AT MGMI Get modem manufacturer identification 3 2 2 16 AT MGMM Get modem model 3 2 2 17 AT MBG96IOTOP Set Query Modem ...

Page 13: ...urns the version of gemtekMonitor daemon Type Syntax Response Action Action ERROR Set ERROR Read AT VER VER_WLTSMM 109_ROUTER VERSION BUILD DATE Test Help ERROR Example AT VER VER_WLTSMM 109_ROUTER V0 90 Oct 16th 2020 08 27 26 3 2 2 3 AT MGMR This command requests the version of modem by issuing AT GMR Type Syntax Response Action Action ERROR Set ERROR Read AT MGMR REVISION Test Help ERROR Example...

Page 14: ...est Help ERROR Example AT MGETIMEI 864431045403906 OK 3 2 2 5 AT MGETIMSI This command requests the IMSI by issuing AT CIMI Type Syntax Response Action Action ERROR Set ERROR Read AT MGETIMSI IMSI Test Help ERROR Example AT MGETIMSI 466011300041140 OK 3 2 2 6 AT MGETICCID This command requests the ICCID by issuing AT ICCID Type Syntax Response Action Action ERROR Set ERROR ...

Page 15: ...et ERROR Read AT MGETTIME CCLK Time OK Test Help ERROR Example AT MGETTIME CCLK 80 01 06 00 01 46 32 OK 3 2 2 8 AT MSMSFORMAT This command set the modem SMS format When establishing network connection this setting will be cleared while OpenWRT resetting modem please set SMS format after network connection is ready Type Syntax Response Action Action ERROR Set AT MSMSFORMAT Flag AT MSMSFORMAT Flag O...

Page 16: ...SLIST stat AT MSMSLIST stat CMGL SMS List OK Note This command passes the stat parameter to modem please refer to section AT CMGL List Messages of Quectel_BG96_AT_Commands_Manual for details Read ERROR Test Help ERROR Example AT MSMSFORMAT CMGF 1 OK AT MSMSLIST all CMGL 0 REC READ 0911111111 20 11 19 14 01 55 32 Test 11 CMGL 1 REC READ 0911111111 20 11 19 14 02 03 32 Test 12 OK ...

Page 17: ...to modem please refer to section AT CMGD Delete Messages of Quectel_BG96_AT_Commands_Manual for details Read ERROR Test Help ERROR Example AT MSMSDEL 1 OK 3 2 2 11 AT MGPS_ENABLE This command turns on off the modem GPS Type Syntax Response Action Action ERROR Set AT MGPS_ENABLE Flag AT MGPS_ENABLE Flag OK Flag 1 GPS enable 0 GPS disable Read AT MGPS_ENABLE MGPS_ENABLE Flag OK Test Help ERROR Examp...

Page 18: ... MGPS_LOC NOT_FIXED OK Note Not fixed now Test Help ERROR Example AT MGPS_LOC MGPS_LOC 034202 000 2452 3030 N 12100 5549 E 2 0 69 4 3 0 0 0 0 0 0 030321 04 OK AT MGPS_LOC MGPS_LOC NOT_FIXED OK 3 2 2 13 AT MFWD Let user input be forwarded to Modem aka BG96 EC21 E EU EC25 LE910C1 NF etc Type Syntax Response Action Action ERROR Set AT MFWD Flag MFWD Flag OK Read AT MFWD MFWD Flag OK ...

Page 19: ...ake MT7688 Type Syntax Response Action Action ERROR Set AT MODEM_LED Mode Bit Mask OK Read AT MODEM_LED MODEM_LED Mode Bit Mask OK Test Help MODEM_LED Mode Bit Mask Mode 1 controlled by Modem Status default setting Note Please refer to Chapter 5 LED behavior 0 controlled by Bit Mask Bit Mask Bit 0 LED 1 1 for ON 0 for OFF Bit 1 LED 2 1 for ON 0 for OFF Bit 2 LED 3 1 for ON 0 for OFF ...

Page 20: ...yntax Response Action Action ERROR Set ERROR Read AT MGMI Manufacturer Identification OK Test Help ERROR Example AT MGMI Telit OK 3 2 2 16 AT MGMM This command requests the model of modem by issuing AT GMM Type Syntax Response Action Action ERROR Set ERROR Read AT MGMM Model OK Test Help ERROR Example AT MGMM MODEM_MODEL LE910C1 NF OK ...

Page 21: ...LTE Cat M1 1 LTE Cat NB1 OK Read AT MBG96IOTOP QCFG iotopmode Mode 0 LTE Cat M1 1 LTE Cat NB1 2 LTE Cat M1 or Cat NB1 OK Test Help ERROR Example AT MBG96IOTOP QCFG iotopmode 0 OK 3 2 2 18 AT ROUTER_REBOOT This command requests MT7688 to reboot Type Syntax Response Action Action AT ROUTER_REBOOT after reboot ROUTER_READY Set ERROR Read ERROR Test Help ERROR Example AT ROUTER_REBOOT after reboot ROU...

Page 22: ...PN OK Read AT ROUTER_APN ROUTER_APN APN OK Test Help ERROR Example AT ROUTER_APN ROUTER_APN internet OK AT ROUTER_APN internet iot ROUTER_APN_SET internet iot OK 3 2 2 20 AT OTA_APPVER This command returns the version number of gemtekMonitor daemon Type Syntax Response Action Action ERROR Set ERROR Read AT OTA_APPVER APP_VER Version Number Test Help ERROR Example AT OTA_APPVER APP_VER 0 0 1 OK ...

Page 23: ...FAIL OK URL URL to download OTA file Append IMEI 1 Append IMEI to the URL default setting 0 Do nothing to the URL Read AT ROUTER_OTA ROUTER_OTA IMEI ICCID Model SIM Type Version OK IMEI Modem IMEI ICCID SIM card ICCID Model Modem model name SIM Type 1 LTE Cat 1 2 LTE Cat M1 3 NB IoT 4 LTE Cat M1 or NB IoT Version version number of gemtekMonitor Test Help ERROR Example AT ROUTER_OTA ROUTER_OTA_INFO...

Page 24: ...Copyright 2022 Tri Cascade Inc 3 3 WLTSMM 109 Hardware 3 3 1 Hardware Version WLTSMM 109_V01 3 3 2 WLTSMM 109_V01 3 3 2 1 Block diagram ...

Page 25: ...PIO 42 Output LED USB GPIO 43 Output LED RS485 ETH 1 ISU 0 SPI ENC28J60 to MT7688 Ethernet MCP2200 ISU 1 UART USB connector Router ISU 2 UART MT7688 UART RS485 ISU 3 UART to RS485 GPIO 59 Output RS485 Data Direction High RS485 output enable Low RS485 input enable ETH 2 W5500 ISU 4 SPI CSA W5500 SPI GPIO 8 Output W5500 Reset Low Active GPIO 10 Input W5500 Interrupt ...

Page 26: ...e Inc Appendix A S100 APN Modification Guide 1 H W Connection 2 Teraterm config 3 Modify config 3g chat Network config 1 H W Connection UART Pin UART Connection l Connect S100 TX to USB UART RX l Connect S100 RX to USB UART TX ...

Page 27: ...Copyright 2022 Tri Cascade Inc Teraterm config ...

Page 28: ...Copyright 2022 Tri Cascade Inc ENABLE APN CONFIG SCRIPT SET OPERATION APN ...

Reviews: