hci.h (cf01e8888ddd40b7860e88b8069a674e2ff2ee0e) hci.h (11b03efaa1f10ccd376a2bc59480f38a358b0cb8)
1/*
2 * Copyright (C) 2014 BlueKitchen GmbH
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 *
8 * 1. Redistributions of source code must retain the above copyright

--- 182 unchanged lines hidden (view full) ---

191 RECV_LINK_KEY_REQUEST = 0x0001,
192 HANDLE_LINK_KEY_REQUEST = 0x0002,
193 SENT_LINK_KEY_REPLY = 0x0004,
194 SENT_LINK_KEY_NEGATIVE_REQUEST = 0x0008,
195 RECV_LINK_KEY_NOTIFICATION = 0x0010,
196 DENY_PIN_CODE_REQUEST = 0x0040,
197 RECV_IO_CAPABILITIES_REQUEST = 0x0080,
198 SEND_IO_CAPABILITIES_REPLY = 0x0100,
1/*
2 * Copyright (C) 2014 BlueKitchen GmbH
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 *
8 * 1. Redistributions of source code must retain the above copyright

--- 182 unchanged lines hidden (view full) ---

191 RECV_LINK_KEY_REQUEST = 0x0001,
192 HANDLE_LINK_KEY_REQUEST = 0x0002,
193 SENT_LINK_KEY_REPLY = 0x0004,
194 SENT_LINK_KEY_NEGATIVE_REQUEST = 0x0008,
195 RECV_LINK_KEY_NOTIFICATION = 0x0010,
196 DENY_PIN_CODE_REQUEST = 0x0040,
197 RECV_IO_CAPABILITIES_REQUEST = 0x0080,
198 SEND_IO_CAPABILITIES_REPLY = 0x0100,
199 SEND_USER_CONFIRM_REPLY = 0x0200,
200 SEND_USER_PASSKEY_REPLY = 0x0400,
199 SEND_IO_CAPABILITIES_NEGATIVE_REPLY = 0x0200,
200 SEND_USER_CONFIRM_REPLY = 0x0400,
201 SEND_USER_PASSKEY_REPLY = 0x0800,
201
202 // Classic OOB
202
203 // Classic OOB
203 SEND_REMOTE_OOB_DATA_REPLY = 0x0800,
204 SEND_REMOTE_OOB_DATA_REPLY = 0x1800,
204
205 // pairing status
205
206 // pairing status
206 LEGACY_PAIRING_ACTIVE = 0x1000,
207 SSP_PAIRING_ACTIVE = 0x2000,
207 LEGACY_PAIRING_ACTIVE = 0x2000,
208 SSP_PAIRING_ACTIVE = 0x4000,
208
209 // connection status
209
210 // connection status
210 CONNECTION_AUTHENTICATED = 0x4000,
211 CONNECTION_ENCRYPTED = 0x8000,
211 CONNECTION_AUTHENTICATED = 0x8000,
212 CONNECTION_ENCRYPTED = 0x10000,
212
213 // errands
213
214 // errands
214 READ_RSSI = 0x10000,
215 WRITE_SUPERVISION_TIMEOUT = 0x20000,
215 READ_RSSI = 0x20000,
216 WRITE_SUPERVISION_TIMEOUT = 0x40000,
216
217} hci_authentication_flags_t;
218
219/**
220 * Connection State
221 */
222typedef enum {
223 SEND_CREATE_CONNECTION = 0,

--- 1125 unchanged lines hidden ---
217
218} hci_authentication_flags_t;
219
220/**
221 * Connection State
222 */
223typedef enum {
224 SEND_CREATE_CONNECTION = 0,

--- 1125 unchanged lines hidden ---