| 数据搜索系统,热门电子元器件搜索 |
|
UM1870 数据表(PDF) 39 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM1870 数据表(HTML) 39 Page - STMicroelectronics |
|
39 / 58 page ![]() DocID027602 Rev 1 39/58 UM1870 BlueNRG-MS sensor profile demo 58 5.4.5 Enable sensor peripheral acceleration and free fall notifications Once the Sensor Peripheral device sensor acceleration and free fall characteristics have been discovered, the Sensor Central device can enable the related characteristics notification by using the following master library command: – Master_NotifIndic_Status(masterContext.connHandle, handle, TRUE, FALSE); Refer to the master library doxygen documentation for more information about the command and related parameters. When a characteristic notification is enabled, the Master_PeerDataExchange_CB() master library callback is called with NOTIFICATION_INDICATION_CHANGE_STATUS code. On a Sensor Central device context, the sensor acceleration and free fall characteristics notifications coming from the Sensor Peripheral device are received through the Master_PeerDataExchange_CB() master library callback, NOTIFICATION_DATA_RECEIVED code. Each received values is displayed on the connected hyper terminal (115200, 8, N, 1). 5.4.6 Read the sensor peripheral temperature sensor characteristic Once the Sensor Peripheral device sensor temperature characteristic is discovered, the Sensor Central device can read the related characteristic value by using the following master library command: – Master_Read_Value() Refer to the master library doxygen documentation for more information about the command and related parameters. The characteristic value is received though the Master_PeerDataExchange_CB() master library callback, READ_VALUE_STATUS code. Each received value is also displayed on the connected hyper terminal (115200, 8, N, 1). |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |