| 数据搜索系统,热门电子元器件搜索 |
|
PM0237 数据表(PDF) 49 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
PM0237 数据表(HTML) 49 Page - STMicroelectronics |
|
49 / 88 page ![]() DocID027104 Rev 2 49/88 PM0237 Design an application using BlueNRG, BlueNRG-MS ACI APIs 88 For a detailed description about the BLE events, and related formats refer to the user manual UM1755 and on Table 34: ACI: GAP modes APIs in the current document. The following pseudocode provides an example of HCI_Event_CB() callback handling some of the described device events (EVT_DISCONN_COMPLETE, EVT_LE_CONN_COMPLETE, EVT_BLUE_GATT_ATTRIBUTE_MODIFIED, EVT_BLUE_GATT_NOTIFICATION ): void HCI_Event_CB(void *pckt) { hci_uart_pckt *hci_pckt = pckt; hci_event_pckt *event_pckt = (hci_event_pckt*)hci_pckt->data; if(hci_pckt->type != HCI_EVENT_PKT return; EVT_BLUE_GAP_BOND_LOST Event generated when a pairing request is issued, in response to a slave security request from a master which has previously bonded with the slave. When this event is received, the upper layer has to issue the command aci_gap_allow_rebond() to allow the slave to continue the pairing process with the master EVT_VENDOR GAP peripheral EVT_BLUE_ATT_READ_BY_GROUP_RESP The Read-by-group type response is sent in reply to a received Read-by-group type request and contains the handles and values of the attributes that have been read EVT_VENDOR GATT client EVT_BLUE_ATT_READ_BY_TYPE_RESP The Read-by-type response is sent in reply to a received Read By Type Request and contains the handles and values of the attributes that have been read. EVT_VENDOR GATT client EVT_BLUE_GAP_DEVICE_FOUND (only for BlueNRG device) Event given by the GAP layer to the upper layers when a device is discovered during scanning as a consequence of one of the GAP procedures started by the upper layers. EVT_VENDOR GAP central EVT_BLUE_GATT_PROCEDURE_COMPLETE A GATT procedure has been completed EVT_VENDOR GATT client EVT_LE_ADVERTISING_REPORT (only for BlueNRG-MS device) Event given by the GAP layer to the upper layers when a device is discovered during scanning as a consequence of one of the GAP procedures started by the upper layers. EVT_LE_META_ EVENT GAP central Table 33. ACI: main events, sub-events (continued) Event/sub-event Description Main event Where |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |