Mistake on this page?
Report an issue in GitHub or email us
IPCPipeTransportDriver.h
1 /*
2  * mbed Microcontroller Library
3  * Copyright (c) 2017-2017 ARM Limited
4  * Copyright (c) 2017-2018 Future Electronics
5  * SPDX-License-Identifier: Apache-2.0
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  */
19 
20 #ifndef PSOC6_IPCPIPE_TRANSPORT_DRIVER_H_
21 #define PSOC6_IPCPIPE_TRANSPORT_DRIVER_H_
22 
23 #include <stdint.h>
24 #include "mbed.h"
25 #include "ble/driver/CordioHCITransportDriver.h"
26 
27 
28 namespace ble {
29 namespace vendor {
30 namespace cypress {
31 
32 using namespace ble::vendor;
33 
34 /**
35  * Implementation of the H4 driver over PSoC6 IPC pipe.
36  */
38 public:
39  /**
40  * Initialize the transport driver.
41  *
42  */
44 
45  /**
46  * Destructor
47  */
49 
50  /**
51  * @see CordioHCITransportDriver::initialize
52  */
53  virtual void initialize();
54 
55  /**
56  * @see CordioHCITransportDriver::terminate
57  */
58  virtual void terminate();
59 
60  /**
61  * @see CordioHCITransportDriver::write
62  */
63  virtual uint16_t write(uint8_t type, uint16_t len, uint8_t *pData);
64 
65 private:
66 
67 };
68 
69 } // namespace cypress
70 } // namespace vendor
71 } // namespace ble
72 
73 #endif /* PSOC6_IPCPIPE_TRANSPORT_DRIVER_H_ */
Implementation of the H4 driver over PSoC6 IPC pipe.
Base class of the HCI transport driver.
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.