| поискавой системы для электроныых деталей |
|
PM0237 датащи(PDF) 51 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
PM0237 датащи(HTML) 51 Page - STMicroelectronics |
|
51 / 88 page ![]() DocID027104 Rev 2 51/88 PM0237 Design an application using BlueNRG, BlueNRG-MS ACI APIs 88 switch(blue_evt->ecode){ #if GATT_SERVER case EVT_BLUE_GATT_ATTRIBUTE_MODIFIED: { /* Get attribute modification event data */ evt_gatt_attr_modified *evt = (evt_gatt_attr_modified*)blue_evt- >data; evt->conn_handle: the connection handle which modified the attribute; evt->attr_handle: handle of the attribute that was modified; evt->data_length: the length of the data; evt->att_data: pointer to the new value (length is data_length). /* Add user code for handling attribute modification event based on application scenarios */ .... }/* EVT_BLUE_GATT_ATTRIBUTE_MODIFIED */ break; #endif /* GATT_SERVER */ #if GATT_CLIENT case EVT_BLUE_GATT_NOTIFICATION: { /* Get attribute notification event data */ evt_gatt_attr_notification *evt = (evt_gatt_attr_notification*)blue_evt->data; evt->conn_handle: the connection handle which notified the attribute; evt->event_data_length: length of attribute value + handle (2 bytes); evt->attr_handle: attribute handle; evt->attr_value: pointer to attribute value (length is event_data_length – 2). /* Add user code for handling attribute notification event based on application scenarios */ ..... }/* EVT_BLUE_GATT_NOTIFICATION */ break; break; #endif /* GATT_CLIENT */ }/* switch(blue_evt->ecode) */ }/* EVT_VENDOR */ break; }/* switch(evt->subevent)*/ }/* end HCI_Event_CB() */ |
|
ссылки 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 |