gap.h (bea424a5abea119ccb2bd18f9e8b06e32339a64c) | gap.h (d821984b1fab162518a40694abf09b245c441031) |
---|---|
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 --- 174 unchanged lines hidden (view full) --- 183/** 184 * @brief Set Allow Role Switch param for outgoing classic ACL links 185 * @param allow_role_switch - true: allow remote device to request role switch, false: stay master 186 */ 187void gap_set_allow_role_switch(bool allow_role_switch); 188 189/** 190 * @brief Set link supervision timeout for outgoing classic ACL links | 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 --- 174 unchanged lines hidden (view full) --- 183/** 184 * @brief Set Allow Role Switch param for outgoing classic ACL links 185 * @param allow_role_switch - true: allow remote device to request role switch, false: stay master 186 */ 187void gap_set_allow_role_switch(bool allow_role_switch); 188 189/** 190 * @brief Set link supervision timeout for outgoing classic ACL links |
191 * @param default_link_supervision_timeout * 0.625 ms, default 0x7d00 = 20 seconds | 191 * @param default_link_supervision_timeout * 0.625 ms, default 0x7d00 = 20 seconds, 0 = no link supervision timeout |
192 */ 193void gap_set_link_supervision_timeout(uint16_t link_supervision_timeout); 194 195/** 196 * @brief Enable/disable bonding. Default is enabled. 197 * @param enabled 198 */ 199void gap_set_bondable_mode(int enabled); --- 653 unchanged lines hidden --- | 192 */ 193void gap_set_link_supervision_timeout(uint16_t link_supervision_timeout); 194 195/** 196 * @brief Enable/disable bonding. Default is enabled. 197 * @param enabled 198 */ 199void gap_set_bondable_mode(int enabled); --- 653 unchanged lines hidden --- |