mirror of
https://github.com/apache/nuttx.git
synced 2026-05-22 22:20:01 +08:00
include/nuttx/wireless/bluetooth: Move Bluetooth header files from include/nuttx/wireless to include/nuttx/wireless/bluetooth for symmetry with other wireless technologies.
This commit is contained in:
@@ -51,7 +51,7 @@
|
||||
#include <nuttx/irq.h>
|
||||
#include <nuttx/arch.h>
|
||||
#include <nuttx/semaphore.h>
|
||||
#include <nuttx/wireless/bt_uart.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_uart.h>
|
||||
#include <nuttx/power/pm.h>
|
||||
|
||||
#include "up_arch.h"
|
||||
|
||||
@@ -284,7 +284,7 @@ static ssize_t tiva_write(FAR struct mtd_dev_s *dev, off_t offset, size_t nbytes
|
||||
TIVA_FLASH_FCMISC);
|
||||
|
||||
/* Adjust the offset to the start of the partition.
|
||||
* REVISIT: If we really wanted to gracefully handler unaligned addresses,
|
||||
* REVISIT: If we really wanted to gracefully handle unaligned addresses,
|
||||
* offsets, and sizes we would have to do a little more than this.
|
||||
*/
|
||||
|
||||
|
||||
@@ -52,8 +52,8 @@
|
||||
#include <nuttx/video/fb.h>
|
||||
#include <nuttx/timers/oneshot.h>
|
||||
#include <nuttx/wireless/pktradio.h>
|
||||
#include <nuttx/wireless/bt_driver.h>
|
||||
#include <nuttx/wireless/bt_null.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_driver.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_null.h>
|
||||
#include <nuttx/wireless/ieee802154/ieee802154_loopback.h>
|
||||
|
||||
#include "up_internal.h"
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
#include <debug.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include <nuttx/wireless/bt_uart.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_uart.h>
|
||||
|
||||
#include "stm32_hciuart.h"
|
||||
#include "stm32f4discovery.h"
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
* Included Files
|
||||
****************************************************************************/
|
||||
|
||||
#include <nuttx/wireless/bt_driver.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_driver.h>
|
||||
|
||||
#include <string.h>
|
||||
#include <assert.h>
|
||||
@@ -46,8 +46,8 @@
|
||||
|
||||
#include <nuttx/mm/iob.h>
|
||||
#include <nuttx/net/bluetooth.h>
|
||||
#include <nuttx/wireless/bt_hci.h>
|
||||
#include <nuttx/wireless/bt_null.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_hci.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_null.h>
|
||||
|
||||
/****************************************************************************
|
||||
* Private Function Prototypes
|
||||
|
||||
@@ -50,10 +50,10 @@
|
||||
#include <errno.h>
|
||||
#include <debug.h>
|
||||
|
||||
#include <nuttx/wireless/bt_core.h>
|
||||
#include <nuttx/wireless/bt_hci.h>
|
||||
#include <nuttx/wireless/bt_driver.h>
|
||||
#include <nuttx/wireless/bt_uart.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_core.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_hci.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_driver.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_uart.h>
|
||||
|
||||
#include "bt_uart.h"
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <nuttx/wqueue.h>
|
||||
#include <nuttx/wireless/bt_driver.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_driver.h>
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
|
||||
@@ -44,15 +44,15 @@
|
||||
#include <debug.h>
|
||||
|
||||
#include <nuttx/kmalloc.h>
|
||||
#include <nuttx/wireless/bt_uart.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_uart.h>
|
||||
|
||||
#if 0
|
||||
#include <stddef.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include <nuttx/wireless/bt_core.h>
|
||||
#include <nuttx/wireless/bt_hci.h>
|
||||
#include <nuttx/wireless/bt_driver.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_core.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_hci.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_driver.h>
|
||||
#endif
|
||||
|
||||
#include "bt_uart.h"
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
#include <sys/types.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include <nuttx/wireless/bt_hci.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_hci.h>
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
@@ -265,7 +265,7 @@
|
||||
* Public Type Definitions
|
||||
****************************************************************************/
|
||||
|
||||
/* See include/nuttx/wireless/bt_hci.h for address definitions. In
|
||||
/* See include/nuttx/wireless/bluetooth/bt_hci.h for address definitions. In
|
||||
* particular, type bt_addr_t
|
||||
*/
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
* Public Function Prototypes
|
||||
****************************************************************************/
|
||||
|
||||
#include <nuttx/wireless/bt_hci.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_hci.h>
|
||||
|
||||
/****************************************************************************
|
||||
* Public Function Prototypes
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/****************************************************************************
|
||||
* include/nuttx/wireless/bt_buf.h
|
||||
* include/nuttx/wireless/bluetooth/bt_buf.h
|
||||
* Bluetooth buffer management.
|
||||
*
|
||||
* Copyright (C) 2018 Gregory Nutt. All rights reserved.
|
||||
@@ -39,8 +39,8 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __INCLUDE_NUTTX_WIRELESS_BT_BUF_H
|
||||
#define __INCLUDE_NUTTX_WIRELESS_BT_BUF_H 1
|
||||
#ifndef __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_BUF_H
|
||||
#define __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_BUF_H 1
|
||||
|
||||
/****************************************************************************
|
||||
* Included Files
|
||||
@@ -321,4 +321,4 @@ size_t bt_buf_headroom(FAR struct bt_buf_s *buf);
|
||||
|
||||
#define bt_buf_tail(buf) ((buf)->data + (buf)->len)
|
||||
|
||||
#endif /* __INCLUDE_NUTTX_WIRELESS_BT_BUF_H */
|
||||
#endif /* __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_BUF_H */
|
||||
@@ -39,8 +39,8 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __INCLUDE_NUTTX_WIRELESS_BT_CORE_H
|
||||
#define __INCLUDE_NUTTX_WIRELESS_BT_CORE_H 1
|
||||
#ifndef __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_CORE_H
|
||||
#define __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_CORE_H 1
|
||||
|
||||
/****************************************************************************
|
||||
* Included Files
|
||||
@@ -49,8 +49,8 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <nuttx/wireless/bt_buf.h>
|
||||
#include <nuttx/wireless/bt_hci.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_buf.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_hci.h>
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
@@ -223,4 +223,4 @@ static inline int bt_addr_le_to_str(FAR const bt_addr_le_t *addr, char *str,
|
||||
* Public Function Prototypes
|
||||
****************************************************************************/
|
||||
|
||||
#endif /* __INCLUDE_NUTTX_WIRELESS_BT_CORE_H */
|
||||
#endif /* __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_CORE_H */
|
||||
@@ -39,14 +39,14 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __INCLUDE_NUTTX_WIRELESS_BT_DRIVER_H
|
||||
#define __INCLUDE_NUTTX_WIRELESS_BT_DRIVER_H 1
|
||||
#ifndef __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_DRIVER_H
|
||||
#define __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_DRIVER_H 1
|
||||
|
||||
/****************************************************************************
|
||||
* Included Files
|
||||
****************************************************************************/
|
||||
|
||||
#include <nuttx/wireless/bt_buf.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_buf.h>
|
||||
|
||||
/****************************************************************************
|
||||
* Public Types
|
||||
@@ -96,7 +96,7 @@ int bt_netdev_register(FAR const struct bt_driver_s *btdev);
|
||||
* Description:
|
||||
* Called by the Bluetooth low-level driver when new data is received from
|
||||
* the radio. This may be called from the low-level driver and is part of
|
||||
* the driver interface prototyped in include/nuttx/wireless/bt_driver.h
|
||||
* the driver interface prototyped in include/nuttx/wireless/bluetooth/bt_driver.h
|
||||
*
|
||||
* Input Parameters:
|
||||
* buf - An instance of the buffer structure providing the received frame.
|
||||
@@ -108,4 +108,4 @@ int bt_netdev_register(FAR const struct bt_driver_s *btdev);
|
||||
|
||||
void bt_hci_receive(FAR struct bt_buf_s *buf);
|
||||
|
||||
#endif /* __INCLUDE_NUTTX_WIRELESS_BT_DRIVER_H */
|
||||
#endif /* __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_DRIVER_H */
|
||||
@@ -39,14 +39,14 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __INCLUDE_NUTTX_WIRELESS_BT_GATT_H
|
||||
#define __INCLUDE_NUTTX_WIRELESS_BT_GATT_H 1
|
||||
#ifndef __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_GATT_H
|
||||
#define __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_GATT_H 1
|
||||
|
||||
/****************************************************************************
|
||||
* Included Files
|
||||
****************************************************************************/
|
||||
|
||||
#include <nuttx/wireless/bt_uuid.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_uuid.h>
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
@@ -1044,4 +1044,4 @@ int bt_gatt_read_multiple(FAR struct bt_conn_s *conn,
|
||||
FAR const uint16_t *handles, size_t count,
|
||||
bt_gatt_read_func_t func);
|
||||
|
||||
#endif /* __INCLUDE_NUTTX_WIRELESS_BT_GATT_H */
|
||||
#endif /* __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_GATT_H */
|
||||
@@ -39,8 +39,8 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __INCLUDE_NUTTX_WIRELESS_BT_HCI_H
|
||||
#define __INCLUDE_NUTTX_WIRELESS_BT_HCI_H 1
|
||||
#ifndef __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_HCI_H
|
||||
#define __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_HCI_H 1
|
||||
|
||||
/****************************************************************************
|
||||
* Included Files
|
||||
@@ -465,4 +465,4 @@ begin_packed_struct struct bt_hci_evt_le_ltk_request_s
|
||||
uint16_t ediv;
|
||||
} end_packed_struct;
|
||||
|
||||
#endif /* __INCLUDE_NUTTX_WIRELESS_BT_HCI_H */
|
||||
#endif /* __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_HCI_H */
|
||||
@@ -39,8 +39,8 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __INCLUDE_NUTTX_WIRELESS_BT_IOCTL_H
|
||||
#define __INCLUDE_NUTTX_WIRELESS_BT_IOCTL_H 1
|
||||
#ifndef __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_IOCTL_H
|
||||
#define __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_IOCTL_H 1
|
||||
|
||||
/****************************************************************************
|
||||
* Included Files
|
||||
@@ -49,9 +49,9 @@
|
||||
#include <net/if.h>
|
||||
|
||||
#include <nuttx/wireless/wireless.h>
|
||||
#include <nuttx/wireless/bt_core.h>
|
||||
#include <nuttx/wireless/bt_hci.h>
|
||||
#include <nuttx/wireless/bt_gatt.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_core.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_hci.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_gatt.h>
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
@@ -503,4 +503,4 @@ struct btreq_s
|
||||
* Public Function Prototypes
|
||||
****************************************************************************/
|
||||
|
||||
#endif /* __INCLUDE_NUTTX_WIRELESS_BT_IOCTL_H */
|
||||
#endif /* __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_IOCTL_H */
|
||||
@@ -33,8 +33,8 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __INCLUDE_NUTTX_WIRELESS_BT_NULL_H
|
||||
#define __INCLUDE_NUTTX_WIRELESS_BT_NULL_H 1
|
||||
#ifndef __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_NULL_H
|
||||
#define __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_NULL_H 1
|
||||
|
||||
/****************************************************************************
|
||||
* Public Function Prototypes
|
||||
@@ -57,4 +57,4 @@
|
||||
|
||||
int btnull_register(void);
|
||||
|
||||
#endif /* __INCLUDE_NUTTX_WIRELESS_BT_NULL_H */
|
||||
#endif /* __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_NULL_H */
|
||||
@@ -39,8 +39,8 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __INCLUDE_NUTTX_WIRELESS_BT_UART_H
|
||||
#define __INCLUDE_NUTTX_WIRELESS_BT_UART_H 1
|
||||
#ifndef __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_UART_H
|
||||
#define __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_UART_H 1
|
||||
|
||||
/****************************************************************************
|
||||
* Included Files
|
||||
@@ -155,4 +155,4 @@ struct btuart_lowerhalf_s
|
||||
|
||||
int btuart_register(FAR const struct btuart_lowerhalf_s *lower);
|
||||
|
||||
#endif /* __INCLUDE_NUTTX_WIRELESS_BT_UART_H */
|
||||
#endif /* __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_UART_H */
|
||||
@@ -39,8 +39,8 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef __INCLUDE_NUTTX_WIRELESS_BT_UUID_H
|
||||
#define __INCLUDE_NUTTX_WIRELESS_BT_UUID_H 1
|
||||
#ifndef __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_UUID_H
|
||||
#define __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_UUID_H 1
|
||||
|
||||
/****************************************************************************
|
||||
* Included Files
|
||||
@@ -217,4 +217,4 @@ struct bt_uuid_s
|
||||
int bt_uuid_cmp(FAR const struct bt_uuid_s *u1,
|
||||
FAR const struct bt_uuid_s *u2);
|
||||
|
||||
#endif /* __INCLUDE_NUTTX_WIRELESS_BT_UUID_H */
|
||||
#endif /* __INCLUDE_NUTTX_WIRELESS_BLUETOOTH_BT_UUID_H */
|
||||
@@ -45,7 +45,7 @@
|
||||
#include <sys/types.h>
|
||||
#include <queue.h>
|
||||
|
||||
#include <nuttx/wireless/bt_hci.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_hci.h>
|
||||
|
||||
#ifdef CONFIG_NET_BLUETOOTH
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
#include <nuttx/net/net.h>
|
||||
#include <nuttx/net/radiodev.h>
|
||||
#include <nuttx/net/bluetooth.h>
|
||||
#include <nuttx/wireless/bt_hci.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_hci.h>
|
||||
|
||||
#include "netdev/netdev.h"
|
||||
#include "bluetooth/bluetooth.h"
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
#include <nuttx/mm/iob.h>
|
||||
#include <nuttx/net/radiodev.h>
|
||||
#include <nuttx/net/bluetooth.h>
|
||||
#include <nuttx/wireless/bt_hci.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_hci.h>
|
||||
|
||||
#include "devif/devif.h"
|
||||
#include "bluetooth/bluetooth.h"
|
||||
|
||||
@@ -56,7 +56,7 @@
|
||||
#include <nuttx/net/net.h>
|
||||
#include <nuttx/net/radiodev.h>
|
||||
#include <nuttx/net/bluetooth.h>
|
||||
#include <nuttx/wireless/bt_hci.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_hci.h>
|
||||
|
||||
#include "netdev/netdev.h"
|
||||
#include "devif/devif.h"
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
#include <nuttx/net/bluetooth.h>
|
||||
#include <nuttx/net/net.h>
|
||||
#include <nuttx/net/ip.h>
|
||||
#include <nuttx/wireless/bt_hci.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_hci.h>
|
||||
|
||||
#include "netdev/netdev.h"
|
||||
#include "devif/devif.h"
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
#include <nuttx/net/net.h>
|
||||
#include <nuttx/net/radiodev.h>
|
||||
#include <nuttx/net/bluetooth.h>
|
||||
#include <nuttx/wireless/bt_hci.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_hci.h>
|
||||
|
||||
#include "bluetooth/bluetooth.h"
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_WIRELESS_BLUETOOTH
|
||||
# include <nuttx/wireless/bt_ioctl.h>
|
||||
# include <nuttx/wireless/bluetooth/bt_ioctl.h>
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_WIRELESS_IEEE802154
|
||||
|
||||
@@ -51,10 +51,10 @@
|
||||
#include <debug.h>
|
||||
|
||||
#include <nuttx/net/bluetooth.h>
|
||||
#include <nuttx/wireless/bt_hci.h>
|
||||
#include <nuttx/wireless/bt_core.h>
|
||||
#include <nuttx/wireless/bt_uuid.h>
|
||||
#include <nuttx/wireless/bt_gatt.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_hci.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_core.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_uuid.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_gatt.h>
|
||||
|
||||
#include "bt_hcicore.h"
|
||||
#include "bt_conn.h"
|
||||
|
||||
@@ -54,9 +54,9 @@
|
||||
#include <nuttx/kmalloc.h>
|
||||
#include <nuttx/mm/iob.h>
|
||||
#include <nuttx/net/bluetooth.h>
|
||||
#include <nuttx/wireless/bt_hci.h>
|
||||
#include <nuttx/wireless/bt_core.h>
|
||||
#include <nuttx/wireless/bt_buf.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_hci.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_core.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_buf.h>
|
||||
|
||||
#include "bt_hcicore.h"
|
||||
|
||||
|
||||
@@ -54,8 +54,8 @@
|
||||
|
||||
#include <nuttx/kthread.h>
|
||||
#include <nuttx/mm/iob.h>
|
||||
#include <nuttx/wireless/bt_hci.h>
|
||||
#include <nuttx/wireless/bt_core.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_hci.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_core.h>
|
||||
|
||||
#include "bt_atomic.h"
|
||||
#include "bt_queue.h"
|
||||
|
||||
@@ -50,11 +50,11 @@
|
||||
#include <errno.h>
|
||||
#include <debug.h>
|
||||
|
||||
#include <nuttx/wireless/bt_hci.h>
|
||||
#include <nuttx/wireless/bt_core.h>
|
||||
#include <nuttx/wireless/bt_buf.h>
|
||||
#include <nuttx/wireless/bt_uuid.h>
|
||||
#include <nuttx/wireless/bt_gatt.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_hci.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_core.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_buf.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_uuid.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_gatt.h>
|
||||
|
||||
#include "bt_hcicore.h"
|
||||
#include "bt_conn.h"
|
||||
|
||||
@@ -59,8 +59,8 @@
|
||||
#include <nuttx/semaphore.h>
|
||||
#include <nuttx/wqueue.h>
|
||||
#include <nuttx/net/bluetooth.h>
|
||||
#include <nuttx/wireless/bt_core.h>
|
||||
#include <nuttx/wireless/bt_hci.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_core.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_hci.h>
|
||||
|
||||
#include "bt_queue.h"
|
||||
#include "bt_buf.h"
|
||||
@@ -1407,7 +1407,7 @@ int bt_initialize(void)
|
||||
* Description:
|
||||
* Register the Bluetooth low-level driver with the Bluetooth stack.
|
||||
* This is called from the low-level driver and is part of the driver
|
||||
* interface prototyped in include/nuttx/wireless/bt_driver.h
|
||||
* interface prototyped in include/nuttx/wireless/bluetooth/bt_driver.h
|
||||
*
|
||||
* This function associates the Bluetooth driver with the Bluetooth stack.
|
||||
*
|
||||
@@ -1441,7 +1441,7 @@ int bt_driver_register(FAR const struct bt_driver_s *btdev)
|
||||
* Unregister a Bluetooth low-level driver previously registered with
|
||||
* bt_driver_register. This may be called from the low-level driver and
|
||||
* is part of the driver interface prototyped in
|
||||
* include/nuttx/wireless/bt_driver.h
|
||||
* include/nuttx/wireless/bluetooth/bt_driver.h
|
||||
*
|
||||
* Input Parameters:
|
||||
* btdev - An instance of the low-level drivers interface structure.
|
||||
@@ -1462,7 +1462,7 @@ void bt_driver_unregister(FAR const struct bt_driver_s *btdev)
|
||||
* Description:
|
||||
* Called by the Bluetooth low-level driver when new data is received from
|
||||
* the radio. This may be called from the low-level driver and is part of
|
||||
* the driver interface prototyped in include/nuttx/wireless/bt_driver.h
|
||||
* the driver interface prototyped in include/nuttx/wireless/bluetooth/bt_driver.h
|
||||
*
|
||||
* NOTE: This function will defer all real work to the low or to the high
|
||||
* priority work queues. Therefore, this function may safely be called
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
#include <semaphore.h>
|
||||
#include <mqueue.h>
|
||||
|
||||
#include <nuttx/wireless/bt_driver.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_driver.h>
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
@@ -247,7 +247,7 @@ int bt_initialize(void);
|
||||
* Description:
|
||||
* Register the Bluetooth low-level driver with the Bluetooth stack.
|
||||
* This is called from the low-level driver and is part of the driver
|
||||
* interface prototyped in include/nuttx/wireless/bt_driver.h
|
||||
* interface prototyped in include/nuttx/wireless/bluetooth/bt_driver.h
|
||||
*
|
||||
* This function associates the Bluetooth driver with the Bluetooth stack.
|
||||
*
|
||||
@@ -269,7 +269,7 @@ int bt_driver_register(FAR const struct bt_driver_s *btdev);
|
||||
* Unregister a Bluetooth low-level driver previously registered with
|
||||
* bt_driver_register. This may be called from the low-level driver and
|
||||
* is part of the driver interface prototyped in
|
||||
* include/nuttx/wireless/bt_driver.h
|
||||
* include/nuttx/wireless/bluetooth/bt_driver.h
|
||||
*
|
||||
* Input Parameters:
|
||||
* btdev - An instance of the low-level drivers interface structure.
|
||||
|
||||
@@ -48,9 +48,9 @@
|
||||
#include <nuttx/semaphore.h>
|
||||
#include <nuttx/net/netdev.h>
|
||||
#include <nuttx/net/bluetooth.h>
|
||||
#include <nuttx/wireless/bt_core.h>
|
||||
#include <nuttx/wireless/bt_hci.h>
|
||||
#include <nuttx/wireless/bt_ioctl.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_core.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_hci.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_ioctl.h>
|
||||
|
||||
#include "bt_hcicore.h"
|
||||
#include "bt_conn.h"
|
||||
|
||||
@@ -48,8 +48,8 @@
|
||||
#include <string.h>
|
||||
#include <debug.h>
|
||||
|
||||
#include <nuttx/wireless/bt_core.h>
|
||||
#include <nuttx/wireless/bt_hci.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_core.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_hci.h>
|
||||
|
||||
#include "bt_hcicore.h"
|
||||
#include "bt_smp.h"
|
||||
|
||||
@@ -49,8 +49,8 @@
|
||||
#include <errno.h>
|
||||
#include <debug.h>
|
||||
|
||||
#include <nuttx/wireless/bt_hci.h>
|
||||
#include <nuttx/wireless/bt_core.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_hci.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_core.h>
|
||||
|
||||
#include "bt_hcicore.h"
|
||||
#include "bt_conn.h"
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
#include <nuttx/net/radiodev.h>
|
||||
#include <nuttx/net/bluetooth.h>
|
||||
#include <nuttx/net/sixlowpan.h>
|
||||
#include <nuttx/wireless/bt_core.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_core.h>
|
||||
|
||||
#include "bt_hcicore.h"
|
||||
#include "bt_l2cap.h"
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
|
||||
#include <nuttx/mqueue.h>
|
||||
#include <nuttx/mm/iob.h>
|
||||
#include <nuttx/wireless/bt_buf.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_buf.h>
|
||||
|
||||
#include "bt_queue.h"
|
||||
|
||||
|
||||
@@ -49,8 +49,8 @@
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
|
||||
#include <nuttx/wireless/bt_hci.h>
|
||||
#include <nuttx/wireless/bt_core.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_hci.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_core.h>
|
||||
|
||||
#include "bt_atomic.h"
|
||||
#include "bt_hcicore.h"
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
|
||||
#include <nuttx/wireless/bt_uuid.h>
|
||||
#include <nuttx/wireless/bluetooth/bt_uuid.h>
|
||||
|
||||
/****************************************************************************
|
||||
* Private Data
|
||||
|
||||
Reference in New Issue
Block a user