VSF Documented
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
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__
uint16_t sa_family_t
Definition socket.h:75
Definition hci_sock.h:7
sa_family_t hci_family
Definition hci_sock.h:8
unsigned short hci_dev
Definition hci_sock.h:9
unsigned short hci_channel
Definition hci_sock.h:10
Generated from commit: vsfteam/vsf@1c19fdc