|
Lines 1992-2003
Link Here
|
| 1992 |
u_int16_t conn_latency; |
1992 |
u_int16_t conn_latency; |
| 1993 |
u_int16_t supervision_timeout; |
1993 |
u_int16_t supervision_timeout; |
| 1994 |
}__attribute__((packed)) ng_hci_connection_update_complete_ep; |
1994 |
}__attribute__((packed)) ng_hci_connection_update_complete_ep; |
|
|
1995 |
|
| 1995 |
#define NG_HCI_LEEV_READ_REMOTE_FEATURES_COMPL 0x04 |
1996 |
#define NG_HCI_LEEV_READ_REMOTE_FEATURES_COMPL 0x04 |
| 1996 |
//TBD |
1997 |
typedef struct { |
|
|
1998 |
u_int8_t status; |
| 1999 |
u_int16_t connection_handle; |
| 2000 |
u_int8_t features[NG_HCI_FEATURES_SIZE]; |
| 2001 |
}__attribute__((packed)) ng_hci_le_read_remote_features_ep; |
| 2002 |
|
| 1997 |
#define NG_HCI_LEEV_LONG_TERM_KEY_REQUEST 0x05 |
2003 |
#define NG_HCI_LEEV_LONG_TERM_KEY_REQUEST 0x05 |
| 1998 |
//TBD |
2004 |
typedef struct { |
|
|
2005 |
u_int16_t connection_handle; |
| 2006 |
u_int64_t random_number; |
| 2007 |
u_int16_t encrypted_diversifier; |
| 2008 |
}__attribute__((packed)) ng_hci_le_long_term_key_request_ep; |
| 1999 |
|
2009 |
|
|
|
2010 |
#define NG_HCI_LEEV_REMOTE_CONN_PARAM_REQUEST 0x06 |
| 2011 |
typedef struct { |
| 2012 |
u_int16_t connection_handle; |
| 2013 |
u_int16_t interval_min; |
| 2014 |
u_int16_t interval_max; |
| 2015 |
u_int16_t latency; |
| 2016 |
u_int16_t timeout; |
| 2017 |
}__attribute__((packed)) ng_hci_le_remote_conn_param_ep; |
| 2000 |
|
2018 |
|
|
|
2019 |
#define NG_HCI_LEEV_DATA_LENGTH_CHANGE 0x07 |
| 2020 |
typedef struct { |
| 2021 |
u_int16_t connection_handle; |
| 2022 |
u_int16_t min_tx_octets; |
| 2023 |
u_int16_t max_tx_time; |
| 2024 |
u_int16_t max_rx_octets; |
| 2025 |
u_int16_t max_rx_time; |
| 2026 |
}__attribute__((packed)) ng_hci_le_data_length_change_ep; |
| 2027 |
|
| 2028 |
#define NG_HCI_LEEV_READ_LOCAL_P256_PK_COMPL 0x08 |
| 2029 |
typedef struct { |
| 2030 |
u_int8_t status; |
| 2031 |
u_int8_t local_p256_pk[64]; |
| 2032 |
}__attribute__((packed)) ng_hci_le_read_local_p256_pk_compl_ep; |
| 2033 |
|
| 2034 |
#define NG_HCI_LEEV_GEN_DHKEY_COMPL 0x09 |
| 2035 |
typedef struct { |
| 2036 |
u_int8_t status; |
| 2037 |
u_int8_t dh_key[32]; |
| 2038 |
}__attribute__((packed)) ng_hci_le_gen_dhkey_compl_ep; |
| 2039 |
|
| 2040 |
#define NG_HCI_LEEV_ENH_CONN_COMPL 0x0a |
| 2041 |
typedef struct { |
| 2042 |
u_int8_t status; |
| 2043 |
u_int16_t connection_handle; |
| 2044 |
u_int8_t role; |
| 2045 |
u_int8_t peer_addr_type; |
| 2046 |
bdaddr_t peer_addr; |
| 2047 |
bdaddr_t local_res_private_addr; |
| 2048 |
bdaddr_t peer_res_private_addr; |
| 2049 |
u_int16_t conn_interval; |
| 2050 |
u_int16_t conn_latency; |
| 2051 |
u_int16_t supervision_timeout; |
| 2052 |
u_int8_t master_clock_accuracy; |
| 2053 |
}__attribute__((packed)) ng_hci_le_gen_dhkey_compl_ep; |
| 2054 |
|
| 2001 |
#define NG_HCI_EVENT_BT_LOGO 0xfe |
2055 |
#define NG_HCI_EVENT_BT_LOGO 0xfe |
| 2002 |
|
2056 |
|
| 2003 |
#define NG_HCI_EVENT_VENDOR 0xff |
2057 |
#define NG_HCI_EVENT_VENDOR 0xff |