gap.h (8b35e16a934d15ce7db43b03541c1c594ecb7876) | gap.h (170fafaee9eb5b65263bedc18252ad8ce06ca49f) |
---|---|
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 --- 185 unchanged lines hidden (view full) --- 194void gap_ssp_set_authentication_requirement(int authentication_requirement); 195 196/** 197 * @brief If set, BTstack will confirm a numeric comparison and enter '000000' if requested. 198 */ 199void gap_ssp_set_auto_accept(int auto_accept); 200 201/** | 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 --- 185 unchanged lines hidden (view full) --- 194void gap_ssp_set_authentication_requirement(int authentication_requirement); 195 196/** 197 * @brief If set, BTstack will confirm a numeric comparison and enter '000000' if requested. 198 */ 199void gap_ssp_set_auto_accept(int auto_accept); 200 201/** |
202 * @brief Set required encryption key size for GAP Levels 1-3 on ccassic connections. Default: 16 bytes 203 * @param encryption_key_size in bytes. Valid 7..16 204 */ 205void gap_set_required_encryption_key_size(uint8_t encryption_key_size); 206 207/** |
|
202 * @brief Start dedicated bonding with device. Disconnect after bonding. 203 * @param device 204 * @param request MITM protection 205 * @return error, if max num acl connections active 206 * @result GAP_DEDICATED_BONDING_COMPLETE 207 */ 208int gap_dedicated_bonding(bd_addr_t device, int mitm_protection_required); 209 --- 423 unchanged lines hidden --- | 208 * @brief Start dedicated bonding with device. Disconnect after bonding. 209 * @param device 210 * @param request MITM protection 211 * @return error, if max num acl connections active 212 * @result GAP_DEDICATED_BONDING_COMPLETE 213 */ 214int gap_dedicated_bonding(bd_addr_t device, int mitm_protection_required); 215 --- 423 unchanged lines hidden --- |