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

X  

PM0237 датащи(PDF) 82 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) 82 Page - STMicroelectronics

Back Button 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 PM0237 Datasheet HTML 85Page - STMicroelectronics PM0237 Datasheet HTML 86Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 82 / 88 page
background image
Design an application using BlueNRG, BlueNRG-MS ACI APIs
PM0237
82/88
DocID027104 Rev 2
The two devices are discovered thorugh the EVT_LE_ADVERTISING_REPORT events.
6.
Once the two devices are discovered, Master&Slave device starts two connections
procedures (as Central) for connecting, respectively, to Slave_A and Slave_B devices:
/* Connect to Slave_A: Slave_A addreess type and address have been found
during the discovery procedure within the EVT_LE_ADVERTISING_REPORT event
*/
ret= aci_gap_create_connection(LE_Scan_Interval=0x0010,
LE_Scan_Window=0x0010,
Peer_Address_Type= ”Slave_A address type”,
Peer_Address= ”Slave_A address”,
Conn_Interval_Min=0x6c,
Conn_Interval_Max=0x6c,
Conn_Latency=0x00,
Supervision_Timeout=0xc80,
Minimum_CE_Length=0x000c,
Maximum_CE_Length=0x000c)
/* Connect to Slave_B: Slave_B addreess type and address have been found
during the discovery procedure within the EVT_LE_ADVERTISING_REPORT event
*/
ret= aci_gap_create_connection(LE_Scan_Interval=0x0010,
LE_Scan_Window=0x0010,
Peer_Address_Type= ”Slave_B address type”,
Peer_Address= ”Slave_B address”,
Conn_Interval_Min=0x6c,
Conn_Interval_Max=0x6c,
Conn_Latency=0x00,
Supervision_Timeout=0xc80,
Minimum_CE_Length=0x000c,
Maximum_CE_Length=0x000c)
7.
Once connected, Master&Slave device enables the characteristics notification, on
both of them, using the aci_gatt_write_charac_descriptor() API. Slave_A
and Slave_B devices start the characterisitic notification by using the
aci_gatt_upd_char_val()
API.
8.
At this stage, Master&Slave device enters in discovery mode (acting as Peripheral):
/* Put Master&Slave device in Discoverable Mode with Name = 'Test' =
[0x08,0x74,0x65,0x73,0x74*/
ret = aci_gap_set_discoverable(Advertising_Type= 0x00,
Advertising_Interval_Min=0x20,
Advertising_Interval_Max=0x100,
Local_Name_Length=0x05,
Local_Name=[0x08,0x74,0x65,0x73,0x74],
Slave_Conn_Interval_Min = 0x0006,



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