Zakładka z wyszukiwarką danych komponentów
  Polish  ▼
ALLDATASHEET.PL

X  

PM0237 Arkusz danych(PDF) 70 Page - STMicroelectronics

Numer części PM0237
Szczegółowy opis  The main purpose of this document is to provide a developer
PDF  88 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Producent  STMICROELECTRONICS [STMicroelectronics]
Strona internetowa  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

PM0237 Arkusz danych(HTML) 70 Page - STMicroelectronics

Back Button PM0237 Datasheet HTML 66Page - STMicroelectronics PM0237 Datasheet HTML 67Page - STMicroelectronics PM0237 Datasheet HTML 68Page - STMicroelectronics PM0237 Datasheet HTML 69Page - STMicroelectronics PM0237 Datasheet HTML 70Page - STMicroelectronics PM0237 Datasheet HTML 71Page - STMicroelectronics PM0237 Datasheet HTML 72Page - STMicroelectronics PM0237 Datasheet HTML 73Page - STMicroelectronics PM0237 Datasheet HTML 74Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 70 / 88 page
background image
Design an application using BlueNRG, BlueNRG-MS ACI APIs
PM0237
70/88
DocID027104 Rev 2
/* Get the vendor event data */
evt_blue_aci *blue_evt = (void*)event_pckt->data;
switch(blue_evt->ecode){
case EVT_BLUE_ATT_READ_BY_GROUP_RESP:
{
evt_att_read_by_group_resp *pr = (void*)blue_evt->data;
/* evt_att_read_by_group_resp parameters:
pr->conn_handle: connection handle;
pr->event_data_length: total length of the event data;
pr->attribute_data_length: length of each specific data within the
attribute_data_list[];
pr->attribute_data_list[]: event data.
*/
/* Add user code for decoding the pr->attribute_data_list[] and getting
the services handle, end group handle and service uuid */
..........
}/* EVT_BLUE_ATT_READ_BY_GROUP_RESP */
break;
case EVT_BLUE_GATT_PROCEDURE_COMPLETE:
{
evt_gatt_procedure_complete *pr = (void*)blue_evt->data;
/* evt_gatt_procedure_complete parameters:
pr->conn_handle: connection handle;
pr->attribute_data_length: length of the event data;
pr->data[]: event data.
*/
/* If needed, add user code for using the event data */
.......
}/* EVT_BLUE_GATT_PROCEDURE_COMPLETE */
break;
}/* switch(blue_evt->ecode) */
}/* EVT_VENDOR */
break;
}/* switch(evt->subevent)*/
}/* end HCI_Event_CB() */
In the context of the Sensor Profile Demo, the GAP Central application should get three
EVT_BLUE_ATT_READ_BY_GROUP_RESP
events, with following
evt_att_read_by_group_resp
data:
First evt_att_read_by_group_resp event data
pr->conn_handle : 0x0801 (connection handle);
pr->event_data_length: 0x0D (length of the event data);
pr->handle_value_pair_length: 0x06 length of each discovered service
data: service handle, end group handle, service uuid);



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88


Arkusz danych Pobierz

Go To PDF Page


Link URL



Czy Alldatasheet okazała się pomocna?  [ DONATE ] 

O Alldatasheet   |   Reklama   |   Kontakt   |   Polityka prywatności   |   Link do karty katalogowej    |   Linki   |   Lista producentów
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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