gap.h (dcd6c9b595c8714aa29d3f604f8aeba289f06c41) | gap.h (c33e56d3e01b1b1e94606efef5e1a616eb44f207) |
---|---|
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 --- 143 unchanged lines hidden (view full) --- 152 153/** 154 * @brief Set class of device that will be set during Bluetooth init. 155 * @note has to be done before stack starts up 156 */ 157void gap_set_class_of_device(uint32_t class_of_device); 158 159/** | 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 --- 143 unchanged lines hidden (view full) --- 152 153/** 154 * @brief Set class of device that will be set during Bluetooth init. 155 * @note has to be done before stack starts up 156 */ 157void gap_set_class_of_device(uint32_t class_of_device); 158 159/** |
160 * @brief Set default link policy settings for all classic ACL links 161 * @param default_link_policy_settings - see LM_LINK_POLICY_* in bluetooth.h 162 * @note common value: LM_LINK_POLICY_ENABLE_ROLE_SWITCH | LM_LINK_POLICY_ENABLE_SNIFF_MODE to enable role switch and sniff mode 163 * @note has to be done before stack starts up 164 */ 165void gap_set_default_link_policy_settings(uint16_t default_link_policy_settings); 166 167/** |
|
160 * @brief Enable/disable bonding. Default is enabled. 161 * @param enabled 162 */ 163void gap_set_bondable_mode(int enabled); 164 165/** 166 * @brief Get bondable mode. 167 * @return 1 if bondable --- 406 unchanged lines hidden --- | 168 * @brief Enable/disable bonding. Default is enabled. 169 * @param enabled 170 */ 171void gap_set_bondable_mode(int enabled); 172 173/** 174 * @brief Get bondable mode. 175 * @return 1 if bondable --- 406 unchanged lines hidden --- |