gap.h (b90f6e0afebfa50d976ebbc724bb62ac18281c7e) | gap.h (f1dfbe18c8cb32c606498ebeaa3729d9737a7134) |
---|---|
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 --- 415 unchanged lines hidden (view full) --- 424/** 425 * @brief Get authentication property. 426 * @param con_handle 427 * @return 1 if bonded with OOB/Passkey (AND MITM protection) 428 */ 429int gap_authenticated(hci_con_handle_t con_handle); 430 431/** | 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 --- 415 unchanged lines hidden (view full) --- 424/** 425 * @brief Get authentication property. 426 * @param con_handle 427 * @return 1 if bonded with OOB/Passkey (AND MITM protection) 428 */ 429int gap_authenticated(hci_con_handle_t con_handle); 430 431/** |
432 * @brief Get secure connection property 433 * @param con_handle 434 * @return 1 if bonded usiung LE Secure Connections 435 */ 436int gap_secure_connection(hci_con_handle_t con_handle); 437 438/** |
|
432 * @brief Queries authorization state. 433 * @param con_handle 434 * @return authorization_state for the current session 435 */ 436authorization_state_t gap_authorization_state(hci_con_handle_t con_handle); 437 438// Classic 439 --- 175 unchanged lines hidden --- | 439 * @brief Queries authorization state. 440 * @param con_handle 441 * @return authorization_state for the current session 442 */ 443authorization_state_t gap_authorization_state(hci_con_handle_t con_handle); 444 445// Classic 446 --- 175 unchanged lines hidden --- |