background image

 

SIM800 Series_Multiplexer_Application Note_V1.04 

www.simcom.com      

                                                               

14 / 25                          

 

 

reply with a DM frame with the F-bit set to 1. Please refer to 3.1 for more details. 

 

 

3.4  Closing Down DLC 

 

The release of a DLC will be initiated from by the transmission of a DISC frame with the P-bit set to 1. 

Confirmation of the DLC release is signaled by MS sending a UA frame with the F-bit set to 1. Once the 

DLC has been released the MS enter disconnected mode for that particular DLC. If MS receiving the DISC 

command is already in a disconnected mode it will send a DM response. Please refer to 3.6 for more 

details. 

 

 

3.5  Control Channel 

 

Multiplexer control channel is the basic channel which is used to establish DLC, launch power saving, wake 

up from power saving and implement flow control mechanism. 

 

Control channel is the first channel established at the initiation of the multiplexer between the TE and MS 

and it has the DLCI value 0. 

 

UIH message frame is transmitted through control channel. All UIH message frame conform to the following 

format. 

Type 

Length 

Value 1 

Value 2 

…… 

Value n 

 

Each box in the table represents a field of minimum size one octet. 

 

The first type field octet has the following format: 

EA 

C/R 

T1 

T2 

T3 

T4 

T5 

T6 

 

The EA bit is an extension bit. It is set to 1 in the last octet of the sequence. In other octets EA is set to 0. 

SIMCom multiplexer only supports one octet is transmitted. So EA is always set to 1. 

 

The C/R bit indicates whether the message is a command or a response. 

 

The T bits indicate the type coding. Each command has a unique pattern of bit sequence. This means that a 

single-octet type field can encode 63 different message types. Only single octet message types are defined 

in the present document. Please refer 2.5.1 to 2.5.6 for more details. 

 

The length field octet has the following structure: 

Summary of Contents for SIMCom SIM800 Series

Page 1: ...iplexer _Application Note SIMCom Wireless Solutions Limited Building B SIM Technology Building No 633 Jinzhong Road Changning District Shanghai P R China Tel 86 21 31575100 support simcom com www simc...

Page 2: ...HEREIN ARE SUBJECT TO CHANGE COPYRIGHT THIS DOCUMENT CONTAINS PROPRIETARY TECHNICAL INFORMATION WHICH IS THE PROPERTY OF SIMCOM WIRELESS SOLUTIONS LIMITED COPYING TO OTHERS AND USING THIS DOCUMENT AR...

Page 3: ...06 30 Haibing chen Chapter Scope Add projects Chapter 2 6 Add note 1 02 2016 11 17 Wenjie lai Scope 1 03 2019 08 12 Yulong zheng Modify format of UA frame 1 04 2020 06 15 Yizhe Tan Wenjie Lai Change...

Page 4: ...iagram 8 2 3 Restrictions 9 3 SIMCOM Multiplexer Protocol 10 3 1 Transmission Frame Structures 10 3 1 1 Opening and Closing Flag Field 10 3 1 2 Address Flag Field 10 3 1 3 Address Flag Field 11 3 1 4...

Page 5: ...8 About Flow Control 17 3 9 Samples for Frame Structure 18 3 10 Transmission Bit Sequence 19 4 MUX Examples 20 4 1 Establish Channels 20 4 2 Frame Transmission 22 4 3 Power Saving Mode and Wake Up 22...

Page 6: ...t 1 2 Related documents 1 SIM800 Series AT Command Manual 2 Digital cellular telecommunications system Phase 2 3 Terminal Equipment to Mobile Station TE MS multiplexer protocol GSM 07 10 version 7 1 0...

Page 7: ...mand TE Terminal Equipment MS Mobile Station FC Flow Control RTC Ready To Communicate RTR Ready To Receive IC Incoming Call Indicator DV Data Valid PN Parameter Negotiation FCon Flow Control On Comman...

Page 8: ...n multiplexer device it is so inefficient to deal with only one kind or one channel of data steam during a period of time Therefore SIMCom multiplexer is designed with GSM0710 standard to separate tra...

Page 9: ...efined in GSM 0710 are set to default as following table Parameter Value Comment T1 Acknowledgement Timer 100 milliseconds Time that a station will wait for an acknowledgement before resorting to othe...

Page 10: ...Length Field Information Field FCS Field Closing Flag 1 byte 1 byte 1 byte 2 byte Multi byte 1 byte 1 byte 3 1 1 Opening and Closing Flag Field Each frame begins and ends with a flag sequence octet w...

Page 11: ...1 1 P F 0 0 0 0x0F DM Disconnected Mode 1 1 0 0 P F 0 1 0 0x43 DISC Disconnect 1 1 1 1 P F 1 1 1 0xEF UIH Unnumbered Information with Header check 1 1 0 0 P F 0 0 0 0x03 UI Unnumbered Information Not...

Page 12: ...t structured The information field is only present in UIH frames 3 2 Frame Type 3 2 1 SABM SABM is command frame and shall be used to establish DLC between TE and MS Please refer to 3 1 for more detai...

Page 13: ...connected mode is terminated by the receipt of a SABM command If a DISC command is received while in disconnected mode a DM response should be sent Please refer to 3 1 for more details 3 2 5 UIH The U...

Page 14: ...nnel established at the initiation of the multiplexer between the TE and MS and it has the DLCI value 0 UIH message frame is transmitted through control channel All UIH message frame conform to the fo...

Page 15: ...EA C R 0 0 0 0 1 1 Hex value is 0xC3 Command 0xC1 Response The EA bit is always set the 1 The length field in CLD message frame is 0 It has no value octet 3 6 3 Test Message type coding octet 1 2 3 4...

Page 16: ...1 The C R bit is used to indicate if it is a Modem Status Command or Modem Status Response In a Modem Status Command it is the status of the sender s own V 24 signals that shall be sent but in a Resp...

Page 17: ...D data streams Data channels shall be established after and only after control channel DLCI 0 connected Please refer to 3 1 for more details If the customer wants to transmit large data streams such a...

Page 18: ...FCon response The difference between MSC and Fcon Fcoff is that the former only flow controls one of the data channels and the latter controls all the data channels except controls channel Please ref...

Page 19: ...SIM800 Series_Multiplexer_Application Note_V1 04 www simcom com 19 25 3 10Transmission Bit Sequence Transmission is based on 1 start bit 8 data bits 1 stop bit and no parity...

Page 20: ...MS feed back response 61 74 2B 63 6D 75 78 3D 30 0D 0D 0A 4F 4B 0D 0A 0D 0A AT CMUX 0 CR LF O K CR LF CR LF Host need quickly send the establish DLC0 frame otherwise the client will exit MUX state St...

Page 21: ...response SABM 1 If MS responses DM frame to TE it means establish DLCI failed 2 If MS responses UA frame to TE it means establish DLCI successful For SIM800 series when MS responses UA frame to TE th...

Page 22: ...54 49 0D 58 F9 UIH Frame MS feeds back through DLC 1 F9 07 EF 09 41 54 49 0d 3F F9 F9 07 EF 21 0D 0A 53 49 4D 39 30 30 20 52 31 31 2E 30 0D 0A FF F9 F9 07 EF 0D 0D 0A 4F 4B 0D 0A 4A F9 UIH Frame 2 TE...

Page 23: ...nything on DLC 1 F9 01 EF 0B E3 07 07 8F 01 79 F9 2 MS sends MSC message with FC bit set to 0 through control channel DLC 0 to indicate recovery of DLC 1 data transmission F9 01 EF 0B E3 07 07 8D 01 7...

Page 24: ...mal F9 07 EF 07 41 54 0D 67 F9 F9 07 EF 0D 0D 0A 4F 4B 0D 0A 8A F9 Sending illegal hex byte will lead MS to receive a wrong frame When receiving illegal hex byte between frames MS will just throw it a...

Page 25: ...UA frame to accept F9 0F 73 01 50 F9 4 TE sends DISC frame to request closing down DLC 4 F9 13 53 01 3f F9 MS feeds back UA frame to accept F9 13 73 01 5D F9 5 TE sends CLD message frame to request cl...

Reviews: