| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
UM1870 bảng dữ liệu(PDF) 35 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM1870 bảng dữ liệu(HTML) 35 Page - STMicroelectronics |
|
35 / 58 page ![]() 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, |
|
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 |
| 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 |