u-blox NINA-B1 Series Getting Started

u-blox NINA-B1 Series Getting Started

Stand-alone bluetooth low energy modules
Hide thumbs Also See for NINA-B1 Series:

Advertisement

Quick Links

NINA-B1 series
Stand-alone Bluetooth low energy
modules
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 the NINA-B1
series.
www.u-blox.com
UBX-16009942 - R04

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NINA-B1 Series and is the answer not in the manual?

Questions and answers

Summary of Contents for u-blox NINA-B1 Series

  • Page 1 Stand-alone Bluetooth low energy modules 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 the NINA-B1 series. www.u-blox.com UBX-16009942 - R04...
  • Page 2 The information contained herein is provided “as is” and u-blox assumes no liability for the use of the information. No warranty, either express or implied, is given, including but not limited, with respect to the accuracy, correctness, reliability and fitness for a particular purpose of the information.
  • Page 3: Table Of Contents

    Contents Contents ..........................3 Introduction ........................4 Key features ............................4 Modes of operation ..........................4 u-blox Low Energy Serial Port Service (SPS) ................... 4 Configuration ....................... 6 Basic settings ............................6 Peers ..............................6 Client and server ........................... 7 Bluetooth services ..........................
  • Page 4: Introduction

    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.
  • Page 5 Connections without credits are also supported. Connections without credits are faster to establish and ideal for scenarios where a small amount of data shall be transferred. For more information see u-blox Low Energy Serial Port Service Protocol Specification [10]. UBX-16009942 - R04...
  • Page 6: Configuration

    You can configure the NINA-B1 module according to your specific requirements by using AT commands (see u-blox Short Range Modules AT Commands Manual [1]). The easiest way to get started is to use the u-blox s-center, which is a graphical user interface for sending the AT-commands (see s-center Product Summary [4]).
  • Page 7: Client And Server

    Official as well as user defined GATT Services can be set up with AT commands. The Serial Port Service (SPS) is a u-blox proprietary serial cable emulation service, which is enabled by default. 2.5 Command mode, Data mode, and Extended data mode By default, NINA-B1 will enter command mode and has to be reconfigured to start up in data mode or extended data mode.
  • Page 8 NINA-B1 series - Getting Started Figure 3: Operational modes In data mode, the data transmitted on the UART to the module will be transmitted (and broadcasted for all connections), over air, to all wireless connections. Data received from the wireless connections may be interleaved upon reception and it may be difficult or impossible to figure out from which remote device the data is received.
  • Page 9: Multipoint

    Figure 7: Wireless Multidrop In extended data mode, it is possible to transmit data to a specific remote device and to know from which remote device data is received (see u-blox Extended Data Mode Protocol Specification [7]). UBX-16009942 - R04...
  • Page 10: Bluetooth Security

    There are five different security modes that support all kinds of use cases regarding the pairing procedure. All security modes use encryption. The encryption algorithm is a 128-bit cipher called E0. Security mode 1 and 2 are implemented to keep the same or similar behavior as for previous versions of u-blox Bluetooth products.
  • Page 11: Evaluation Board

    NINA-B1 series - Getting Started 3 Evaluation board The evaluation board for NINA-B1 is EVK-NINA-B1. 3.1 LED indications and buttons There are two operational buttons (SW1 and SW2) and one multi LED (DS9), as shown in Figure 9. Figure 9: EVK-NINA-B1 Evaluation board The LED indicates what mode is currently active and what activity is currently in progress.
  • Page 12: Restore Factory Settings

    3.4 Enter the bootloader 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 will time out and resume the application after 10 seconds.
  • Page 13: Use Case Examples

    AT+UMSM=1 • Store configuration AT&W • Restart NINA-B1 AT+CPWROFF Set up second NINA-B1 as a Peripheral (Device B) NINA-B1 has the u-blox Serial Port Service enabled by default: • Startup in data mode AT+UMSM=1 • Store configuration AT&W • Restart AT+CPWROFF 4.2 Set up GATT Server / Client on NINA-B1...
  • Page 14: Setup Ibeacon On Nina-B1

    NINA-B1 series - Getting Started +UBTD:112233445566p,-59,"NINA-B1 GATT Server",1,1109426C756574... • Create an ACL connection AT+UBTACLC=112233445566 +UUBTACLC:0,0,112233445566p • Use the connection handle 0 from the +UUBTACLC and Discover Services AT+UBTGDP=0 +UBTGDP:0,1,9,1800 +UBTGDP:0,10,13,1801 +UBTGDP:0,14,22,180A +UBTGDP:0,23,29,01D7E9014FF344E7838FE226B9E15624 +UBTGDP:0,30,65535,180D • After finding the “Heart Rate service” (180 D), use the start handle 30 and end handle 65535 from the...
  • Page 15: Setup Eddystone On Nina-B1

    NINA-B1 series - Getting Started 4.4 Setup Eddystone on NINA-B1 Setup NINA-B1 to advertise Google Eddystone packets: This example will show how to send an URL inside the advertisement packet; by nature, the advertisement packet is limited in size and the information is also limited.
  • Page 16 NINA-B1 series - Getting Started • Enter 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 example, reading the local Bluetooth address of...
  • Page 17: Appendix

    NINA-B1 series - Getting Started Appendix A List of acronyms Abbreviation / Term Explanation / Definition Asynchronous Connection-Less Basic Rate Data Set Ready Data Terminal Ready Extended Data Mode Enhanced Data Rate GATT Generic Attributes HTTP Hypertext Transfer Protocol Light-Emitting Diode...
  • Page 18: Related Documents

    Product Summary, Document No. UBX-15020022 https://developer.apple.com/ibeacon/ https://developers.google.com/beacons/eddystone u-blox Extended Data Mode Protocol Specification, Document No. UBX-14044126 https://www.bluetooth.com/specifications/gatt/services https://www.bluetooth.com/specifications/gatt/characteristics [10] u-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...
  • Page 19: Contact

    NINA-B1 series - Getting Started Contact For complete contact information visit us at http://www.u-blox.com/. u-blox Offices North, Central and South America Headquarters Asia, Australia, Pacific Europe, Middle East, Africa u-blox America, Inc. u-blox Singapore Pte. Ltd. u-blox AG Phone: +1 703 483 3180...

Table of Contents