| поискавой системы для электроныых деталей |
|
PM0237 датащи(PDF) 81 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
PM0237 датащи(HTML) 81 Page - STMicroelectronics |
|
81 / 88 page ![]() DocID027104 Rev 2 81/88 PM0237 Design an application using BlueNRG, BlueNRG-MS ACI APIs 88 Figure 10. BlueNRG-MS simultaneous Master & Slave scenario 1. One BlueNRG-MS device (called Master&Slave) is configured as Central & Peripheral by setting role as GAP_PERIPHERAL_ROLE | GAP_CENTRAL_ROLE on GAP_Init() API. Further it is configured with stack mode 3 for being able to connect to more than one Peripheral device. Let’s also assume that this device define a service with a characteristic. 2. Two BlueNRG-MS devices (called Slave_A, Slave_B) are configured as Peripheral by setting role as GAP_PERIPHERAL_ROLE on GAP_Init() API. Both Slave_A and Slave_B define the same service and characteristic as Master&Slave device. 3. One BlueNRG-MS device (called Master) is configured as Central by setting role as GAP_CENTRAL_ROLE on GAP_Init() API. 4. Both Slave_A and Slave_B devices enter in discovery mode as follows: 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, Slave_Conn_Interval_Max = 0x0008) 5. Master&Slave device performs a discovery procedure in order to discover the peripheral devices Slave_A and Slave_B: ret = aci_gap_start_gen_disc_proc (LE_Scan_Interval=0x10, LE_Scan_Window=0x10) |
|
ссылки URL |
| Вашему бизинису помогли Аллдатащит? [ DONATE ] |
Что такое Аллдатащит | реклама | контакт | Конфиденциальность | Ссылка на техническое описание | обмен ссыками | поиск по производителю 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 |