Mbed OS Reference
Loading...
Searching...
No Matches
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
28namespace ble {
29namespace vendor {
30namespace cypress {
31
32using namespace ble::vendor;
33
34/**
35 * Implementation of the H4 driver over PSoC6 IPC pipe.
36 */
38public:
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
65private:
66
67};
68
69} // namespace cypress
70} // namespace vendor
71} // namespace ble
72
73#endif /* PSOC6_IPCPIPE_TRANSPORT_DRIVER_H_ */
Base class of the HCI transport driver.
Implementation of the H4 driver over PSoC6 IPC pipe.
virtual uint16_t write(uint8_t type, uint16_t len, uint8_t *pData)
IPCPipeTransportDriver()
Initialize the transport driver.
Entry namespace for all BLE API definitions.