NimBLE-Arduino 2.1.2
Loading...
Searching...
No Matches
ble_ll_scan_aux.h
1/*
2 * Licensed to the Apache Software Foundation (ASF) under one
3 * or more contributor license agreements. See the NOTICE file
4 * distributed with this work for additional information
5 * regarding copyright ownership. The ASF licenses this file
6 * to you under the Apache License, Version 2.0 (the
7 * "License"); you may not use this file except in compliance
8 * with the License. You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing,
13 * software distributed under the License is distributed on an
14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15 * KIND, either express or implied. See the License for the
16 * specific language governing permissions and limitations
17 * under the License.
18 */
19
20#ifndef H_BLE_LL_SCAN_AUX_
21#define H_BLE_LL_SCAN_AUX_
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
27#if MYNEWT_VAL(BLE_LL_CFG_FEAT_LL_EXT_ADV)
28
29struct ble_ll_scan_aux_data;
30
31void ble_ll_scan_aux_init(void);
32int ble_ll_scan_aux_sched(struct ble_ll_scan_aux_data *aux, uint32_t pdu_time,
33 uint8_t pdu_time_rem, uint32_t aux_ptr);
34int ble_ll_scan_aux_rx_isr_start(uint8_t pdu_type, struct ble_mbuf_hdr *rxhdr);
35int ble_ll_scan_aux_rx_isr_end(struct os_mbuf *rxpdu, uint8_t crcok);
36void ble_ll_scan_aux_rx_pkt_in(struct os_mbuf *rxpdu, struct ble_mbuf_hdr *rxhdr);
37
38void ble_ll_scan_aux_break(struct ble_ll_scan_aux_data *aux);
39void ble_ll_scan_aux_wfr_timer_exp(void);
40void ble_ll_scan_aux_halt(void);
41void ble_ll_scan_aux_sched_remove(struct ble_ll_sched_item *sch);
42
43int ble_ll_scan_aux_rx_isr_end_on_ext(struct ble_ll_scan_sm *scansm,
44 struct os_mbuf *rxpdu);
45void ble_ll_scan_aux_pkt_in_on_ext(struct os_mbuf *rxpdu,
46 struct ble_mbuf_hdr *rxhdr);
47
48#endif
49
50#ifdef __cplusplus
51}
52#endif
53
54#endif /* H_BLE_LL_SCAN_AUX_ */
Definition os_mbuf.h:86