Bluetooth: Kconfig: Rename CONFIG_BLUETOOTH_* to CONFIG_BT_*
The API name space for Bluetooth is bt_* and BT_* so it makes sense to align the Kconfig name space with this. The additional benefit is that this also makes the names shorter. It is also in line with what Linux uses for Bluetooth Kconfig entries. Some Bluetooth-related Networking Kconfig defines are renamed as well in order to be consistent, such as NET_L2_BLUETOOTH. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
This commit is contained in:
parent
02383dee67
commit
2975ca0754
286 changed files with 3405 additions and 3421 deletions
|
@ -346,7 +346,7 @@ struct bt_conn_cb {
|
|||
*/
|
||||
void (*le_param_updated)(struct bt_conn *conn, u16_t interval,
|
||||
u16_t latency, u16_t timeout);
|
||||
#if defined(CONFIG_BLUETOOTH_SMP)
|
||||
#if defined(CONFIG_BT_SMP)
|
||||
/** @brief Remote Identity Address has been resolved.
|
||||
*
|
||||
* This callback notifies the application that a remote
|
||||
|
@ -359,8 +359,8 @@ struct bt_conn_cb {
|
|||
void (*identity_resolved)(struct bt_conn *conn,
|
||||
const bt_addr_le_t *rpa,
|
||||
const bt_addr_le_t *identity);
|
||||
#endif /* CONFIG_BLUETOOTH_SMP */
|
||||
#if defined(CONFIG_BLUETOOTH_SMP) || defined(CONFIG_BLUETOOTH_BREDR)
|
||||
#endif /* CONFIG_BT_SMP */
|
||||
#if defined(CONFIG_BT_SMP) || defined(CONFIG_BT_BREDR)
|
||||
/** @brief The security level of a connection has changed.
|
||||
*
|
||||
* This callback notifies the application that the security level
|
||||
|
@ -370,7 +370,7 @@ struct bt_conn_cb {
|
|||
* @param level New security level of the connection.
|
||||
*/
|
||||
void (*security_changed)(struct bt_conn *conn, bt_security_t level);
|
||||
#endif /* defined(CONFIG_BLUETOOTH_SMP) || defined(CONFIG_BLUETOOTH_BREDR) */
|
||||
#endif /* defined(CONFIG_BT_SMP) || defined(CONFIG_BT_BREDR) */
|
||||
struct bt_conn_cb *_next;
|
||||
};
|
||||
|
||||
|
@ -389,7 +389,7 @@ struct bt_conn_auth_cb {
|
|||
void (*passkey_confirm)(struct bt_conn *conn, unsigned int passkey);
|
||||
void (*cancel)(struct bt_conn *conn);
|
||||
void (*pairing_confirm)(struct bt_conn *conn);
|
||||
#if defined(CONFIG_BLUETOOTH_BREDR)
|
||||
#if defined(CONFIG_BT_BREDR)
|
||||
void (*pincode_entry)(struct bt_conn *conn, bool highsec);
|
||||
#endif
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue