| công cụ tìm kiếm bảng dữ liệu linh kiện điện tử |
|
PM0237 bảng dữ liệu(PDF) 83 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
PM0237 bảng dữ liệu(HTML) 83 Page - STMicroelectronics |
|
83 / 88 page ![]() DocID027104 Rev 2 83/88 PM0237 Design an application using BlueNRG, BlueNRG-MS ACI APIs 88 Slave_Conn_Interval_Max = 0x0008) Since Master&Slave device is also acting as a Central device, it receives the EVT_BLUE_GATT_NOTIFICATION event related to the characteristics values notified from, respectively, Slave_A and Slave_B devices. 9. Once Master&Slave device enters in discovery mode, it also waits for connection request coming from the other BlueNRG-MS device (called Master) configured as GAP Central. Master device starts discovery procedure for discovering the Master&Slave device: ret = aci_gap_start_gen_disc_proc (LE_Scan_Interval=0x10, LE_Scan_Window=0x10) Master&Slave device is discovered thorugh the EVT_LE_ADVERTISING_REPORT event. 10. Once the Master&Slave device is discovered, Master device starts a connection procedure for connecting to it : /* Master device connects to Master&Slave device: Master&Slave 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= ”Master&Slave address type” Peer_Address= ”Master&Slave address” Conn_Interval_Min=0x6c, Conn_Interval_Max=0x6c, Conn_Latency=0x00, Supervision_Timeout=0xc80, Minimum_CE_Length=0x000c, Maximum_CE_Length=0x000c) 11. Once connected, Master device enables the characteristic notification on Master&Slave device using the aci_gatt_write_charac_descriptor() API. 12. At this stage, Master&Slave device receives the characteristics notifications from both Slave_A, Slave_B devices , since it is a GAP Central and, as GAP Peripheral, it is also able to notify these characteristics values to the Master device. Note: A set of test scripts allowing to exercise the described BlueNRG-MS simultaneously Master, Slave scenario are provided within the BlueNRG DK SW package (see Reference Section). These scripts can be run using the BlueNRG GUI and they can be taken as reference for implementing a firmware application using the BlueNRG-MS simultaneously master and slave feature. |
|
Link URL |
| Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không? [ DONATE ] |
Alldatasheet là | Quảng cáo | Liên lạc với chúng tôi | Chính sách bảo mật | Liên kết đến bảng dữ liệu | Trao đổi link | Tìm kiếm theo nhà sản xuất 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 |