u-blox NINA-B1 Series Скачать руководство пользователя страница 10

NINA-B1 series - Getting Started 

UBX-16009942 - R04 

  

Configuration 

 

 

Page 10 of 19

 

 

Figure 8: Multidrop in extended data mode 

2.7

 

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. 
Secure Simple Pairing (SSP) was introduced in Bluetooth 2.1 to improve security and simplify the pairing process. 
SSP uses a form of public key cryptography and the just works, numeric comparison, passkey entry and out of 
band authentication mechanisms. 

 

Just works: No user interaction is needed, except that the user may need to confirm the pairing process. 
The method is typically used by devices with very limited IO capabilities. 

 

Numeric comparison: A 6-digit numeric code is displayed on each device where the user compares the 
numbers to ensure they are identical.  

 

Passkey Entry: Either a 6-digit numeric code is displayed on one device that the user enters on the other 
device, or the same 6-digit numbers are entered on both devices. 

Use the security mode 1  (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 Just Works)

 AT+UBTSM=2

2.8

 

Low power modes 

The Standby mode is one of the power saving modes in NINA-B1 module that essentially powers down the 
module but keeps the system RAM and allows incoming connection to the module. The Sleep mode is the 
deepest power saving mode of NINA-B1 modules, but does not allow any connection to wake up the module. 
The low power modes in NINA-B1 are set using the AT&D command. 

2.8.1

 

Standby mode 

The standby mode in NINA-B1 that is enabled with 

AT&D3

, is used to disable the UART. The radio is still active 

and the UART can be activated again either on a logical 0 to logical 1 signal transition on the DTR line, or by an 
incoming Bluetooth connection establishment. 
For more information about Standby mode, see 

NINA-B1 series Data Sheet [2]

. 

2.8.2

 

 Sleep mode 

The sleep mode in NINA-B1 that is enabled with the command 

AT&D4

, will upon a logical 0 to logical 1 on signal 

transition of the DTR line, completely shuts off the module. Upon a logical 1 to logical 0 signal transition on the 
DTR line, the module is started again. This is the lowest power mode, and NINA-B1 will not be able to keep or 
make any connection in this mode. 
For more information about Sleep mode, see the 

NINA-B1 series Data Sheet [2]

. 

Содержание NINA-B1 Series

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Отзывы: