поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

PM0237 датащи(PDF) 80 Page - STMicroelectronics

номер детали PM0237
подробное описание детали  The main purpose of this document is to provide a developer
PDF  88 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  STMICROELECTRONICS [STMicroelectronics]
домашняя страница  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

PM0237 датащи(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


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
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