công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

UM1870 bảng dữ liệu(PDF) 35 Page - STMicroelectronics

tên linh kiện UM1870
Giải thích chi tiết về linh kiện  BlueNRG-MS development kits
PDF  58 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  STMICROELECTRONICS [STMicroelectronics]
Trang chủ  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM1870 bảng dữ liệu(HTML) 35 Page - STMicroelectronics

Back Button UM1870 Datasheet HTML 31Page - STMicroelectronics UM1870 Datasheet HTML 32Page - STMicroelectronics UM1870 Datasheet HTML 33Page - STMicroelectronics UM1870 Datasheet HTML 34Page - STMicroelectronics UM1870 Datasheet HTML 35Page - STMicroelectronics UM1870 Datasheet HTML 36Page - STMicroelectronics UM1870 Datasheet HTML 37Page - STMicroelectronics UM1870 Datasheet HTML 38Page - STMicroelectronics UM1870 Datasheet HTML 39Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 35 / 58 page
background image
DocID027602 Rev 1
35/58
UM1870
BlueNRG-MS sensor profile demo
58
Figure 14. BlueNRG-MS app
5.3
BlueNRG-MS sensor profile demo: connection with a central
device
This section describes how to interact with a central device, while BlueNRG-MS is acting as
a peripheral. The central device can be another BlueNRG-MS acting as a master, or any
other Bluetooth smart or smart-ready device.
First, BlueNRG-MS must be set up. In order to do this, a series of ACI command need to be
sent to the processor.
5.3.1
Initialization
BlueNRG-MS’s 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(Role=0x01)
See ACI documentation for more information on these commands and on those that follow
as well. Peripheral role must be specified inside the GAP_INIT command.
5.3.2
Add service and characteristics
BlueNRG-MS’s Bluetooth LE stack has both server and client capabilities. A characteristic is
an element in the server database where data are exposed. A service contains one or more
characteristics. Add a service using the following command. Parameters are provided only
as an example.
ACI_GATT_ADD_SERVICE(Service_UUID_Type=0x01,
Service_UUID_16=0xA001, Service_Type=0x01, Max_Attributes_Records=0x06)
The command will return the service handle (e.g., 0x000C). A characteristic must now be
added to this service. This service is identified by the service handle.
ACI_GATT_ADD_CHAR(Service_Handle=0x00C, Char_UUID_Type=0x01,
Char_UUID_16=0xA002, Char_Value_Length=10, Char_Properties=0x1A,



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 57 58


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
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