поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

UM2071 датащи(PDF) 32 Page - STMicroelectronics

номер детали UM2071
подробное описание детали  BlueNRG-1 development kit
PDF  56 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  STMICROELECTRONICS [STMicroelectronics]
домашняя страница  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM2071 датащи(HTML) 32 Page - STMicroelectronics

Back Button UM2071 Datasheet HTML 28Page - STMicroelectronics UM2071 Datasheet HTML 29Page - STMicroelectronics UM2071 Datasheet HTML 30Page - STMicroelectronics UM2071 Datasheet HTML 31Page - STMicroelectronics UM2071 Datasheet HTML 32Page - STMicroelectronics UM2071 Datasheet HTML 33Page - STMicroelectronics UM2071 Datasheet HTML 34Page - STMicroelectronics UM2071 Datasheet HTML 35Page - STMicroelectronics UM2071 Datasheet HTML 36Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 32 / 56 page
background image
BlueNRG-1 remote control demo application
UM2071
32/56
DocID029370 Rev 3
9
BlueNRG-1 remote control demo application
The BlueNRG-1 BLE remote control application is supported on the BlueNRG-1
development platform (STEVAL-IDB007V1). It demonstrates how to control a remote
device (like an actuator) using a BlueNRG-1 device.
This application periodically broadcasts temperature values that can be read by any device.
The data is encapsulated in a manufacturer-specific AD type and the content (besides the
manufacturer ID, i.e., 0x0030 for STMicroelectronics) is as follows:
Table 7: BLE remote advertising data
Byte 0
Byte 1
Byte2
App ID (0x05)
Temperature value (little-endian)
The temperature value is given in tenths of degrees Celsius.
The device is also connectable and exposes a characteristic used to control LEDs DL1,
DL2 and DL3 on the BlueNRG-1 platform. The value of this characteristic is a bitmap of 1
byte. Each bit controls one of the LEDs:
bit 0 is the status of LED DL1
bit 1 is the status of LED DL2
bit 2 is the status of LED DL3.
A remote device can therefore connect and write this byte to change or read the status of
these LEDs (1 for LED ON, 0 for LED OFF).
The peripheral disconnects after a timeout (DISCONNECT_TIMEOUT) to prevent a central
device remaining connected to the device indefinitely.
Security is not enabled by default, but this can be changed with ENABLE_SECURITY (refer
to file BLE_RC_main.h). When security is enabled, the central device must be
authenticated before reading or writing the device characteristic.
To interact with a device configured as a BlueNRG-1 BLE remote control, another BLE
device (a BlueNRG-1 or any Bluetooth® smart ready device) can be used to detect and
view broadcast data.
To control one of the LEDs, the device has to connect to a BlueNRG-1 BLE remote control
device and write in the exposed control point characteristic. The Service UUID is ed0ef62e-
9b0d-11e4-89d3-123b93f75cba. The control point characteristic UUID is ed0efb1a-9b0d-
11e4-89d3-123b93f75cba.
9.1
BLE remote control application setup
This section describes how to configure a BlueNRG-1 device to acting as a remote control
device.
9.1.1
Initialization
The BlueNRG-1 BLE stack must be correctly initialized before establishing a connection
with another Bluetooth LE device. This is done with two commands:
aci_gatt_init();
aci_gap_init(GAP_PERIPHERAL_ROLE, 0, 0x07, &service_handle, &dev_name_char_handle,
&appearance_char_handle);
See BlueNRG-1 BLE stack API documentation for more information on these and following
commands.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com