| 전자부품 데이터시트 검색엔진 |
|
PM0237 데이터시트(PDF) 77 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
PM0237 데이터시트(HTML) 77 Page - STMicroelectronics |
|
77 / 88 page ![]() DocID027104 Rev 2 77/88 PM0237 Design an application using BlueNRG, BlueNRG-MS ACI APIs 88 In the context of the sensor profile demo, follow a simple pseudo code the GAP Central application should use in order to configure the free fall and the acceleration characteristics client descriptors configuration for notification: tBleStatus ret; uint16_t handle_value; #ifdef BLUENRG_MS handle_value = 0x000F; #else /* handle_value = 0x0013; #endif /* Enable the free fall characteristic client descriptor configuration for ret = aci_gatt_write_charac_descriptor(conn_handle, handle_value /* handle for free fall client descriptor configuration */ 0x02, /* attribute value length */ 0x0001, /* attribute value: 1 for notification */ ); if (ret != BLE_STATUS_SUCCESS) PRINTF("Failure.\n")} #ifdef BLUENRG_MS handle_value = 0x0012; #else /* handle_value = 0x0016; aci_gatt_write_charac_descriptor() It start the procedure to write a characteristic descriptor. GATT client aci_gatt_confirm_indication() It confirms an indication. This command has to be sent when the application receives the event EVT_BLUE_GATT_INDICATION on the reception of a characteristic indication. GATT client Table 50. Characteristics update, read, write APIs Discovery service API Description Where |
|
링크 URL |
| 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 |