Changeset View
Changeset View
Standalone View
Standalone View
/usr/src/usr.sbin/bluetooth/bthidd/bthidd.h
Context not available. | |||||
int32_t ctrl; /* control channel */ | int32_t ctrl; /* control channel */ | ||||
int32_t intr; /* interrupt channel */ | int32_t intr; /* interrupt channel */ | ||||
int32_t vkbd; /* virual keyboard */ | int32_t vkbd; /* virual keyboard */ | ||||
void *ctx; /* product specific dev state */ | |||||
bdaddr_t bdaddr;/* remote bdaddr */ | bdaddr_t bdaddr;/* remote bdaddr */ | ||||
uint16_t state; /* session state */ | uint16_t state; /* session state */ | ||||
#define CLOSED 0 | #define CLOSED 0 | ||||
Context not available. | |||||
bthid_session_p session_by_fd (bthid_server_p srv, int32_t fd); | bthid_session_p session_by_fd (bthid_server_p srv, int32_t fd); | ||||
void session_close (bthid_session_p s); | void session_close (bthid_session_p s); | ||||
void hid_initialise (bthid_session_p s); | |||||
int32_t hid_control (bthid_session_p s, uint8_t *data, int32_t len); | int32_t hid_control (bthid_session_p s, uint8_t *data, int32_t len); | ||||
int32_t hid_interrupt (bthid_session_p s, uint8_t *data, int32_t len); | int32_t hid_interrupt (bthid_session_p s, uint8_t *data, int32_t len); | ||||
Context not available. |