| 数据搜索系统,热门电子元器件搜索 |
|
PM0237 数据表(PDF) 76 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
PM0237 数据表(HTML) 76 Page - STMicroelectronics |
|
76 / 88 page ![]() Design an application using BlueNRG, BlueNRG-MS ACI APIs PM0237 76/88 DocID027104 Rev 2 pr->handle_value_pair_length: 0x15 length of each discovered characteristic data: characteristic handle, properties, characteristic value handle, characteristic UUID; pr->handle_value_pair: 0x15 bytes as follows: In the context of the Sensor Profile Demo, when the discovery all characteristics of a service procedure completes, the EVT_BLUE_GATT_PROCEDURE_COMPLETE is generated on GAP Central application, with following evt_gatt_procedure_complete data: pr->conn_handle : 0x0801 (connection handle); pr-> data_length: 0x01 (length of the event data); pr->data[]: 0x00 (event data). Similar steps can be followed in order to discover all the characteristics of the environment service (refer to Table 41: BlueNRG sensor profile demo services & characteristics handles) and Table 42: BlueNRG-MS sensor profile demo services & characteristics handles). 3.7 Characteristic notification/indications, write, read This section describes the main functions for getting access to BLE device characteristics. Table 49. Second evt_att_read_by_type_resp event data Characteristic handle Characteristic properties Characteristic value handle Characteristic UUID Note 0x0014 (BlueNRG), 0x0010 (BlueNRG-MS) 0x12 (notify and read) 0x0015 (BlueNRG), 0x0011 (BlueNRG-MS) 0x340A1B80CF4B11E1AC360002A5D 5C51B Acceleration characteristic 128bits characteristic proprietary UUID Table 50. Characteristics update, read, write APIs Discovery service API Description Where aci_gatt_update_char_value() If notifications (or indications) are enabled on the characteristic, this API sends a notification (or indication) to the client. GATT server aci_gatt_read_charac_val() It starts the procedure to read the attribute value. GATT client aci_gatt_write_charac_value() It starts the procedure to write the attribute value (when the procedure is completed, a EVT_BLUE_GATT_PROCEDURE_COMP LETE event is generated). GATT client aci_gatt_write_without_response() It starts the procedure to write a characteristic value without waiting for any response from the server. GATT client |
|
链接网址 |
| 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 |