| Zakładka z wyszukiwarką danych komponentów |
|
PM0237 Arkusz danych(PDF) 50 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
PM0237 Arkusz danych(HTML) 50 Page - STMicroelectronics |
|
50 / 88 page ![]() Design an application using BlueNRG, BlueNRG-MS ACI APIs PM0237 50/88 DocID027104 Rev 2 switch(event_pckt->evt){ case EVT_DISCONN_COMPLETE: /* BlueNRG disconnection event */ { /* Add user code for handling BLE disconnect event based on application scenarios */ ......... } break; case EVT_LE_META_EVENT: { /* Get the meta event data */ evt_le_meta_event *evt = (void *)event_pckt->data; /* Analyze the specific sub event */ switch(evt->subevent){ case EVT_LE_CONN_COMPLETE:/* BlueNRG connection event */ { /* connection complete event: get the related data */ evt_le_connection_complete *cc = (void *)evt->data; /* Connection parameters: cc->status: connection status (0x00: Connection successfully completed); cc->handle: connection handle to be used for the communication during the connection; cc->role: BLE device role (0x01: master; 0x02: slave); cc->peer_bdaddr_type: connected device address type (0x00: public; 0x01: random); cc->peer_bdaddr: connected device address; cc->interval: connection interval; cc->latency: connection latency; cc->supervision_timeout: connection supervision timeout; cc->master_clock_accuracy: master clock accuracy; */ /* Add user code for handling connection event based on application scenarios */ conn_handle = cc->handle; ..... } /* EVT_LE_CONN_COMPLETE */ break; } /* switch(evt->subevent) */ } /* EVT_LE_META_EVENT */ break; case EVT_VENDOR: { /* Get the vendor event data */ evt_blue_aci *blue_evt = (void*)event_pckt->data; |
|
Link URL |
| Czy Alldatasheet okazała się pomocna? [ DONATE ] |
O Alldatasheet | Reklama | Kontakt | Polityka prywatności | Link do karty katalogowej | Linki | Lista producentów 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 |