gap.h (9afaa4d426555cd46725e0caea74f010a121ef1c) gap.h (22d445d87e539bf8e35142794a2ff9d005275890)
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

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

357void gap_ssp_set_authentication_requirement(int authentication_requirement);
358
359/**
360 * @brief Enable/disable Secure Connections. Default: true if supported by Controller
361 */
362void gap_secure_connections_enable(bool enable);
363
364/**
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

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

357void gap_ssp_set_authentication_requirement(int authentication_requirement);
358
359/**
360 * @brief Enable/disable Secure Connections. Default: true if supported by Controller
361 */
362void gap_secure_connections_enable(bool enable);
363
364/**
365 * @brief Query if Secure Connections can be used for Classic connections.
366 * @note Requires gap_secure_connections_enable == true and Controller to support it
367 */
368bool gap_secure_connections_active(void);
369
370/**
365 * @brief If set, BTstack will confirm a numeric comparison and enter '000000' if requested.
366 */
367void gap_ssp_set_auto_accept(int auto_accept);
368
369/**
370 * @brief Set required encryption key size for GAP Levels 1-3 on ccassic connections. Default: 16 bytes
371 * @param encryption_key_size in bytes. Valid 7..16
372 */

--- 766 unchanged lines hidden ---
371 * @brief If set, BTstack will confirm a numeric comparison and enter '000000' if requested.
372 */
373void gap_ssp_set_auto_accept(int auto_accept);
374
375/**
376 * @brief Set required encryption key size for GAP Levels 1-3 on ccassic connections. Default: 16 bytes
377 * @param encryption_key_size in bytes. Valid 7..16
378 */

--- 766 unchanged lines hidden ---