background image

NINA-B1 series - Getting Started 

UBX-16009942 - R04 

  

Introduction 

 

 

Page 4 of 19

 

1

 

 Introduction 

The NINA-B1 series is a highly integrated low energy module developed by u-blox for integration in demanding, 
reliable devices, such as those needed for industrial and medical applications. The module is built around a 
Bluetooth low energy chip. This document describes how to set up and use the modules. 

1.1

 

Key features 

One of the key features of the NINA-B1 series is the Wireless serial cable replacement functionality. The basic 
functionality is to transfer data between the serial port and a wireless link. It is possible to configure the NINA-B1 
series module to automatically setup a connection and/or accept an incoming connection using AT commands.  
For a host, this means that an existing serial cable can be replaced by a wireless solution; in many cases without 
the need to modify the host. 

 

Figure 1: NINA-B1 series Bluetooth setup  

1.2

 

Modes of operation 

The NINA-B1 series can operate in the following three different modes:  

 

Command mode 

 

Data mode 

 

Extended Data mode 

In command mode, the module is configured using AT commands. For information regarding the available AT 
commands, see 

u-blox Short Range Modules AT Commands Manual [1]

, 

In data mode, the module transmits data transparently between the serial UART and wireless connection(s). 
The extended data mode (EDM) allows individual control of each active link. While sending and/or receiving 
data, AT commands can simultaneously be sent to the module from the host. For more information about EDM, 
see 

section 2.5

 and 

u-blox Extended Data Mode Protocol Specification [7]

). 

1.3

 

u-blox Low Energy Serial Port Service (SPS) 

In Bluetooth BR/EDR, there is a Serial Port Profile (SPP) that emulates a serial port over air. For Bluetooth Low 
Energy, there is no such profile and thereby no standardized way of transferring generic data over the air. 
The u-blox Low Energy Serial Port Service is a non-standard profile developed for the u-blox serial port adapter 
concept. The specification is open and may be implemented in any Bluetooth Low Energy device to enable 
generic data transmission. 

Summary of Contents for NINA-B1 Series

Page 1: ...les Getting Started Abstract This document describes how to set up and use the NINA B1 series Bluetooth low energy module with the u blox connectivity software It also provides a technical overview of...

Page 2: ...third parties of this document or any part thereof without the express permission of u blox is strictly prohibited The information contained herein is provided as is and u blox assumes no liability f...

Page 3: ...7 Bluetooth security 10 2 8 Low power modes 10 3 Evaluation board 11 3 1 LED indications and buttons 11 3 2 Restore default serial settings 11 3 3 Restore factory settings 12 3 4 Enter the bootloader...

Page 4: ...A B1 series can operate in the following three different modes Command mode Data mode Extended Data mode In command mode the module is configured using AT commands For information regarding the availa...

Page 5: ...dits to the client using the credit indication and the client writes the number of credits to the server The credits correspond to the number of packets the remote side may write before receiving new...

Page 6: ...eer classes in the serial port adapter Local peer Remote peer The local peer is synonymous with the UART In contrast to the local peer the remote peer is another device Several remote peers can be def...

Page 7: ...d server For more information about GATT see 8 The GATT server stores data received from the GATT client The GATT server sends responses to requests and sends indications and notifications to the GATT...

Page 8: ...t from which remote device the data is received This multipoint strategy is called as Wireless Multidrop It is suitable mainly for master slave polled protocols such as Modbus and point to point commu...

Page 9: ...tipoint It is possible to configure a module to support up to 8 parallel Bluetooth connections These connections can be to 1 central and 7 peripherals in a multirole configuration The AT UBTCFG comman...

Page 10: ...Bluetooth 2 1 auto accept security AT UBTSM 1 to start with It is highly recommended to analyze the security and if appropriate use a more secured solution for example security mode 2 Bluetooth 2 1 J...

Page 11: ...n progress Orange The current mode is command mode Purple A connection attempt is in progress Blue A connection is currently active Blue Blinking A connection is active and data is transmitted or rece...

Page 12: ...er To enter the bootloader press the SW1 and SW2 buttons during a reset this will start the module in the u blox bootloader You can also enter the bootloader using the AT UFWUPD command The bootloader...

Page 13: ...ort Service enabled by default Startup in data mode o AT UMSM 1 Store configuration o AT W Restart o AT CPWROFF 4 2 Set up GATT Server Client on NINA B1 The following example shows how to set up a GAT...

Page 14: ...CD and subscribe to notifications of Heart Rate measurement value changes o AT UBTGWC 0 33 1 OK Update and notify new value of Heart Rate measurement Device A We can now set a new value 50 and send a...

Page 15: ...name NINA B1 Device A is a Peripheral Set Local Name on NINA B1 to o AT UBTLN u blox NINA B1 NINA B1 Device B as a Central Set Central Role on NINA B1 o AT UBTLE 1 Store configuration o AT W Restart...

Page 16: ...nter configuration mode by sending escape sequence of Device A By default the NINA B1 escape sequence is 1 Silence 1 second 2 3 Silence 1 second Device B can now send AT commands to Device A for examp...

Page 17: ...iation Term Explanation Definition ACL Asynchronous Connection Less BR Basic Rate DSR Data Set Ready DTR Data Terminal Ready EDM Extended Data Mode EDR Enhanced Data Rate GATT Generic Attributes HTTP...

Page 18: ...blox Low Energy Serial Port Service Protocol Specification Document No UBX 16011192 11 NINA B1 System Integration Manual Document No UBX 15026175 Revision history Revision Date Name Comments R01 17 Ju...

Page 19: ...Regional Office China Beijing Phone 86 10 68 133 545 E mail info_cn u blox com Support support_cn u blox com Regional Office China Chongqing Phone 86 23 6815 1588 E mail info_cn u blox com Support sup...

Reviews: