Zephyr Project API 4.1.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
hci_raw.h
Go to the documentation of this file.
1
5/*
6 * Copyright (c) 2016 Intel Corporation
7 *
8 * SPDX-License-Identifier: Apache-2.0
9 */
10#ifndef ZEPHYR_INCLUDE_BLUETOOTH_HCI_RAW_H_
11#define ZEPHYR_INCLUDE_BLUETOOTH_HCI_RAW_H_
12
20#include <stdint.h>
21#include <stddef.h>
22
23#include <zephyr/kernel.h>
24#include <zephyr/net_buf.h>
25
26#ifdef __cplusplus
27extern "C" {
28#endif
29
39int bt_send(struct net_buf *buf);
40
51int bt_enable_raw(struct k_fifo *rx_queue);
52
53#ifdef __cplusplus
54}
55#endif
60#endif /* ZEPHYR_INCLUDE_BLUETOOTH_HCI_RAW_H_ */
int bt_send(struct net_buf *buf)
Send packet to the Bluetooth controller.
int bt_enable_raw(struct k_fifo *rx_queue)
Enable Bluetooth RAW channel:
Public kernel APIs.
Buffer management.
Definition kernel.h:2540
Network buffer representation.
Definition net_buf.h:1006