Motore di ricerca datesheet componenti elettronici
  Italian  ▼
ALLDATASHEETIT.COM

X  

PM0237 Scheda tecnica(PDF) 80 Page - STMicroelectronics

Il numero della parte PM0237
Spiegazioni elettronici  The main purpose of this document is to provide a developer
PDF  88 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Produttore elettronici  STMICROELECTRONICS [STMicroelectronics]
Homepage  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

PM0237 Scheda tecnica(HTML) 80 Page - STMicroelectronics

Back Button PM0237 Datasheet HTML 76Page - STMicroelectronics PM0237 Datasheet HTML 77Page - STMicroelectronics PM0237 Datasheet HTML 78Page - STMicroelectronics PM0237 Datasheet HTML 79Page - STMicroelectronics PM0237 Datasheet HTML 80Page - STMicroelectronics PM0237 Datasheet HTML 81Page - STMicroelectronics PM0237 Datasheet HTML 82Page - STMicroelectronics PM0237 Datasheet HTML 83Page - STMicroelectronics PM0237 Datasheet HTML 84Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 80 / 88 page
background image
Design an application using BlueNRG, BlueNRG-MS ACI APIs
PM0237
80/88
DocID027104 Rev 2
evt_gatt_attr_notification *evt = (evt_gatt_attr_notification*)blue_evt-
>data;
/*
evt_gatt_attr_notification data:
evt->conn_handle: connection handle;
evt->event_data_length: length of attribute value + handle (2 bytes);
evt->attr_handle: handle of the notified characteristic;
evt->attr_value[]: characteristic value.
Add user code for handling the received notification based on the
application scenario.
*/
........
}
break;
}/* switch(blue_evt->ecode)*/
}/* switch(evt->subevent)*/
}/* end HCI_Event_CB() */
3.8
Basic/typical error conditions description
On BlueNRG, BlueNRG-MS ACI framework, the tBleStatus type is defined in order to
return the BlueNRG, BlueNRG-MS stack error conditions. The status and error codes are
defined within the header file “ble_status.h”.
When a stack API is called, it is recommended to get the API return status and to monitor it
in order to track potential error conditions.
BLE_STATUS_SUCCESS (0x00) is returned when the API is successfully executed. For a
detailed list of error conditions associated to each ACI API refer to the UM1755 and
UM1865 user manuals, on Section 4: References.
3.9
BlueNRG-MS simultaneously Master, Slave scenario
BlueNRG-MS device stack supports multiple roles simultaneously. This allows the same
device to act as Master on one or more connections (up to eight connections are supported
on Stack Mode 3), and to act as a Slave on another connection.
The following pseudo code describes how a BlueNRG-MS device can be initialized for
supporting Central and Peripheral roles simultaneously:
uint8_t role = GAP_PERIPHERAL_ROLE | GAP_CENTRAL_ROLE;
ret = aci_gap_init(role, 0, 0x07, &service_handle,
&dev_name_char_handle, &appearance_char_handle);
A simultaneous Master and Slave test scenario can be easily targeted as follows:



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


Scheda tecnica Scarica

Go To PDF Page


Link URL



Lei ha avuto il aiuto da alldatasheet?  [ DONATE ] 

Di alldatasheet   |   Richest di pubblicita   |   contatti   |   Privacy Policy   |   Collegamento alla scheda tecnica    |   scambio Link   |   Ricerca produttore
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