m-center

...Cellular modules evaluation software
www.u-blox.com

m-center is u-blox's powerful cellular module evaluation tool. With this software it is possible to connect and interact with u-blox's cellular modules and perform different activities with them.

Overview

Use the eight icon buttons at the top of the window to access to the following pages:

Above these button is the m-center toolbar, which contains four options:

To open the AT Terminal in a separate window, click the "AT Terminal" button in the upper right corner.

At the top of the window, a status bar displays the module (manufacturer, model, etc.) and the network information (operator and signal strength), if available. At the bottom of the window another status bar displays the current AT and Trace COM port settings. ...index

Home page

The Home page is the main page of the program. From here it is possible to connect the m-center to an Evaluation Kit (EVK), start a modem trace, and display the module information. In the same page it is possible to configure the COM ports, the PIN usage, the module date and time, and the power saving.

The Home page includes the following sections:

...index

Network page

This page displays the network information and lists the available network operators. From here it is possible to manage the packet switched data (PSD) profiles.

...index

Phonebook page

The Phonebook page provides a view of the SIM phonebook, and lists the most recently dialed (mobile originated) calls.
The m-center by default does not load the SIM phonebook and the last dialed calls list. To load the phonebook details, click the "Get List" button. After a few seconds the table is filled with the phonebook entries.

Editing the SIM phonebook

These actions can be performed on the SIM phonebook by clicking the buttons at the bottom of the entry list.

Sending SMS to phonebook number

An SMS can be sent to the number selected in the SIM phonebook or in the "Last dialed calls" list by clicking the "SMS" button. In this case, m-center switches to the SMS page (see next paragraph for SMS operations).
...index

SMS Page

This page allows the user to send text messages (SMS), to manage the received messages, and to set the message service center number.
...index

File System page

In this page, a simple File System manager is implemented. The files in module's File System can be displayed, copied to or from user's PC.

When a module is connected with m-center, it is possible to perform various operations:

...index

Positioning page

This page allows users to geographically locate the module through the CellLocate® feature, a u-blox GNSS receiver connected to the module, or both.

...index

FOTA page

FOTA (Firmware Over The Air) is a procedure for updating the firmware on a connected electronic device, such as on mobile phones and tablet computers.

In m-center, the FOTA demo application upgrades the cellular module firmware by retrieving a "delta-file" from a FTP server and upgrading the firmware using this delta-file.

To start the FOTA application, click the "FOTA On" button in the upper left corner of the page. When the FOTA application starts, m-center checks if the module is registered on the network, and if a PSD context is active. If there is no registration or no context is active, the FOTA application exits. A PSD context can be activated in the Network page.

On the left side of the page there is a FOTA Log box, where all the FOTA operations are listed. To clean the FOTA log click the "Clear Log" button.

Retrieving a delta file from an FTP server

An external user can trigger the FOTA download operation by sending a "Download SMS" to the module connected to the m-center. This SMS shall start with the text tag defined in the Download FW Tag box. The default value of this tag is "FOTADWN", but it can be changed by editing the relative box.

The SMS format is:
<Dwn SMS Tag>:<FTP server address>,<FTP server username>,<FTP server password>,<FTP server path>,<Delta file name>

Example:
FOTADWN:123.123.123.123,Lisa,mypassword,dload/fw,Delta_MSY_FW_91.02_to_91_01_F.upd


In this demo application concatenated SMSes are not supported.
The port number information can be optionally added in the<FTP server address> field using this syntax: <FTP address>:<FTP port> (e.g. 123.123.123.123:8080).

In the FTP Data section, the fields will be filled with the data received from the SMS. The User Nr box will contain the user number.

At the "Download SMS" reception, m-center connects to the FTP server and downloads the delta-file from there. After a successful firmware download, an acknowledgement SMS will be sent to the user that triggered the download.

The delta-file can be manually downloaded by clicking on the "Manual FTP download" button after having filled the FTP Data section with the FTP data and the filename fields.

Upgrading the firmware

An external user can trigger the upgrade process by sending an "Upgrade SMS" to the module connected to the m-center. This SMS shall start with the text tag defined in the Upgrade FW Tag box. The default value of this tag is "FOTAUPG", but it can be changed by editing the corresponding box.

The SMS format is:
<Upg SMS Tag>:<Delta file name>

Example:
FOTAUPG:Delta_MSY_FW_91.02_to_91_01_F.upd

In this SMS, the only data sent is the filename of the delta-file, which must be stored in the FS.

The firmware upgrade can be manually triggered by clicking on the "Manual FW upgrade" button after having filled the FTP Data section with the filename field.

During the FW upgrade process, the status bar at the lower left part of the window shows the upgrade progress indication.

After a successful upgrade, the module is rebooted. The m-center will ask for the PIN code if the PIN has been previously enabled. If an SMS triggered the upgrade, an acknowledgement SMS with the new firmware version is sent to the user.

Complete operation

It is possible to perform a download and an upgrade operation by means of a user SMS that starts with the text tag defined in the Dwn+Upg FW Tag box. The default value of the tag is "FOTAALL".

The SMS format is:
<Dwn+Upg SMS Tag>:<FTP server address>,<FTP server username>,<FTP server password>,<FTP server path>,<Delta file name>

Example:
FOTAALL:123.123.123.123,Lisa,mypassword,dload/fw,Delta_MSY_FW_91.02_to_91_01_F.upd

After a successful upgrade and the module reboot, an acknowledgement SMS with the new firmware version is sent to the user.

...index

eCall PSAP simulator page

This page allows users to run a PSAP (Public Safety Answering Point) simulator. It is a system that, in conjunction with a PSAP cellular modem, is capable of receiving a simulated eCall (emergency Call) and the MSD (Minimum Set of Data) transmitted within the eCall.

...index

AT terminal

To open the AT terminal window, click on the "AT Terminal" button at the upper right of the m-center window. In this window it is possible to communicate directly with the module.

The terminal data panel displays all the communications between m-center and the module. All the data sent to the module are displayed in blue text, while the data received from the module are displayed in red text. To clear the contents of the terminal data panel, click the "Clear Terminal" button.

AT commands can manually be entered or chosen in the AT command list on the right side of the window.

Clicking the red close button in the upper right corner of the AT terminal window hides the terminal, although it remains active.

Terminal log

On the top left of the window there is a checkbox that enables/disables the AT terminal log. The log is by default enabled and saved in the m-center "log" folder using the filename "mc_at.log". To empty the log file, click the "Clear Log" button.

Click the "Save as..." button to choose another log filename and path.

Upon exit, m-center makes a copy of the log file in the "log" folder, adding a timestamp to the filename.

Hex mode

Hex mode can be selected with the checkbox in the upper side of the window.

In Hex mode, all the transmitted and received data are shown in both hex and text format. The AT terminal log also reflects this setting.

Entering commands

AT command list

On the right side of the AT Terminal window there is a list of predefined AT commands. The commands are arranged into many groups, which can be selected in the drop-down list in upper right corner.

If a command in the list is clicked, it will be inserted in the input text box and a comment-box of the command will be displayed on the right of the command list.

If a command in the list is double-clicked, it will be sent to the module.

AT command list editing

Flow Control Lines

The controls of the com port flow control lines are placed at the bottom right of AT terminal window. There are six control lines: RTS, DTR, CTS, DSR, RI & DCD. When the COM port flow control is set to "hardware" the system takes the control of DTR and RTS lines, otherwise they can be set manually. For remaining lines only their status can be observed.

These flow control lines can be enabled or disabled from the setting menu using "Enable/Disable COM port lines" option. Once these lines are disabled it will remain as it is, regardless of the flow control setting from "Set Port".

AT Scripting

At the bottom of AT terminal window there is a panel from which it is possible to select an AT script from a drop down menu and run it. The AT scripts are text files in which every line corresponds to one AT command. It is also possible to define a global time-out in seconds. For every AT command, m-center will wait for a response before moving to the next command. Whenever a timer expires, the script will be aborted, and the remaining commands will not be sent to the modem. The iteration of script can be set in Loop Count. Range is from "0" to "1000". If loop count value is set to "0", the selected AT script will run for indefinite amount of time. Iteration number is displayed in "iteration" label.

...index