![u-blox NINA-B1 Series Скачать руководство пользователя страница 10](http://html2.mh-extra.com/html/u-blox/nina-b1-series/nina-b1-series_getting-started_3059194010.webp)
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]