u-blox s-center User Manual

blox for
s-center
Evaluation software for short range modules
User guide
Abstract
This document explains how to use s-center, the powerful and easy-to-use tool from u­evaluation and configuration of u-blox short range modules.
UBX-16012261 - R04 C1-Public www.u-blox.com
s-center - User guide
u-blox or third parties may hold intellectual property rights in the products, names, logos and designs included in this document. Copying, permitted with the express written permission of u The information contained herein is provided “as is” and u implied, is given, including but not limited purpose of the information. This document may be revised by u documents, visit www.u Copyright © u

Document information

Title s-center
Subtitle Evaluation software for short range modules
Document type User guide
Document number UBX-16012261
Revision and date R04 19-Mar-2021
Disclosure Restriction C1-Public
This document applies to the following products:
Product name Type number Firmware version PCN reference
s-center
Product status
UBX-16012261 - R04 Document information Page 2 of 26 C1-Public
reproduction, modification or disclosure to third parties of this document or any part thereof is only
-blox.
-blox assumes no liability for its use. No warranty, either express or
to, with respect to the accuracy, correctness, reliability and fitness for a particular
-blox at any time without notice. For the most recent
-blox.com.
-blox AG.
s-center - User guide

Contents

Document information ............................................................................................................................. 2
Contents ....................................................................................................................................................... 3
1 Overview ................................................................................................................................................ 5
1.1 Getting started ............................................................................................................................................ 5
2 Connecting to another wireless module ....................................................................................... 7
2.1 Classic Bluetooth (SPP) ............................................................................................................................. 7
2.2 Bluetooth Low Energy (SPS) ..................................................................................................................... 7
2.3 Wi-Fi (TCP) ................................................................................................................................................... 8
3 Sending and receiving data .............................................................................................................. 9
4 Settings for connecting to other modules ............................................................................... 10
4.1 Bluetooth .................................................................................................................................................... 10
4.2 Wi-Fi ............................................................................................................................................................. 10
4.2.1 Station ................................................................................................................................................ 10
4.2.2 Access point ...................................................................................................................................... 11
4.3 Enable servers ........................................................................................................................................... 11
5 Updating software ........................................................................................................................... 12
6 Configuring settings ....................................................................................................................... 13
6.1 Saving and downloading all settings .................................................................................................... 13
6.2 Other settings ............................................................................................................................................ 13
6.3 Retain or restore settings ....................................................................................................................... 14
7 Miscellaneous features .................................................................................................................. 15
7.1 Serial Settings ........................................................................................................................................... 15
7.2 Data Mode settings .................................................................................................................................. 15
7.3 GATT Server ............................................................................................................................................... 16
7.4 GATT Client ................................................................................................................................................ 16
7.5 Console Window ........................................................................................................................................ 17
7.6 User Defines ............................................................................................................................................... 17
7.7 GPIO ............................................................................................................................................................. 18
7.8 Wi-Fi Certificate ........................................................................................................................................ 18
7.9 NFC .............................................................................................................................................................. 19
7.10 Bluetooth PAN ........................................................................................................................................... 19
7.11 Ethernet ...................................................................................................................................................... 19
7.12 Bridge ........................................................................................................................................................... 20
7.13 Network ....................................................................................................................................................... 20
7.14 Bind Streams ............................................................................................................................................. 20
7.15 MQTT ........................................................................................................................................................... 20
7.16 EDM .............................................................................................................................................................. 21
7.17 HTTP ............................................................................................................................................................ 21
Appendix .................................................................................................................................................... 23
A Glossary .............................................................................................................................................. 23
UBX-16012261 - R04 Contents Page 3 of 26 C1-Public
s-center - User guide
Related documents ................................................................................................................................ 24
Revision history ....................................................................................................................................... 25
Contact ....................................................................................................................................................... 26
UBX-16012261 - R04 Contents Page 4 of 26 C1-Public
s-center - User guide

1 Overview

s-center is a powerful and easy-to-use tool for evaluating, configuring, and testing u-blox short range modules running the u-connectXpress SW based on AT commands.
This user guide provides a description of the features of s-center and its usage for simple configuration of the u-connectXpress based module.
s-center works with all u-connectXpress-based products.

1.1 Getting started

Having downloaded s-center client from the u-blox website and started the software, the initial display window prompts you to select a COM port, as shown in Figure 1. For new modules, you can keep the default values shown in the window. Ensure that you select the correct COM Port.
Once you select the COM port and click Open Port, s-center attempts to connect to the COM port. The main screen is displayed if the connection is successful, as shown in Figure 2.
If the module is in command mode, s-center reads out some information to you. s-center may additionally disable some controls if the module does not support those features.
Figure 1: Selecting COM port
UBX-16012261 - R04 Overview Page 5 of 26 C1-Public
s-center - User guide
Figure 2: Main s-center screen
UBX-16012261 - R04 Overview Page 6 of 26 C1-Public
s-center - User guide

2 Connecting to another wireless module

2.1 Classic Bluetooth (SPP)

The act of searching for other Bluetooth devices is called an “inquiry” and is shown in Figure 3. s-center displays a list of devices that was found in a drop-down list. You can select the module you want to connect to from the list and its Bluetooth address is automatically be entered in the form, as shown in Figure 4. SPP is the default protocol, so you must select Connect Peer only.
The other module must have the SPP server running to connect to SPP. If the other module has any security enabled, additional steps may be necessary.
Figure 3: Bluetooth Inquiry
Figure 4: Connecting to peer with SPP

2.2 Bluetooth Low Energy (SPS)

Start searching for other Bluetooth LE devices by running a discovery, as shown in Figure 5. s-center collects all devices in the drop-down list. Selecting an entry from this list fills in the Bluetooth address, as shown in Figure 6. SPS is the default and only protocol available for Bluetooth Low Energy (LE), so you only need to select Connect Peer.
The selected Bluetooth LE device can also be used in the GATT client tab, as described in section 7.4.
To establish a low energy connection, the module used must be in the Central mode. The device that is connected to must have the SPS server running.
More information about SPS is provided in the u-connectXpress Low Energy Serial Port Service Protocol Specification [1].
Figure 5: Low Energy discovery
UBX-16012261 - R04 Connecting to another wireless module Page 7 of 26 C1-Public
s-center - User guide
Figure 6: Connecting to peer with SPS

2.3 Wi-Fi (TCP)

Connecting to another module over Wi-Fi involves several more steps, as you first need to connect to an access point and then to the module. The module can also be an access point, but it is important to separate the roles.
Start by performing a Wi-Fi scan as shown in Figure 7. The results are displayed in the drop-down list. Selecting an access point fills in its corresponding SSID, as shown in the form in Figure 8. The majority of values in this form can be left as default, but you may need to set the security mode and enter a passkey or password for that security mode before selecting Activate Wi-Fi. In this example, the security mode is WPA2 and the password is TOGRI-WIFI.
Figure 7: Scanning for Wi-Fi
Figure 8: Connecting to a Wi-Fi access point
Once the connection is established with an access point, you can attempt to connect to a peer over TCP, as shown in Figure 9. The default protocol is TCP; enter only the IP address or host name and a port, then select Connect Peer.
The other module must have a TCP server running to connect over TCP.
Figure 9: Connecting to peer with TCP
UBX-16012261 - R04 Connecting to another wireless module Page 8 of 26 C1-Public
Loading...
+ 18 hidden pages