VSF Documented
Main Page
Related Pages
Topics
Namespaces
Data Structures
Files
File List
Globals
source
shell
sys
linux
include
bluetooth
hci_sock.h
Go to the documentation of this file.
1
#ifndef __VSF_LINUX_BLUETOOTH_HCI_SOCK_H__
2
#define __VSF_LINUX_BLUETOOTH_HCI_SOCK_H__
3
4
#include <
sys/socket.h
>
5
#include <
sys/ioctl.h
>
6
7
struct
sockaddr_hci
{
8
sa_family_t
hci_family
;
9
unsigned
short
hci_dev
;
10
unsigned
short
hci_channel
;
11
};
12
#define HCI_DEV_NONE 0xffff
13
14
#define HCI_CHANNEL_RAW 0
15
#define HCI_CHANNEL_USER 1
16
17
#define HCIDEVUP _IOW('H', 201, int)
18
#define HCIDEVDOWN _IOW('H', 202, int)
19
#define HCIDEVRESET _IOW('H', 203, int)
20
#define HCIDEVRESTAT _IOW('H', 204, int)
21
22
#define HCIGETDEVLIST _IOR('H', 210, int)
23
#define HCIGETDEVINFO _IOR('H', 211, int)
24
25
#endif
// __VSF_LINUX_BLUETOOTH_HCI_SOCK_H__
socket.h
sa_family_t
uint16_t sa_family_t
Definition
socket.h:75
sockaddr_hci
Definition
hci_sock.h:7
sockaddr_hci::hci_family
sa_family_t hci_family
Definition
hci_sock.h:8
sockaddr_hci::hci_dev
unsigned short hci_dev
Definition
hci_sock.h:9
sockaddr_hci::hci_channel
unsigned short hci_channel
Definition
hci_sock.h:10
ioctl.h
Generated from commit:
vsfteam/vsf@1c19fdc