bluetooth.h (278ff8a910061d6697d57f96d145e4ac8ac1b587) | bluetooth.h (e9f98c4a52a4522568d6b75f5ffa50a24b54385d) |
---|---|
1/* 2 * Copyright (C) 2015 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 --- 82 unchanged lines hidden (view full) --- 91#define LINK_KEY_LEN 16 92#define LINK_KEY_STR_LEN (LINK_KEY_LEN*2) 93typedef uint8_t link_key_t[LINK_KEY_LEN]; 94 95/** 96 * @brief link key type 97 */ 98typedef enum { | 1/* 2 * Copyright (C) 2015 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 --- 82 unchanged lines hidden (view full) --- 91#define LINK_KEY_LEN 16 92#define LINK_KEY_STR_LEN (LINK_KEY_LEN*2) 93typedef uint8_t link_key_t[LINK_KEY_LEN]; 94 95/** 96 * @brief link key type 97 */ 98typedef enum { |
99 INVALID_LINK_KEY = 0xffff, |
|
99 COMBINATION_KEY = 0, // standard pairing 100 LOCAL_UNIT_KEY, // ? 101 REMOTE_UNIT_KEY, // ? 102 DEBUG_COMBINATION_KEY, // SSP with debug 103 UNAUTHENTICATED_COMBINATION_KEY_GENERATED_FROM_P192, // SSP Simple Pairing 104 AUTHENTICATED_COMBINATION_KEY_GENERATED_FROM_P192, // SSP Passkey, Number confirm, OOB 105 CHANGED_COMBINATION_KEY, // Link key changed using Change Connection Lnk Key 106 UNAUTHENTICATED_COMBINATION_KEY_GENERATED_FROM_P256, // SSP Simpe Pairing --- 684 unchanged lines hidden --- | 100 COMBINATION_KEY = 0, // standard pairing 101 LOCAL_UNIT_KEY, // ? 102 REMOTE_UNIT_KEY, // ? 103 DEBUG_COMBINATION_KEY, // SSP with debug 104 UNAUTHENTICATED_COMBINATION_KEY_GENERATED_FROM_P192, // SSP Simple Pairing 105 AUTHENTICATED_COMBINATION_KEY_GENERATED_FROM_P192, // SSP Passkey, Number confirm, OOB 106 CHANGED_COMBINATION_KEY, // Link key changed using Change Connection Lnk Key 107 UNAUTHENTICATED_COMBINATION_KEY_GENERATED_FROM_P256, // SSP Simpe Pairing --- 684 unchanged lines hidden --- |