Page 1
MLB-S-BGS2-BW Terminal User Guide MLiS Basic Dual / Quad Band GSM/GPRS Model Number: MLB-S-BGS2-BW MLB-S-BGS2-BW Terminal User Guide Rev 1.3...
Page 2
WARNING: The MLiS GSM Terminal is a RF product intended for interfacing and operated with a host device. Local relevant RF regulations such as allowed frequencies and usage in commercial flights must be observed.
Page 3
Revision History Version Date Description Jan 2013 Release Mar 2013 Modify Power supply Sep 2013 Keep MLB-S-BGS2-BW only Apr 2014 New Command Operation MLB-S-BGS2-BW Terminal User Guide Rev 1.3...
OPERATING MODES ........................19 Power on the Modem ......................19 Power down the Modem ....................... 19 Command Operation ........................20 Command Operation for SMS ..................... 20 SMS command Explanation ....................21 Command Operation for Socket Mode.................. 24 MLB-S-BGS2-BW Terminal User Guide Rev 1.3...
Page 5
+++ Escape from Data Mode to AT Command Mode ............47 5.9.6 AT^SISC Internet Service Close ..................47 5.9.7 AT^SISW Internet Service Write Data................48 5.9.8 AT^SISR Internet Service Read Data ................51 SALES CONTACT ........................53 ORDERING INFORMATION......................54 MLB-S-BGS2-BW Terminal User Guide Rev 1.3...
Page 6
Table 4: Interfaces and Indicators Description of MLB-S-BGS2-BW ............ 14 Table 5: RJ45 connector configuration for MLB-S-BGS2-BW .............. 16 Table 6: AT Command for Blue LED Control for MLB-S-BGS2-BW ............. 17 Table 7: AT Command for Green LED Control for MLB-S-BGS2-BW ..........17 Table 8: Applicability of AT^SICS <conParmTag>...
1 INTRODUCTION Description The MLiS MLB-S-BGS2-BW Dual Band GSM/GPRS terminal is a low cost and compact terminal that is designed for wireless M2M communications. The MLiS MLB-S-BGS2-BW terminal uses the RJ45 Connector to provide power and data communication interface. LEDs are used to indicate the status of the terminal.
Page 8
SMS cell broadcast • Text and PDU mode • Cell broadcast • Storage: SIM card plus 25 SMS locations in mobile equipment Transmission of SMS alternatively over CSD or GPRS. Preferred mode can be user defined. MLB-S-BGS2-BW Terminal User Guide Rev 1.3...
Main Features and Services The MLB-S-BGS2-BW perform a set of telecom services (TS) according to GSM standard phase 2+, ETSI and ITU-T. The services and functions of the MLB-S-BGS2-BW are implemented by issuing customized applications embedded on the device, or by AT commands issued internally, or over the RJ45 to RS232 serial interface.
Normal mode and Airplane mode any time during operation. • Setting an alarm time with AT+CALA followed by AT^SMSO wakes the module up into Airplane mode at the scheduled time. Table 1: Operating Modes MLB-S-BGS2-BW Terminal User Guide Rev 1.3...
Table 2: Features and Specifications Precautions The MLB-S-BGS2-BW terminal is designed for indoor use only. To use outdoors it must be integrated into a weatherproof enclosure. Do not exceed the environmental and electrical limits as specified in the user manual.
Figure 2: Chassis Dimension for MLB-S-BGS2-BW Parameter Value Height (H) 22 mm Length (L) 80 mm (Terminal) Width (W) 50 mm Weight 50 g Chassis Material Plastic Table 3: Chassis Dimensions and Mechanical Description for MLB-S-BGS2-BW MLB-S-BGS2-BW Terminal User Guide Rev 1.3...
3 ELECTRICAL INTERFACE DESCRIPTIONS 3.1 Overview Front/Back View Figure 3: External Interfaces/Indicators for MLB-S-BGS2-BW The interfaces and indicators for MLB-S-BGS2-BW are as follows: Item Description Function Radio Interface Connects to external 50 ohms antenna of correct RF Connector (SMA Female)
The connection of the antenna or other equipment must be decoupled from DC voltage. For optimum RF performance, the MLiS Terminal has to be connected to an external RF antenna matched to 50ohms including other connecting cables across the operating frequency bands. Please use a SMA Male connection to the terminal.
Ground Data terminal ready Data Set Ready Table 5: RJ45 connector configuration for MLB-S-BGS2-BW 3.4 Operating States/LED The modem has a green and a blue LED to display the operating status of the Terminal. The green LED is power indicator,Blue is operating Status LED.
Enables the SYNC pin to drive a status LED installed in your application. Note: <mode>=1 is the factory default of the MLB-S-BGS2 Series Terminal. Table 6: AT Command for Blue LED Control for MLB-S-BGS2-BW The following table lists the possible patterns of status LED behavior, and describes the terminal operating status indicated by each pattern if AT^SSYNC parameter <mode>=1.
3.5 SIM card holder The MLB-S-BGS2-BW Terminal is fitted with a SIM card reader designed for 1.8V and 3V SIM cards. It is the flip-up type which can be locked. It can be accessed through removing the battery cover as shown below.
There are 2 ways to switch off (power down) the modem as described below: a) The “AT^SMSO” command lets the MLB-S-BGS2-BW terminal log off from the network and allows the software to enter into a secure state and safe data before disconnecting the power supply.
"MT" (D) Sum of "SM" and "ME" storages (str) < mem3 > Received messages will be placed in this memory storage if routing to TE is not set. See command AT+CNMI with parameter <mt>=2. MLB-S-BGS2-BW Terminal User Guide Rev 1.3...
Page 22
Number of messages storable in <mem3> AT+CMGS="Number" > key in Text ctrl+z Send Short Message If text mode (see AT+CMGF=1) AT+CMGS="Length" > key in PDU ctrl+z Send Short Message If PDU mode (see AT+CMGF=0) MLB-S-BGS2-BW Terminal User Guide Rev 1.3...
Page 23
New SMS View AT+CNMI New short Message Indication AT+CNMI=1,1 AT+CMGR Read SMS messages AT+CMGR=1 AT+CMGL List SMS messages from preferred store AT+CMGL="ALL" AT+CMGD Delete short message AT+CMGD=4 MLB-S-BGS2-BW Terminal User Guide Rev 1.3...
AT^SICS=1,apn,internet AT^SISS=1,srvType,"Transparent " AT^SISS=1,conId,1 AT^SISS=1,address,"175.180 .133.126:7300:time=200" AT^SISO=1 (Internet Service Open) ^SISW:1, 1 (service is ready for upload) AT^SIST=1 (Enter Transparent Access Mode) (Escape from Data Mode to AT Command Mode) AT^SISC=1 (Internet Service Close) MLB-S-BGS2-BW Terminal User Guide Rev 1.3...
AT^SISS=1,smRcpt,"subscriber2@testdomain.com" Recipient's email address. AT^SISS=1,smSubj,"Meeting Request Sunday Morning" Enter text for subject field. AT^SISS=1,smAuth,"1" Sender name and password can be used for SMTP authentication. Open the service, i.e. start to send the email. AT^SISO=1 MLB-S-BGS2-BW Terminal User Guide Rev 1.3...
Page 29
The write command response confirms that 87 bytes are available for transmission. Write the message text. Good Morning everyone, we are delighted to announce our next meeting on Sunday morning. Internet Service Close. AT^SISC=1 MLB-S-BGS2-BW Terminal User Guide Rev 1.3...
Try to read 500 bytes. ^SISR: 1,500 Command response indicates that 500 bytes will be transferred, i.e. there will be no other URC since the requested length equals the confirmed length. Return-Path: <subscriber1@testdomain.com> X-Original-To: subscriber1@testdomain.com MLB-S-BGS2-BW Terminal User Guide Rev 1.3...
Page 31
Status: RO Hallo Tom!Bye Bye Tom! Dot indicates end of mail according to RFC 2821. ^SISR: 1,2 Parameter <urcCauseId> of the "^SISR" URC confirms that all data is transferred successfully. Close the service. AT^SISC=1 MLB-S-BGS2-BW Terminal User Guide Rev 1.3...
Do not set the timeout value below 3 sec. This may result in problems when using the <eodFlag> (set in the last AT^SISW command to terminate an upload data stream). "calledNum" Called BCD number. "dataType" Data call type. For supported values of <conParmValue> refer to <conParmValuedataType>. MLB-S-BGS2-BW Terminal User Guide Rev 1.3...
Page 33
Settings of GPRS related commands are not used, e.g. AT+CGDCONT. When a service based on a GPRS connection profile is started after entering AT^SISO MLB-S-BGS2-BW automatically tries to attach to the GPRS. Yet, the only exception is AT+CGATT which can be used any time to detach from the GPRS and thus disconnect the bearer opened with AT^SISO.
Not applicable. 2. Transparent Not applicable. 3. FTP Not applicable; set within "address" parameter. 4. HTTP Length: 2...31 User name for the HTTP authentication mechanism. Currently only HTTP simple authentication is supported. 5. SMTP MLB-S-BGS2-BW Terminal User Guide Rev 1.3...
Page 36
If SMTP authentication is disabled, i.e. "smAuth" flag not set, password parameter will be ignored. 6. POP3 Server/mailbox-specific password (string). Length: 1...64. Used to perform authentication with a POP3 server. conId Internet connection profile to be used, for details refer AT^SICS. tcpPort TCP Port Number MLB-S-BGS2-BW Terminal User Guide Rev 1.3...
Page 37
SMTP and POP3: 1. Socket - Socket type TCP client URL "socktcp://<host>:<remotePort> - Socket type TCP server URL "socktcp://listener:<localPort>" - Socket type UDP client URL "sockudp://<host>:<remotePort>[;size=<value>][;port=<localPort>]" Option "size": 0: PDU size is variable (default). MLB-S-BGS2-BW Terminal User Guide Rev 1.3...
Page 38
If you wish to send DLE characters as normal text string within your payload data the characters shall be doubled (DLE DLE). - "keepidle": specifies the TCP parameter TCP_KEEPIDLE (see RFC1122; not for Transparent UDP client) range: 1...65535 seconds, 0 disabled (default) MLB-S-BGS2-BW Terminal User Guide Rev 1.3...
Page 39
"ftp://<user>:<passwd>@<host>:<tcpPort>/<url-path> [;type='a|i|d'] " Refer to "IETF-RFC 1738". - FTP client URL (put) "ftpput://<user>:<passwd>@<host>:<tcpPort>/<url-path>/<element name> [;type='a|i'][;mode='u|a|d'] " Used parameters: <host> is mandatory, all other parameters are optional. If <passwd> is set then <user> must be set as well. MLB-S-BGS2-BW Terminal User Guide Rev 1.3...
Page 40
<port>: If parameter is omitted the service connects to HTTP default port 80. Refer to "IETF-RFC 2616". 5. SMTP SMTP server address (string). Length: 4...256. 6. POP3 POP3 server address (string). Length: 4...256. hcContent Optional parameter for HTTP method "Post". MLB-S-BGS2-BW Terminal User Guide Rev 1.3...
Page 41
Possible 'key' values are defined at HTTP/1.1 Standard RFC 2616. hcRedir This flag controls the redirection mechanism of the MLB-S-BGS2-BW acting as HTTP client (numeric). If "hcRedir" = 0: No redirection. If "hcRedir" = 1 (default): The client automatically sends a new HTTP request if the server answers with a redirect code (range 30x).
Page 42
"hcAuth" = 1: HTTP client will automatically answer on authentication requests from the server with the current "passwd" and "user" parameter settings. If these parameters are not specified the MLB-S-BGS2-BW will terminate the HTTP connection and send an indication to the TA. smFrom Email sender address, i.e.
Page 43
If "smAuth" = 0 (default): MLB-S-BGS2-BW performs action without SMTP authentication. If "smAuth" = 1: Authentication procedure with the SMTP server will be performed by means of supported authentication methods, using values of "user" and "passwd" parameters. If MLB-S- BGS2-BW and SMTP server are not able to negotiate an authentication mechanism supported by both parties, the MLB-S-BGS2-BW continues action without authentication.
Page 44
The list below shows which <srvParmTag> parameters apply to each Internet service and which of them are mandatory (= m) or optional (= o). <srvParmTag> Socket Transparent HTTP SMTP POP3 "srvType" "conId" "alphabet" "address" "tcpMR" "tcpOT" "secOpt" "user" MLB-S-BGS2-BW Terminal User Guide Rev 1.3...
AT^SISI. Only when <srvState>=2 is returned for this specific service profile you can change its service type. Socket MLB-S-BGS2-BW acting as client or server (listener) for TCP or UDP. Transparent MLB-S-BGS2-BW acting as Transparent TCP client or Transparent UDP client.
Page 46
MLB-S-BGS2-BW acting as FTP client. Http MLB-S-BGS2-BW acting as HTTP client. Smtp MLB-S-BGS2-BW acting as SMTP client. Pop3 MLB-S-BGS2-BW acting as POP3 client. none Reset Internet service profile settings. Operation is not allowed if profile is in use, i.e. it was activated via AT^SISO.
+++ Escape from Data Mode to AT Command Mode +++ esacape sequence is only available during a CSD call or a GPRS connection. The +++ character sequence causes the MLB-S-BGS2-BW to pause data mode and return to AT command mode. 5.8.6 AT^SISC Internet Service Close AT^SISC=<srvProfileId>...
- it is recommended that the size of each data packet be limited to 1460 bytes. Otherwise, it is possible that the following URC occurs: "^SIS: <id>, 0, 9, The supplied buffer was too small / large". (num) < eodFlag > End of data indication flag. Parameter is ignored for HTTP, POP3, FTP download. MLB-S-BGS2-BW Terminal User Guide Rev 1.3...
Page 49
Confirmed number of data bytes which can be transmitted via the Internet service configured in <srvProfileId>. In binary mode (see <mode>) this number may be less or equal to the value requested with <reqWriteLength>. MLB-S-BGS2-BW Terminal User Guide Rev 1.3...
Page 50
(TLS), Transparent TCP client with secure connection (TLS). For these services the counter is always set to 0. (num) < urcCauseId > The service is ready to accept new user data. Data transfer has been finished successfully and Internet service may be closed without loss of data. MLB-S-BGS2-BW Terminal User Guide Rev 1.3...
Indicates that no further data is available at the moment. >0 Number of available data bytes. The range is determined by <reqRead-Length>: If <reqReadLength> was greater than 0, then <cnfReadLength> may be less or equal to the value requested with <reqReadLength>. MLB-S-BGS2-BW Terminal User Guide Rev 1.3...
Page 52
Indicates that the currently read UDP datagram is not yet complete. The displayed value is the remaining number of bytes. <remainUdpPacketLength> is unequal 0 until reading all parts of the current datagram is finished. MLB-S-BGS2-BW Terminal User Guide Rev 1.3...
7 ORDERING INFORMATION MLiS Product MLB-S-BGS2-BW: The Dual/Qual Band GSM/GPRS terminal, it supports standard AT commands for GPRS connection and SMS. Power Adaptor MLA-PSP-100: Input: AC 100 ~ 240V Output: 9V/1.3A DC Jack 5.5/2.1 MLA-PSP-101: US Adapter Plug MLA-PSP-104: British Adapter Plug...
Need help?
Do you have a question about the MLB-S-BGS2-BW and is the answer not in the manual?
Questions and answers