| поискавой системы для электроныых деталей |
|
UM1870 датащи(PDF) 37 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM1870 датащи(HTML) 37 Page - STMicroelectronics |
|
37 / 58 page ![]() DocID027602 Rev 1 37/58 UM1870 BlueNRG-MS sensor profile demo 58 BlueNRG-MS can send notifications of the characteristic that has been previously added, with UUID 0xA002 (after notifications have been enabled). This can be done using the following command: – ACI_GATT_UPD_CHAR_VALUE(Service_Handle=0x000C, Char_Handle=0x000D, Val_Offset=0, Char_Value_Length=0x05, Char_Value='hello') Once this ACI command has been sent, the new value of the characteristic will be displayed on the phone. 5.4 BlueNRG-MS sensor demo: central profile role This application implements a basic version of the BlueNRG-MS Sensor Profile Central role which emulates the BlueNRG-MS Sensor Demo applications available for smartphones (iOS and Android). It configures a BlueNRG-MS device as a BlueNRG-MS Sensor device, Central role which is able to find, connect and properly configure the free fall, acceleration and environment sensor characteristics provided by a BlueNRG-MS development platform, configured as a BlueNRG-MS Sensor device, Peripheral role. This application uses a new set of APIs that allow the performance of the following operations on a BlueNRG-MS Master/Central device: – Master Configuration Functions – Master Device Discovery Functions – Master Device Connection Functions – Master Discovery Services & Characteristics Functions – Master Data Exchange Functions – Master Security Functions – Master Common Services Functions These APIs are provided through binary libraries available on Projects\Bluetooth LE\Profile_Framework_Central\library. The master library APIs are documented in doxygen format within the SW package. The BlueNRG-MS Sensor Demo Central role is supported on the BlueNRG-MS development platform (STEVAL-IDB005V1). The sections that follow describe how to use the master library APIs for configuring a BlueNRG-MS Sensor Demo Central device. 5.4.1 Initialization BlueNRG-MS's master library must be correctly initialized before establishing a connection with another Bluetooth LE device. This is done with this command: – Master_Init(¶m) param variable allows to set the initialization parameters (device address, name, …). Refer to the master library doxygen documentation for more information about the command and related parameters. On the application main loop, the Master_Process() API has to be called in order to process the Master library state machines. |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |