Mistake on this page?
Report an issue in GitHub or email us
AP3CordioHCIDriver.h
1 /*
2  * Copyright (c) 2020 SparkFun Electronics
3  * SPDX-License-Identifier: MIT
4  *
5  * Permission is hereby granted, free of charge, to any person obtaining a copy
6  * of this software and associated documentation files (the "Software"), to deal
7  * in the Software without restriction, including without limitation the rights
8  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9  * copies of the Software, and to permit persons to whom the Software is
10  * furnished to do so, subject to the following conditions:
11  *
12  * The above copyright notice and this permission notice shall be included in
13  * all copies or substantial portions of the Software.
14  *
15  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21  * SOFTWARE.
22  */
23 
24 #ifndef APOLLO3_CORDIO_HCI_DRIVER_H_
25 #define APOLLO3_CORDIO_HCI_DRIVER_H_
26 
27 #include "CordioHCIDriver.h"
28 #include "am_mcu_apollo.h"
29 
30 namespace ble
31 {
33  {
34  public:
36  CordioHCITransportDriver &transport_driver
37  /* specific constructor arguments*/);
38 
39  virtual ~AP3CordioHCIDriver();
40 
41  virtual void do_initialize();
42 
43  virtual void do_terminate();
44 
46 
47  private:
48  void **_ptr_to_handle;
49  am_hal_ble_config_t _ble_config;
50  };
51 } // namespace ble
52 
53 #endif /* APOLLO3_CORDIO_HCI_TRANSPORT_DRIVER_H_ */
Contain description of the memory pool used by the Cordio stack.
virtual ble::buf_pool_desc_t get_buffer_pool_description()
Return the set of memory pool which will be used by the Cordio stack.
virtual void do_terminate()
Terminate the driver.
virtual void do_initialize()
Initialize the chip.
Base class of the HCI transport driver.
Base class of the HCI driver use by the BLE port of the Cordio stack.
Entry namespace for all BLE API definitions.
Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.